Skip to content

[Data][3/4] Append Aware Protocol - #66504

Closed
smortime wants to merge 7 commits into
ray-project:masterfrom
smortime:smortimer/append-aware-protocol
Closed

smortime wants to merge 7 commits into
ray-project:masterfrom
smortime:smortimer/append-aware-protocol

Conversation

@smortime

@smortime smortime commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds checkpoint-aware Iceberg APPEND support.

Workers write Iceberg files and pending row-ID checkpoints. The driver marks the Iceberg snapshot with an operation ID and promotes those checkpoints only after confirming the snapshot. On retry, Ray promotes pending checkpoints for a visible committed snapshot or discards them so the rows are recomputed.

Related issues

Related to #59870

Additional information

Iceberg Checkpointing Stack:

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for Iceberg checkpointing in Ray Data, adding a new IcebergCheckpointDatasink class, state management utilities, and corresponding tests. It also updates the checkpoint filter and callback logic to ensure correct handling of pending row checkpoints. A high-severity issue was identified regarding a missing import in checkpoint_filter.py that would cause a runtime error.

@ray-gardener ray-gardener Bot added data Ray Data-related issues community-contribution Contributed by the community labels Sep 26, 2026
richardliaw pushed a commit that referenced this pull request Sep 30, 2026
…oint restore (#66387)

## Description

During checkpoint restoration, instead of passing the entire checkpoint
directory, which may contain pending files, pass only the committed
`.parquet`.

## Related issues

Related to #59870

## Additional information

This isn't directly part of supporting iceberg checkpointing, but was
teased out of the implementation / added first, so it can be merged
without concern of iceberg-related items.

Stack:
- #66387 (you are here)
- #66503
- #66504
- #66505

Signed-off-by: Schuyler Mortimer <[email protected]>
@smortime
smortime force-pushed the smortimer/append-aware-protocol branch from 2df6534 to 4275748 Compare October 2, 2026 18:22
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
…oint restore (ray-project#66387)

## Description

During checkpoint restoration, instead of passing the entire checkpoint
directory, which may contain pending files, pass only the committed
`.parquet`.

## Related issues

Related to ray-project#59870

## Additional information

This isn't directly part of supporting iceberg checkpointing, but was
teased out of the implementation / added first, so it can be merged
without concern of iceberg-related items.

Stack:
- ray-project#66387 (you are here)
- ray-project#66503
- ray-project#66504
- ray-project#66505

Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
@smortime
smortime force-pushed the smortimer/append-aware-protocol branch from 0febdb9 to ae8204b Compare October 7, 2026 16:04
Signed-off-by: Schuyler Mortimer <[email protected]>
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had
any activity for 14 days. It will be closed in another 14 days if no further activity occurs.
Thank you for your contributions.

You can always ask for help on our discussion forum or Ray's public slack channel.

If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@github-actions github-actions Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Oct 22, 2026
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no more activity in the 14 days
since being marked stale.

Please feel free to reopen or open a new pull request if you'd still like this to be addressed.

Again, you can always ask for help on our discussion forum or Ray's public slack channel.

Thanks again for your contribution!

@github-actions github-actions Bot closed this Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community data Ray Data-related issues stale The issue is stale. It will be closed within 7 days unless there are further conversation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant