SPRKSCL1106

Writer option is not supported.

Description

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

Input Code:

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

Output Code:

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

Recommendation

Last updated