-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Selectively overwrite data with python (#1101)
# Description Currently high-level python writer isn't support partial partition overwrite. This PR enable usage of partitions filtering for writing data The functionlity is similar to: https://docs.databricks.com/delta/selective-overwrite.html The logic checks that data should contains only partitions that passing filtering. # Documentation ```python write_deltalake( delta_path, sample_data, mode="overwrite", partitions_filters=[("partition_a", ">", "1")], ) ``` --------- Co-authored-by: Ilya Moshkov <[email protected]>
- Loading branch information
Showing
3 changed files
with
263 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters