-
Notifications
You must be signed in to change notification settings - Fork 24
feat(realtime): add primary-key in-memory support #224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
HaHaJeff
wants to merge
64
commits into
apache:main
Choose a base branch
from
HaHaJeff:jeff/pk-realtime-v1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
50d4207
feat(realtime): add primary-key in-memory writes
HaHaJeff 82949b3
feat(read): merge primary-key realtime memory with snapshots
HaHaJeff f8078a5
test(realtime): cover primary-key realtime lifecycle
HaHaJeff 949356a
refactor(realtime): consolidate PK state and validation
HaHaJeff 7f4b60b
fix(read): close PK realtime query readers
HaHaJeff 3dee339
fix(realtime): close rejected plugin readers
HaHaJeff b36b24f
fix(read): preserve PK reader metrics after close
HaHaJeff 20b834e
refactor(realtime): colocate PK realtime option validation
HaHaJeff b89a9fc
test(realtime): improve primary key coverage
HaHaJeff b3862d1
fix(realtime): prevent sequence reuse and align nested projections
HaHaJeff 3acae03
fix(realtime): align PK reads across schema changes
HaHaJeff 74d4fee
fix(realtime): align PK projections by field ID
HaHaJeff 2f7d228
refactor(mergetree): accept sorted key-value readers
HaHaJeff 3df2037
feat(realtime): adapt prepared primary-key batches
HaHaJeff 232d587
refactor(realtime): prepare primary-key batches in framework
HaHaJeff 62108e2
refactor(realtime): simplify primary-key write preparation
HaHaJeff b6bf461
test(mergetree): reuse reader failure mock
HaHaJeff 8c4c4c8
fix(realtime): preserve PK sequence across writer handoff
HaHaJeff aec0a2e
refactor(realtime): simplify primary key merge readers
HaHaJeff c248373
fix(realtime): validate PK reader contracts
HaHaJeff 1e1c7d2
refactor(realtime): simplify reader lifecycle cleanup
HaHaJeff 352ce21
fix(realtime): harden primary-key prepared batches
HaHaJeff d818466
refactor(realtime): simplify primary-key contracts
HaHaJeff ff0c7bd
fix(realtime): strengthen primary-key recovery coverage
HaHaJeff 83ff3cb
test(realtime): strengthen failure recovery coverage
HaHaJeff 5558182
refactor(realtime): simplify primary key state and tests
HaHaJeff e68ac16
test(realtime): simplify integration test setup
HaHaJeff f92fe6a
fix(realtime): reject PK read-optimized scans
HaHaJeff b187e07
fix(realtime): harden prepared store handling
HaHaJeff 5a6dcb6
refactor(realtime): simplify PK store boundary
HaHaJeff 808cc59
refactor(realtime): simplify PK offset coverage
HaHaJeff 7e59253
refactor(realtime): simplify stores around framework-owned PK offsets
HaHaJeff 7a59f9e
refactor(realtime): align PK query projection with store
HaHaJeff 884270f
refactor(realtime): address review feedback
HaHaJeff bf00d53
fix(realtime): tighten primary key framework boundaries
HaHaJeff 52ee6bd
fix(realtime): harden query schema alignment
HaHaJeff ace7e1d
fix(realtime): validate exact commit reader coverage
HaHaJeff 607cac7
fix(realtime): enforce store reader boundaries
HaHaJeff 86123e0
refactor(realtime): align primary key query projection
HaHaJeff 32844c1
refactor(realtime): centralize Arrow array memory retention
HaHaJeff 3476342
fix(realtime): refine primary key option validation
HaHaJeff 961aaaa
fix(realtime): validate plugin bitmap bounds
HaHaJeff 69d9693
fix(realtime): preserve primary keys in projected reads
HaHaJeff 09c53c9
fix(read): bound realtime merge fan-in
HaHaJeff 712b1e7
refactor(realtime): simplify primary key maintenance
HaHaJeff 3392f39
refactor(realtime): simplify primary key schema and reader setup
HaHaJeff dfb3329
refactor(realtime): remove duplicate offset validation
HaHaJeff e448f7a
refactor(realtime): localize primary-key split validation
HaHaJeff 0082544
fix(io): preserve merged reader initialization errors
HaHaJeff b4fb4d0
fix(realtime): validate prepared reader coverage
HaHaJeff 226cd85
fix(mergetree): transfer sorted reader ownership safely
HaHaJeff 3b65e10
refactor(realtime): simplify reader lifecycle
HaHaJeff e8a5b29
refactor(realtime): simplify prepared reader validation
HaHaJeff 87796a3
fix(read): close realtime readers on setup failure
HaHaJeff 982eb59
refactor(realtime): clarify primary-key reader contracts
HaHaJeff 9142758
Merge branch 'main' into jeff/pk-realtime-v1
lxy-9602 d4ebe09
fix(realtime): resolve CI failures
HaHaJeff 49f0ea7
test(realtime): remove redundant reader test code
HaHaJeff 813c644
test(realtime): streamline realtime test coverage
HaHaJeff e357418
fix(style): apply clang-format
HaHaJeff 020a14d
docs: preserve comments across refactoring
HaHaJeff a77b5f4
test(realtime): streamline primary key reader coverage
HaHaJeff a51b207
test(realtime): remove redundant close coverage
HaHaJeff e6ac99e
chore: merge upstream main
HaHaJeff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.