-
Notifications
You must be signed in to change notification settings - Fork 326
Fix the snapshot summary of a partial overwrite #1879
New issue
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
Changes from all commits
5bbcb11
06ceb12
ecf029d
3f211f9
b2d2c79
6ea575e
89bc935
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -467,21 +467,19 @@ def test_partitioned_table_positional_deletes_sequence_number(spark: SparkSessio | |
assert snapshots[2].summary == Summary( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i ran this locally. snapshot 0 has the following metadata, which is correct
but snapshot 1, DELETE op with the positional delete, has the following metadata,
everything looks right except for the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Interesting. Looking at it, snapshot summary 1 seems incorrect. Could you open up an issue on the Java side? It would be good to get some historical context around this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was able to reproduce it using #1926. I'll also open an issue on the java side There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. apache/iceberg#12823 opened an issue on the java side |
||
Operation.OVERWRITE, | ||
kevinjqliu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
**{ | ||
"added-files-size": snapshots[2].summary["total-files-size"], | ||
"added-data-files": "1", | ||
"added-files-size": snapshots[2].summary["added-files-size"], | ||
"added-records": "2", | ||
"changed-partition-count": "1", | ||
"total-files-size": snapshots[2].summary["total-files-size"], | ||
"total-delete-files": "0", | ||
"total-data-files": "1", | ||
"total-position-deletes": "0", | ||
"total-records": "2", | ||
"total-equality-deletes": "0", | ||
"deleted-data-files": "2", | ||
"removed-delete-files": "1", | ||
"deleted-records": "5", | ||
"deleted-data-files": "1", | ||
"deleted-records": "3", | ||
"removed-files-size": snapshots[2].summary["removed-files-size"], | ||
"removed-position-deletes": "1", | ||
"total-data-files": "2", | ||
"total-delete-files": "1", | ||
"total-equality-deletes": "0", | ||
"total-files-size": snapshots[2].summary["total-files-size"], | ||
"total-position-deletes": "1", | ||
"total-records": "4", | ||
}, | ||
) | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.