Repository navigation
Conversation
…isk (ITL-1464) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ws, with bounded output batches (ITL-1464) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…geJoin and SemiJoin streaming on record-batch channels (ITL-1464) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd slices without copying (ITL-1464) A forked child neither waits for a lock of its parent's threads nor touches its parent's files; a failed spill leaves the spool as it was; an unlocked or partly removed directory is swept. table() and slice() give rows through their mappings and outlive the spool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ents (ITL-1464) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a time across threads (ITL-1464) 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
|
…L-1464) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n's row mask is bounded by the rows held (ITL-1464) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 25, 2026
eywalker
added a commit
that referenced
this pull request
Nov 25, 2026
…put Rejoin streams; channels give text to public reads (ITL-1464) Review of #565 and #567: a held row costs what is held, whatever was held before it; a channel's public read gives text and reads a stream through its own reader; batches may mix text and derived tokens however they arrive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ld before them (ITL-1464) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eywalker
added a commit
that referenced
this pull request
Nov 25, 2026
…lready holds in its own form)
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, a step of ITL-1464 (the issue stays open). Contains #559 (the row spool); review that one first.
What this does
Join,MergeJoinandSemiJoinover record-batch channels (async_execute_batches) run on the ITL-1362 kernels: join keys and row numbers in memory, the rows in a row spool, the output in pieces of at most 8,192 rows.StreamProtocol.unique_keys: the tag sets no two rows agree on, derived when asked. A row is let go once it has matched if and only if the other side is unique on the join keys. It is in no hash, identity, config, stored row or equality. An unknown class or a subclass certifies nothing.No job node calls this form yet; the transport work wires it. The sync path is unchanged. No hash, identity, stored layout or golden value moves (golden
--checkclean).Rejoinstays a barrier here.Design, cases, bounds and the certificate table:
docs/dev/specs/itl-1464-joins.md.Measured (the operator alone, synthetic rows; peak RSS, 143 MiB of it imports)
The "one input first" cases grow with that input's keys, as designed. The many-to-many case has its small side ended first; with both inputs open and no certificate the bound is both sides' keys.
Tests
test_keys_only_joins.py: the sync rows as a set for 1:1, lookup on either side, many to many, null keys, float keys, no shared tag, three inputs, differing tag orders and layouts, every spool in memory and on disk; what is held; diamonds through bounded channels, failure, cancellation, backpressure, subclasses. Swapping the rule's two sides fails 44 of them.test_unique_keys.py: every step's certificate, and that it holds on the rows; what certifies nothing.No changelog fragment: nothing user-visible until the nodes use it, and
changelog.d/ITL-1464.mdbelongs to #558.Mentions ITL-1464.
🤖 Generated with Claude Code
Review round 1: finding -> test
test_a_customized_input_that_repeats_a_key_loses_no_row;test_a_source_with_a_replaced_reader_certifies_nothing,test_an_operator_with_a_replaced_body_certifies_nothing,test_a_stream_or_node_with_a_replaced_reader_certifies_nothing,test_a_function_pod_with_a_replaced_call_certifies_nothingtest_a_customized_join_keeps_its_own_computationtest_what_an_in_step_join_keeps_does_not_grow_with_the_rows_that_passed,test_rows_held_for_long_among_rows_that_pass_are_matched_at_the_endMany to many with both inputs open and no certificate, measured since: 8,000,000 rows, 40,000,000 out, 2,629 MiB, 57.3 s (barrier at 1,000,000: 6,068 MiB).
Review round 2: finding -> test
test_one_old_row_does_not_pin_what_later_rows_costThis pull request is correct on its own. #567, after it, replaces how the larger side is held and adds the rest; its numbers supersede those above.
Protocol change.
StreamProtocolgains a required member,unique_keys. Orcapod's protocols are internal: they are extended with required members, with no fallback for other implementations (developer, November 22, 2026). Every stream class of the library and everything built onStreamBasehas it. A hand-written structural stream must add it; the empty set (frozenset()) is valid and certifies nothing.