SPRKPY1012
pyspark.sql.dataframe.DataFrameStatFunctions.writeTo
Last updated
pyspark.sql.dataframe.DataFrameStatFunctions.writeTo
Last updated
This issue code has been deprecated
Message: pyspark.sql.dataframe.DataFrameStatFunctions.writeTo has a workaround
Category: Warning.
This issue appears when the tool detects the usage of which has a workaround.
Input
For this example the dataframe df is writed to a Spark table "table".
Output
SMA returns the EWI SPRKPY1012 over the line where DataFrameStatFunctions.writeTo is used, so you can use to identify where to fix.
Recomended fix
Use df.write.SaveAsTable() instead.
For more support, you can email us at or post an issue .