Snowpark Migration Accelerator: 도구 실행

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:

  • 소스 코드 로딩: SMA 입력 디렉터리에 있는 모든 파일을 스캔하여 파일 인벤토리를 생성합니다. 이 인벤토리에서 지정된 파일 확장자의 코드를 사용하여 의미 체계 모델을 구축합니다.

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

  • 소스 코드 로딩: SMA 입력 디렉터리에 있는 모든 파일을 스캔하여 파일 인벤토리를 생성합니다. 이 인벤토리에서 지정된 파일 확장자의 코드를 사용하여 의미 체계 모델을 구축합니다.

  • 소스 코드 분석하기: 이 주요 단계에서 SMA 는 소스 코드의 기능을 나타내는 추상 구문 트리(AST)를 생성합니다. AST 를 구축하는 동안 변환 프로세스 전반에 걸쳐 요소와 함수를 추적하는 기호 테이블도 생성합니다. 이 기호 테이블은 모든 출력 보고서를 생성하는 데 도움이 됩니다. 변환 모드에서 SMA 는 AST 에서 Snowflake 등가물이 있는 요소를 식별하고 해당 Snowflake 함수에 매핑합니다.

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

  • 소스 코드 로딩: SMA 입력 디렉터리에 있는 모든 파일을 스캔하여 파일 인벤토리를 생성합니다. 이 인벤토리에서 지정된 파일 확장자의 코드를 사용하여 의미 체계 모델을 구축합니다.

  • 소스 코드 분석하기: 이 주요 단계에서 SMA 는 소스 코드의 기능을 나타내는 추상 구문 트리(AST)를 생성합니다. AST 를 구축하는 동안 변환 프로세스 전반에 걸쳐 요소와 함수를 추적하는 기호 테이블도 생성합니다. 이 기호 테이블은 모든 출력 보고서를 생성하는 데 도움이 됩니다. 변환 모드에서 SMA 는 AST 에서 Snowflake 등가물이 있는 요소를 식별하고 해당 Snowflake 함수에 매핑합니다.

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