Snowpark Migration Accelerator: 소개

Overview of the Snowpark Migration Accelerator

The Snowpark Migration Accelerator (SMA), formerly SnowConvert for Spark, helps developers convert code from various platforms to Snowflake. It uses a proven migration framework with 30 years of development to analyze code that contains Spark API calls. The tool creates an Abstract Syntax Tree (AST) and Symbol Table to build a detailed model of how the code works. This model helps convert the original code into equivalent Snowflake code automatically, maintaining the same functionality as the source code.

SMA 하이 레벨 다이어그램

Snowpark Migration Accelerator(SMA)는 소스 코드의 의미와 목적을 파악하는 세부 모델을 생성하여 소스 코드를 분석합니다. 이를 통해 SMA 텍스트 검색 및 바꾸기나 패턴 일치만 하는 기본 도구보다 더 깊은 수준에서 코드의 작동 방식을 이해할 수 있습니다.

SMA 는 소스 코드와 노트북 파일을 스캔하여 모든 Spark API 호출을 찾습니다. 그런 다음 가능한 경우 이러한 Spark API 호출을 일치하는 Snowpark API 함수로 변환합니다.

Assessment and Conversion

Snowpark Migration Accelerator(SMA)에는 두 가지 작업 모드가 있습니다.

  1. Assessment (or Qualification) - A free analysis tool that evaluates your code before conversion

  2. Conversion - Transforms your code to Snowpark

코드 변환을 시작하기 전에 먼저 평가 모드를 실행하는 것이 좋습니다.

평가 모드

Assessment mode helps users find and analyze Spark API usage in their code. SMA scans the source code and builds a semantic model using our specialized framework. This model helps SMA understand how the code works and what it does. As a result, SMA can generate detailed and accurate reports about the code’s components.

SMA 에서 코드를 분석하여 마이그레이션 프로세스를 계획하는 데 도움을 줍니다. Spark API 종속성을 식별하고 코드가 마이그레이션에 얼마나 준비되었는지 평가합니다. 평가가 완료되면 코드 변환을 진행할 수 있습니다.

For more information about how SMA assesses your code, please see the Assessment section of the SMA User Guide.

변환 모드

변환 단계에서 SMA 는 평가 단계에서 생성된 의미 체계 모델을 사용하여 Snowflake 호환 코드를 자동으로 생성합니다. 이 도구는 가능한 경우 Spark API 호출을 동등한 Snowpark API 호출로 대체합니다. 직접 변환이 불가능한 경우 SMA 에서 출력 코드에 특정 요소를 변환할 수 없는 이유를 설명하는 자세한 설명을 추가하고 수동 변환에 유용한 컨텍스트를 제공합니다.

개요

이 섹션에서는 다음과 같은 핵심 영역을 다루는 Snowpark Migration Accelerator(SMA)에 대한 종합적인 안내를 제공합니다.

For assistance or questions, please Contact Us.

Snowpark Migration Accelerator(SMA)의 함수를 살펴보시기 바랍니다.