How Do You Get There?
Use the Snowpark Migration Accelerator (SMA).
This tool has been developed by Snowflake Professional Services to get you up and running in Snowpark faster and more efficiently. This tool builds an assessment based on code files, libraries, and spark references present in any Spark workload written in Python or Scala. From that assessment, the accelerator can automatically convert references from the Spark API to the Snowpark API.
How does it work?
The SMA is an application that you can download and run on a local machine or in a container. This application takes in code files or notebooks as an input. (It does not connect to any source platform; it only scans files.) The files will be scanned and an assessment report will be created locally that indicates the “readiness” level of your Spark workload for Snowpark.
The SMA is available for free with zero obligation. You can download the installer by using the links below depending on your OS: