Troubleshooting the Output Code

Working with the SMA's 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 (See Add snowpark and snowpark extensions library reference)

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

Install snowpark and snowpark extensions packages (See Install snowpark and snowpark extensions libraries)

Last updated