feat: expose point-query primitives in paimon - #739
Merged
JingsongLi merged 3 commits intoAug 23, 2026
Conversation
leaves12138
reviewed
Aug 23, 2026
leaves12138
approved these changes
Aug 23, 2026
leaves12138
left a comment
There was a problem hiding this comment.
LGTM. The overflow-safe byte accounting and regression test look good.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Purpose
Expose the minimal Paimon core primitives needed by snapshot-consistent point-query consumers, independently of any HTTP service implementation.
Linked issue: none yet.
Brief change log
SnapshotNotExisterror and a strict time-travel table copy API that propagates selector failures.PlanandScanTracefor query budget enforcement.This PR intentionally contains only changes under
crates/paimon. The query service is tracked separately in #738.Tests
cargo test -p paimon --lib(2376 passed, 2 ignored)cargo test -p paimon spec::blob_descriptor::tests --lib(11 passed)cargo test -p paimon table::source::tests --lib(51 passed)cargo clippy -p paimon --lib -- -D warningscargo fmt --all -- --checkAPI and Format
Adds public Rust APIs for strict snapshot selection, typed missing-snapshot errors, Blob descriptor validation, and planned data-file byte statistics. No storage or serialization format changes.
Documentation
Public APIs include rustdoc explaining strict selection, descriptor validation, and lower-bound byte accounting.