Snowpark Migration Accelerator: Troubleshooting the Output Code¶

Troubleshooting the output code from the SMA.

This section is under development, but here’s some helpful troubleshooting tips.

For Spark Scala¶

Problem observed

Possible reason

Solution

Spark and snowpark import statements do not compile on output scala code

Snowpark and Snowpark extensions library references were not added to the project configuration file

Add snowpark and snowpark extensions references to the project configuration file

For PySpark¶

Problem observed

Possible reason

Solution

Snowpark import statement do not compile on output python code or snowpark references do not compile

Snowpark and Snowpark extensions library references were not installed