Repository navigation
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces IcebergCheckpointState to manage operation-level row-checkpoint state for Iceberg tables, updates checkpoint loading to exclude pending files, and allows deferring success cleanup. The review feedback highlights several optimization and robustness opportunities, including replacing posixpath.relpath with a prefix-stripping approach to avoid Windows compatibility issues, batching sequential get_file_info calls to reduce metadata RPCs, and passing pre-fetched FileInfo objects to _read_namespace to eliminate redundant filesystem queries.
…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]>
70b1e1e to
bb2e0d3
Compare
…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]>
bb2e0d3 to
02e2af9
Compare
Signed-off-by: Schuyler Mortimer <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
There are 3 total unresolved issues (including 1 from previous review).
Reviewed by Cursor Bugbot for commit 3a16038. Configure here.
Signed-off-by: Schuyler Mortimer <[email protected]>
|
Hi, thank you for your contribution! We did a major refactor of our readers with a new architecture we call DatasourceV2. Iceberg will soon be migrated to it and this version will be deprecated. Given all of this, I think its best to hold off on implementing this now, and we can do it directly on the new version instead. |
|
This pull request has been automatically marked as stale because it has not had 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. |
|
This pull request has been automatically closed because there has been no more activity in the 14 days 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! |

Description
Adds iceberg operation and pending-checkpoint state utilities that are needed to support APPEND operations.
Related issues
Related to #59870
Additional information
High level of the state helpers:
Essentially, the building blocks for iceberg checkpointing are further up PRs.
Iceberg Checkpointing Stack: