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.
Snowpark Migration Accelerator(SMA)は、ソースコードの意味と目的を捉えた詳細なモデルを作成することで、ソースコードを分析します。これにより、 SMA はテキストを検索・置換したりパターンにマッチさせるだけの基本的なツールよりも深いレベルで、コードの動作を理解することができます。
SMA は、ソースコードとノートブックファイルをスキャンして、すべてのSpark API 呼び出しを見つけます。そして、これらのSpark API 呼び出しを可能な限り対応するSnowpark API 関数に変換します。
Assessment and Conversion¶
Snowpark Migration Accelerator(SMA)には2つの動作モードがあります。
Assessment (or Qualification) - A free analysis tool that evaluates your code before conversion
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)に関する包括的なガイダンスを提供し、以下の主要分野を取り上げます。
はじめるにあたり:
Learn how to Download and Access SMA.
Step-by-step Installation guide.
End User License Agreement (EULA): Review the Conversion Software Terms of Use.
Release Notes: View the latest Release Notes to see recent updates and changes.
For assistance or questions, please Contact Us.
Snowpark Migration Accelerator(SMA)の機能や特長をぜひご覧ください。