Repository navigation
perf(core): token lists on the row spool; grouping millions of rows; IPC refuses recipes (ITL-1464) - #573
Merged
eywalker merged 7 commits intoNov 25, 2026
Conversation
…rrow IPC refuses a recipe column (ITL-1464) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…okens-spool GroupBy sorts the record ids only when the tags tie; nested recipes are refused too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…okens-spool BatchSpool spools derived token lists too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nto eywalker/itl-1464-tokens-spool
Codecov Report❌ Patch coverage is
... and 2 files with indirect coverage changes 🚀 New features to boost your workflow:
|
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.
Draft, on the integration branch (#569), since it joins the token work (#563, #564, #568) with the row spool and its users (#559, #566). Mentions ITL-1464; the issue stays open.
What
kept_tablecuts by bytes. The exemptions for list tokens inkept_tableandBatchSpoolare gone.GroupBysorts by the record ids only when rows tie on every tag before them, reads keys and system tags in one chunk, copies no one-chunk column.Measured
Spill: 200,000 members, 300 groups, 9 token columns: 16.1 MiB in one file, 16.4 MiB in 150 files of 2 groups (0.11 MiB a file; before 96 MiB); as text 125.5 MiB. The reviewer's probe: 12.0 MB against 61.5 MB as text (before 355 MB).
Grouping a synthetic event table of about 8 million rows (8 columns, 100 groups), peak footprint:
group_by, outside a jobThe source's read is 3.5 GiB of each. The grouped values are 0.09 GiB; the members' record ids are 1.7 GiB. Sync with a function: the function node holds every input row as objects.
Review findings -> tests
test_a_nested_derived_column_is_refusedtest_a_spool_writes_a_groups_own_ids_once,test_a_spilled_list_pins_nothing_of_the_tables_idsAlso:
test_a_spooled_table_keeps_its_recipes(realRowSpool, three limits, three segmentations, six shapes),test_arrow_ipc_refuses_a_derived_column,test_discarded_lists_are_counted_as_they_were_held,test_members_that_tie_on_every_tag_are_ordered_by_record_id.🤖 Generated with Claude Code