SnowConvert AI – Nicht im Umfang enthalten

SSC-OOS-0001

Die Datei hat eine unerwartete Codierung und wurde nicht übersetzt

Beschreibung

Dieser Fehler tritt auf, wenn das Programm das Zeichencodierungsformat einer Quellcodedatei nicht erkennen kann. Die Zeichencodierung ist eine Methode zur Konvertierung von Textzeichen in numerische Werte, die Computer verarbeiten können. Wenn das Programm auf Zeichen stößt, die es nicht interpretieren kann, erzeugt es diesen Fehler.

Best Practices

  • Stellen Sie sicher, dass alle Dateien im Eingabeordner die gleiche Zeichencodierung verwenden, um codierungsbedingte Fehler zu vermeiden.

  • 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.

  • Wenn Sie weitere Hilfe benötigen, kontaktieren Sie uns unter snowconvert-support@snowflake.com

SSC-OOS

Out of scope code unit.

Beschreibung

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:

GRANT SELECT ON Employees TO ReportingRole;

Generated Code:

!!!RESOLVE EWI!!! /*** SSC-OOS - OUT OF SCOPE CODE UNIT. GRANT IS OUT OF TRANSLATION SCOPE. ***/!!!
--GRANT SELECT ON Employees TO ReportingRole;

Best Practices

  • 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