Snowpark Migration Accelerator: Tool-Ausführung

After setting up your project, you can run the Snowpark Migration Accelerator (SMA).

Assessment Process

The Assessment process performs an extended evaluation of your source code to determine which conversion type fits best.

Assessment process

This process is composed of three distinct phases:

  • Laden des Quellcodes: SMA durchsucht alle Dateien im Eingabeverzeichnis, um ein Dateiverzeichnis zu erstellen. Aus diesem Iventar wird ein semantisches Modell erstellt, das den Code aus den angegebenen Dateierweiterungen verwendet.

  • Analyzing Source Code: SMA analyzes the source code to determine which conversion type fits best.

  • Generating Results: SMA generates the output files needed to display the assessment report. The output varies depending on the conversion type selected.

Assessment execution

After all three phases are complete, the Assessment Results page is automatically displayed.

SCOS Conversion Process

The SCOS Conversion process converts your source code to Snowpark Connect (SCOS) code.

SCOS Conversion process

The application begins scanning all files in the input directory. The SCOS Conversion process consists of three distinct phases:

  • Laden des Quellcodes: SMA durchsucht alle Dateien im Eingabeverzeichnis, um ein Dateiverzeichnis zu erstellen. Aus diesem Iventar wird ein semantisches Modell erstellt, das den Code aus den angegebenen Dateierweiterungen verwendet.

  • Analysieren des Quellcodes: In dieser Hauptphase erstellt SMA einen abstrakten Syntaxbaum (Abstract Syntax Tree) (AST), um die Funktionalität Ihres Quellcodes darzustellen. Während der Erstellung von AST wird auch eine Symboltabelle erstellt, um Elemente und Funktionen während des Konvertierungsprozesses zu verfolgen. Diese Symboltabelle hilft bei der Erstellung aller Ausgabeberichte. Im Konvertierungsmodus identifiziert SMA Elemente in AST, die Snowflake-Äquivalente haben, und ordnet sie den entsprechenden Snowflake-Funktionen zu.

  • Writing Results: In the final step, SMA generates output files. For the SCOS Conversion process, SMA produces the converted code in the specified output folder.

SCOS Conversion execution

After all three phases are complete, the SCOS Conversion Results page is automatically displayed.

Snowpark API Conversion Process

The Snowpark API Conversion process converts your source code to Snowpark API code.

Snowpark API Conversion process

The application requires you to select whether to use default settings or customize the settings. For more information on customizing settings, refer to the Conversion Settings section.

Snowpark API Conversion settings

After configuration is complete, the tool begins scanning all files in the input directory. The Snowpark API Conversion process consists of three distinct phases:

  • Laden des Quellcodes: SMA durchsucht alle Dateien im Eingabeverzeichnis, um ein Dateiverzeichnis zu erstellen. Aus diesem Iventar wird ein semantisches Modell erstellt, das den Code aus den angegebenen Dateierweiterungen verwendet.

  • Analysieren des Quellcodes: In dieser Hauptphase erstellt SMA einen abstrakten Syntaxbaum (Abstract Syntax Tree) (AST), um die Funktionalität Ihres Quellcodes darzustellen. Während der Erstellung von AST wird auch eine Symboltabelle erstellt, um Elemente und Funktionen während des Konvertierungsprozesses zu verfolgen. Diese Symboltabelle hilft bei der Erstellung aller Ausgabeberichte. Im Konvertierungsmodus identifiziert SMA Elemente in AST, die Snowflake-Äquivalente haben, und ordnet sie den entsprechenden Snowflake-Funktionen zu.

  • Writing Results: In the final step, SMA generates output files. For the Snowpark API Conversion process, SMA produces the converted code in the specified output folder.

Snowpark API Conversion execution

After all three phases are complete, the Snowpark API Conversion Results page is automatically displayed.