-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[python][ray] Incrementally commit update_by_row_id file groups #8826
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
XiaoHongbo-Hope
wants to merge
25
commits into
apache:master
Choose a base branch
from
XiaoHongbo-Hope:update_by_row_id_incremental_commit
base: master
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.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
8612798
[python][ray] Incrementally commit update_by_row_id file groups
XiaoHongbo-Hope ee4c971
[python] Fix row-id overwrite conflict handling
XiaoHongbo-Hope e3a14df
[python] Fix row-id fallback and DV merging
XiaoHongbo-Hope 5bceda3
[python] Fix row-id conflict scopes and cleanup
XiaoHongbo-Hope 43e2d7a
[python] Clean up manifests after atomic rejection
XiaoHongbo-Hope 20d053d
[python] Handle close failure after rejected commit
XiaoHongbo-Hope 69d7b8f
[python] Keep commit() outcome authoritative over close() failure
XiaoHongbo-Hope 6730422
[python][ray] Give each file group its own reduce task for incrementa…
XiaoHongbo-Hope 15c8ee1
[python] Preserve SnapshotCommit context-manager lifecycle on commit
XiaoHongbo-Hope 6e93aef
[python][ray] Isolate failing update_by_row_id groups by encoding err…
XiaoHongbo-Hope 13cb2d4
[python] Pass commit exception triple to SnapshotCommit __exit__
XiaoHongbo-Hope 7f34590
[python][ray] Flush successful update groups before surfacing a group…
XiaoHongbo-Hope 1d0ef80
[python][ray] Protect committed incremental update windows from concu…
XiaoHongbo-Hope 4b5ff1d
[python][ray] Return 4-tuple from distributed_update_apply on empty p…
XiaoHongbo-Hope dbd1917
[python][ray] Skip protected-scope rescan when no external snapshot l…
XiaoHongbo-Hope b4acfdc
[python] Classify SnapshotCommit __enter__ failure as a commit failure
XiaoHongbo-Hope ac42026
[python][ray] Prune dead own-snapshot ids after advancing the checkpoint
XiaoHongbo-Hope 7abbe20
[python][ray] Condense comments on the incremental-commit changes
XiaoHongbo-Hope f155981
[python][ray] Consolidate incremental-commit tests via shared helpers
XiaoHongbo-Hope 7c1e173
[python][ray] Treat an existing empty snapshot as an empty merge target
XiaoHongbo-Hope 3c12347
[python] Abort staged files on a deterministic commit rejection
XiaoHongbo-Hope 25775cb
[python] Tighten comments on the deterministic-rejection abort fix
XiaoHongbo-Hope 8aba977
[python] Update table_update deterministic-rejection test for new type
XiaoHongbo-Hope 3f7ff1f
[python] Merge scope-isolation tests and tighten a comment
XiaoHongbo-Hope 436c400
[python] Merge the enter/close-failure outcome tests via subTest
XiaoHongbo-Hope 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
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.
Returning a 4-tuple fixes the unpacking crash, but it does not make an existing-but-empty snapshot follow the empty-target path.
_build_datasetsstill passestarget_empty=base_snapshot is None; for an empty snapshot,base_snapshotis non-null, so the NOT MATCHED insert path builds a left-anti join against a zero-block target. The new test fails on Python 3.10 and 3.11 withArrowInvalid. Please also treatbase_snapshot.total_record_count == 0as empty, and skip the matched branches, so this regression passes the supported CI matrix.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.
Fixed