Repository navigation
[core] Support scheduled execution of snapshot-scoped search plans - #1191
Merged
JingsongLi merged 6 commits intoOct 22, 2026
Merged
Conversation
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
Paired PyPaimon integration: apache/paimon#10724.
Allow PyPaimon to assemble ordinary search source plans and use Ray for placement while Rust Core owns query execution and global coordination.
Changes
VectorScanPlanandFullTextScanPlansnapshot-and-split data with public constructors, synchronous source access and validated serde restoration. Plans carry no live table, SDK handle, query configuration or fingerprint.internal-apibridge and private scheduler callbacks.VectorScanPlan(splits, snapshot=None)andFullTextScanPlan(splits, snapshot=None)withsnapshot()andsplits()accessors. Accept concrete Index/Raw/PrimaryKey split objects and Snapshot objects, rather than JSON arguments or metadata dictionaries. Keep codecs private to the adapter and pickle. Hybrid snapshot configuration also accepts the Snapshot object.execute()SDK method for vector, batch-vector, full-text and hybrid builders. Remove the local/batch-local aliases; keep scheduling on the internal Plan/Read bridge.Validation
-D warnings; formatting passed.The Native extension is not rebuilt or installed into the PyPaimon test environment. There is no storage-format change or distributed primary-key search extension.
CI follow-up
rustls-webpkito 0.103.16 andwebpki-root-certsto 1.0.10 to address RUSTSEC-2026-0382/0383; retain all other locked dependency edges and refresh the nine dependency reports.--locked --all-targets --workspace --features fulltext,vortex -- -D warnings; formatting and diff checks passed.