SnowConvert AI – Fora do escopo¶
SSC-OOS-0001¶
O arquivo tem uma codificação inesperada e não foi traduzido.
Descrição¶
Esse erro ocorre quando a ferramenta não consegue reconhecer o formato de codificação de caracteres de um arquivo de código-fonte. A codificação de caracteres é um método de conversão de caracteres de texto em valores numéricos que os computadores podem processar. Quando a ferramenta encontra caracteres que não consegue interpretar, ela gera esse erro.
Práticas recomendadas¶
Certifique-se de que todos os arquivos na pasta de entrada usem a mesma codificação de caracteres para evitar erros relacionados à codificação.
Choose the correct encoding using either the conversion settings or by specifying the –encoding parameter in the CLI. You can identify the correct encoding using tools like Free Online Formater, or by running
file -i *on Linux or macOS.Para obter assistência adicional, entre em contato conosco pelo e-mail snowconvert-support@snowflake.com
SSC-OOS¶
Out of scope code unit.
Descrição¶
This issue is generated when SnowConvert AI encounters a top-level SQL statement or code unit that is outside the translation scope. The specific construct is identified in the issue message (e.g., GRANT, REVOKE, CREATE FUNCTION in an unsupported language). SnowConvert AI comments out the entire statement and adds this marker. The limitation may be due to Snowflake not supporting the construct or SnowConvert AI not yet implementing its translation.
Code Example¶
Input Code:¶
Generated Code:¶
Práticas recomendadas¶
Review the commented-out statement: Determine whether the construct is needed in Snowflake and implement it manually using Snowflake-native syntax (e.g., GRANT for access control statements).
Check for Snowflake equivalents: Many out-of-scope constructs have Snowflake counterparts with different syntax. Consult the Snowflake SQL reference for the appropriate replacement.
If you need more support, you can email us at snowconvert-support@snowflake.com