snowflake.snowpark.DataFrameWriter.mode¶
- DataFrameWriter.mode(save_mode: str) DataFrameWriter [source]¶
Set the save mode of this
DataFrameWriter
.- Parameters:
save_mode –
One of the following strings.
”append”: Append data of this DataFrame to the existing table. Creates a table if it does not exist.
”overwrite”: Overwrite the existing table.
”errorifexists”: Throw an exception if the table already exists.
”ignore”: Ignore this operation if the table already exists.
Default value is “errorifexists”.
- Returns:
The
DataFrameWriter
itself.