You are viewing documentation about an older version (1.3.0). View latest version

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 existing data.

”overwrite”: Overwrite existing data.

”errorifexists”: Throw an exception if data already exists.

”ignore”: Ignore this operation if data already exists.

Default value is “errorifexists”.

Returns:

The DataFrameWriter itself.