Snowpark Migration Accelerator:评估快速入门

Snowpark Migration Accelerator (SMA) 通过生成详细的报告和清单来帮助您分析源代码。本指南将向您展示如何开始评估过程。

如何执行评估

要开始评估您的代码,请在 Snowpark Migration Accelerator (SMA) 工具中创建一个新项目。

  1. 首先选择 New Project 按钮。

新项目

Complete the required fields in the New Project dialog, including project name, email address, company name, input folder, and output folder. Once all required information is provided, click the Save button to create your project.

开始评估

The project home page displays with a Code Process card. This card provides access to a guided flow for running assessment and conversion on your code.

Project Home Page

Select the Start Assessment card to run an assessment on your code and analyze migration complexity. Click the Continue button to proceed.

Continue to Assessment

The assessment execution screen displays, showing the progress of three stages: Loading Source Code, Analyzing Source Code, and Writing Results. Processing time varies depending on your project size.

进度屏幕

Once the assessment is complete, the results screen will display. This screen provides detailed information to help you understand your current code and its potential migration to Snowpark Connect. For a complete walkthrough of this output, please refer to the Understanding the Assessment Summary section.

结果屏幕

请注意,虽然您可以在上面的 评估摘要 页面中找到基本信息,但完整的 输出文件夹 包含更多详细信息,包括全面的多页报告。

后续步骤

该工具完成分析后,您需要查看结果并确定后续步骤。以下是一些有用的提示,可以指导执行以下操作:

  • Consider the Readiness Score as an Initial Guide: While the readiness score evaluates Snowpark Connect compatibility, it's important to understand that successful migration depends on multiple factors. These include compatibility with third-party libraries and whether Snowpark Connect is the optimal solution for your specific workload.

  • 花时间分析评估结果:该评估提供了宝贵的见解,可以帮助您制定有效的迁移策略。在开始转换过程之前,请仔细检查评估数据,以避免不必要的返工并确保更高效的迁移。

应用程序菜单中提供了其他选项,如下图所示:

  • Retry Assessment – 您可以点击“Assessment Results”页面上的 Retry Assessment 按钮,再次运行评估。当您对源代码进行了更改并希望查看更新的结果时,这很有用。

  • Convert to the Snowpark API - While this is the next step in the process, we recommend reviewing the assessment results thoroughly before proceeding. For more details, see the conversion section of this documentation.

  • View Reports – 打开包含评估输出报告的文件夹。其中包括详细的评估报告、Spark 引用清单以及对源代码库的其他分析。本文档详细说明了每种报告类型。

要详细了解评估摘要信息,请继续阅读。但是,如果您已准备好开始转换过程,则可以直接阅读转换快速入门指南。

语言: 中文