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 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