[python] Add streaming infrastructure: scanners, consumers, caching#7342
Open
tub wants to merge 1 commit intoapache:masterfrom
Open
[python] Add streaming infrastructure: scanners, consumers, caching#7342tub wants to merge 1 commit intoapache:masterfrom
tub wants to merge 1 commit intoapache:masterfrom
Conversation
This was referenced Mar 4, 2026
…sharding Add foundational infrastructure for pure-Python streaming reads: - Follow-up scanners (delta, changelog, incremental diff) for continuous snapshot polling - Consumer manager for persisting read progress - LRU caching for snapshots, manifests, and manifest lists - Batch existence checks for efficient file IO - Bucket-based sharding for parallel consumption - Row kind support in table reads - Streaming-related core options - Backtick support for identifier parsing Includes unit tests for all new components.
314f2fe to
a9c6bc7
Compare
2 tasks
Contributor
|
Thanks @tub for the contribution! This feature looks amazing! Can you split this PR too? (I know the feature already be split to 3 PRs, but this PR is too large...) For example, consumer and cosumer_manager can be a separate PR. |
Contributor
Author
|
Sure. I was trying to get a balance between number of stacked PRs and the
size of the change. Either way, it’s a big change. Happy to split it more.
…On Thu, 5 Mar 2026 at 07:56, Jingsong Lee ***@***.***> wrote:
*JingsongLi* left a comment (apache/paimon#7342)
<#7342 (comment)>
Thanks @tub <https://github.com/tub> for the contribution! This feature
looks amazing!
Can you split this PR too? (I know the feature already be split to 3 PRs,
but this PR is too large...)
For example, consumer and cosumer_manager can be a separate PR.
—
Reply to this email directly, view it on GitHub
<#7342 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABG7B2H22Y7DDXYWF6IV334PEXJBAVCNFSM6AAAAACWGXCLW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DAMBTGA2TSOJXGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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.
Summary
PR 1 of 3 for pure-Python streaming reads. This PR adds foundational infrastructure:
25 files changed, +2701 / -31 lines
PR Stack
paimon tailcommand)Merge workflow: Merge PR 1, rebase PR 2 onto updated master (PR 1 commits drop out), merge PR 2, repeat for PR 3.
Test plan
python -m pytest pypaimon/testspython -c "from pypaimon import CatalogFactory"— no import errors🤖 Generated with Claude Code