description:

Working with the SMA’s output code

Snowpark Migration Accelerator: Troubleshooting the Output Code

Resolving Common Issues with Code Generated by the Snowpark Migration Accelerator (SMA)

Here are some helpful troubleshooting tips while this section is being developed.

For Spark Scala

Problem observedPossible reasonSolution
Spark and snowpark import statements do not compile on output scala codeSnowpark and Snowpark extensions library references were not added to the project configuration fileAdd snowpark and snowpark extensions references to the project configuration file

For PySpark

Problem observedPossible reasonSolution
Snowpark import statement do not compile on output python code or snowpark references do not compileSnowpark and Snowpark extensions library references were not installed