We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
OVERWRITE
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main (development)
Snapshot OVERWRITE operation can calculate the wrong summary fields when the table is partially updated.
update_snapshot_summaries assumes that all OVERWRITE operations are full table overwrite
update_snapshot_summaries
iceberg-python/pyiceberg/table/update/snapshot.py
Line 239 in 322ebdd
iceberg-python/pyiceberg/table/snapshots.py
Lines 358 to 359 in 322ebdd
This is likely an oversight when we implemented partial write.
Thankfully the table/transaction's overwrite function is currently implemented as a delete+append.
overwrite
The only place where OVERWRITE operation is used is during partial deletes.
iceberg-python/pyiceberg/table/__init__.py
Line 678 in 322ebdd
Original thread apache/iceberg-go#356 (comment) (thanks @arnaudbriche and @zeroshade )
Partial overwrite reproduced in #1840
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Apache Iceberg version
main (development)
Please describe the bug 🐞
Snapshot
OVERWRITE
operation can calculate the wrong summary fields when the table is partially updated.update_snapshot_summaries
assumes that allOVERWRITE
operations are full table overwriteiceberg-python/pyiceberg/table/update/snapshot.py
Line 239 in 322ebdd
iceberg-python/pyiceberg/table/snapshots.py
Lines 358 to 359 in 322ebdd
This is likely an oversight when we implemented partial write.
Thankfully the table/transaction's
overwrite
function is currently implemented as a delete+append.The only place where
OVERWRITE
operation is used is during partial deletes.iceberg-python/pyiceberg/table/__init__.py
Line 678 in 322ebdd
Original thread apache/iceberg-go#356 (comment) (thanks @arnaudbriche and @zeroshade )
Partial overwrite reproduced in #1840
Willingness to contribute
The text was updated successfully, but these errors were encountered: