forked from apache/iceberg-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prevent adding duplicate files (apache#1036)
* prevent add_files from adding a file that's already referenced by the iceberg table * fix method that searches files that are already referenced + docs * move function to locate duplicate files into add_files * add check_duplicate_files flag to add_files api to make the behaviour according to java api * add check_duplicate_files flag to table level api and add tests * add check_duplicate_files flag to table level api and add tests * fix tests to check new new added flag check_duplicate_files and fix checks * fix linting
- Loading branch information
1 parent
c9d152c
commit 0f66a3d
Showing
2 changed files
with
120 additions
and
4 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