You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- refactor: streamlines mode dispatch logic in save operations by replacing the function dispatch dict with direct conditional handling, improving clarity and maintainability
- docs: expands and clarifies docstring to explain available save modes and their effects, referencing Spark semantics for familiarity
Signed-off-by: gitgud5000 <[email protected]>
metadata: Any arbitrary metadata. This is ignored by Kedro,
119
+
`materialized` in `save_args`. The `mode` parameter controls
120
+
the behavior when saving data:
121
+
- _"overwrite"_: Overwrite existing data in the table.
122
+
- _"append"_: Append contents of the new data to the existing table (does not overwrite).
123
+
- _"error"_ or _"errorifexists"_: Throw an exception if the table already exists.
124
+
- _"ignore"_: Silently ignore the operation if the table already exists.
125
+
These options are similar to those in Spark's DataFrameWriter (see: https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.DataFrameWriter.mode.html).
126
+
metadata: Any arbitrary metadata. This is ignored by Kedro,
0 commit comments