SPRKSCL1106

org.apache.spark.sql.DataFrameWriter.option

This issue code has been deprecated

Message: Writer option is not supported.

Category: Conversion error.

Description

This issue appears when the tool detects, in writer statement, the usage of an option not supported by Snowpark.

Scenario

Input

Below is an example of the org.apache.spark.sql.DataFrameWriter.option used to add options to a writer statement.

df.write.format("net.snowflake.spark.snowflake").option("dbtable", tablename)

Output

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

df.write.saveAsTable(tablename)
/*EWI: SPRKSCL1106 => Writer option is not supported .option("dbtable", tablename)*/

Recommended fix

There is no recommended fix for this scenario

Additional recommendations

Last updated