Repository navigation
feat(transaction): add overwrite action (continues #2185) #3300
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
Open
jopdorp
wants to merge
43
commits into
apache:main
Choose a base branch
from
jopdorp:feat/overwrite-action
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,024
−40
Open
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
2641d62
feat(transaction): add OverwriteAction with CoW delete support
glitchy 4999d69
Get the previous snapshot directly from the table_metadata and add up…
timsaucer a11e3b5
allow delete-only overwrite when no data files are added
gbrgr 5493b3a
chore(transaction): rustfmt and refresh public API snapshot for Overw…
glitchy 2b175f2
refactor(transaction): hoist inline spec imports in overwrite
glitchy 362c3c1
Merge remote-tracking branch 'origin/main' into pr-2185-fixes
jopdorp ede30bd
Adapt to current SnapshotProducer and manifest reader APIs
jopdorp 2664505
Keep deleted entries deleted when rewriting a manifest
jopdorp ca9bad1
Stamp a rewritten manifest with the schema and spec it was written under
jopdorp d782adc
Keep delete-only manifests when overwriting
jopdorp cbae245
Count the deletions the overwrite actually made
jopdorp 7f4f3ed
Name a rewritten manifest after the commit uuid
jopdorp 774f62a
Write rewritten manifests through the encryption manager
jopdorp bd931fd
Rename add_deleted_entry to add_tombstone_entry
jopdorp abad9a5
Report the operation an overwrite actually performed
jopdorp c20752e
Pin the precondition the empty overwrite test is about
jopdorp 0369a62
Reject deletes of files the table does not have
jopdorp 807a268
Refresh the public API snapshot for OverwriteAction
jopdorp fed895f
Let a snapshot operation report the files it removed
jopdorp 3fc4e80
Keep manifest names unique across a commit
jopdorp 6325d22
Write a manifest under the schema and spec it was written with
jopdorp 46c4336
Merge remote-tracking branch 'origin/main' into feat/overwrite-action
jopdorp 1cad731
test(transaction): cover partial overwrite and per-file spec in snaps…
jopdorp 7320fa4
Adapt the evolved-spec test to the UnboundPartitionField builder
jopdorp d5623e3
Drop the full-table truncation from the snapshot summary
jopdorp 296532e
Omit a summary total that would go negative, as Java does
jopdorp eeff802
Name the removed-file fields and take the manifest spec by ref
jopdorp 495f3ad
Take the added files again instead of cloning them for the summary
jopdorp 96da179
Assert an operation reports exactly the files it marked deleted
jopdorp a5653bc
Say in the removed_data_files doc what it must match
jopdorp b194d10
Merge remote-tracking branch 'origin/main' into review-3253
jopdorp 2977261
Summarize deleted files from the producer's list, as pyiceberg does
jopdorp f29655d
Merge branch 'snapshot-producer-removals' into feat/overwrite-action
jopdorp 1bb452b
Collapse added and deleted files by path in the producer
jopdorp 6331427
Rewrite only live entries and count deletes from the producer, as Jav…
jopdorp 181f834
Fit the shared error on one line
jopdorp 683fae4
Check that deletion summaries match manifest entries
jopdorp 5f36938
Format dropped-source integer partition values
jopdorp 543660f
Validate overwrite deletions before building their summary
jopdorp 01303e1
Merge branch 'review-3253' into review-3300
jopdorp 4eda47f
Merge remote-tracking branch 'origin/main' into feat/overwrite-action
jopdorp 3966f6b
Fix overwrite partition formatting after schema evolution
jopdorp b106b0a
Allow overwrite to re-add a path it deletes under check_duplicate
jopdorp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we open an issue for this arm? With the scale gone, a dropped decimal source renders
123for 1.23. That's harmless forchanged-partition-count, but it lands in thepartitions.*summary keys oncewrite.summary.partition-limitis above 0. We settled on the Display arms last round, so this is only about tracking it.