SPRKPY1087
pyspark.sql.dataframe.DataFrame.writeTo
Last updated
pyspark.sql.dataframe.DataFrame.writeTo
Last updated
Message: The pyspark.sql.dataframe.DataFrame.writeTo function is not supported, but it has a workaround.
Category: Warning.
The function is not supported. The workaround is to use Snowpark DataFrameWriter method instead.
Input
Below is an example of a use of the pyspark.sql.dataframe.DataFrame.writeTo
function, the dataframe df
is written into a table name Personal_info
.
Output
The SMA adds the EWI SPRKPY1087
to the output code to let you know that this function is not supported, but has a workaround.
Recommended fix
The workaround is to use Snowpark DataFrameWriter SaveAsTable method instead.
For more support, you can email us at or post an issue .