SPRKSCL1107

org.apache.spark.sql.DataFrameWriter.save

This issue code has been deprecated

Message: Writer save is not supported.

Category: Conversion error.

Description

This issue appears when the tool detects, in writer statement, the usage of a writer save method that is not supported by Snowpark.

Scenario

Input

Below is an example of the org.apache.spark.sql.DataFrameWriter.save used to save the DataFrame content.

df.write.format("net.snowflake.spark.snowflake").save()

Output

The SMA adds the EWI SPRKSCL1107 to the output code to let you know that the save method is not supported by Snowpark.

df.write.saveAsTable(tablename)
/*EWI: SPRKSCL1107 => Writer method is not supported .save()*/

Recommended fix

There is no recommended fix for this scenario

Additional recommendations

Last updated