Snowpark Migration Accelerator: 支持的平台¶
支持的平台¶
The Snowpark Migration Accelerator (SMA) currently supports the following programming languages as source code:
Python
Scala
SQL
The SMA analyzes both code files and notebook files to identify any usage of Spark API and other third-party APIs. For a complete list of file types that SMA can analyze, please refer to Supported Filetypes.
SQL 方言¶
Snowpark Migration Accelerator (SMA) 可以分析代码文件以识别 SQL 元素。目前,SMA 可以检测采用以下格式编写的 SQL 代码:
Spark SQL
Hive QL
Databricks SQL
SQL Assessment and Conversion Guidelines¶
虽然 Spark SQL 和 Snowflake SQL 高度兼容,但某些 SQL 代码可能无法完美转换。
SQL analysis is only possible when the SQL is received in the following ways:
A SQL cell within a supported notebook file
A .sql or .hql file
A complete string passed to a
spark.sqlstatement.Some variable substitutions are not supported. Here are a few examples:
Parsed:
New SMA scenarios supported include the following:
Not Parsed:
SQL elements are accounted for in the object inventories, and a readiness score is generated specifically for SQL.