Repository navigation
Conversation
…needed (ITL-1464) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s (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
|
Codecov Report❌ Patch coverage is
... and 4 files with indirect coverage changes 🚀 New features to boost your workflow:
|
…efuse recipes (ITL-1464) Review of PRs 563 and 564. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 25, 2026
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, step 1 of the token track of ITL-1464 (mentions ITL-1464; the issue stays open). Stack: this, #564 (joins), #568 (aggregations).
What
A source row's token
<source id>::<record id>::<column>is in its two system tags and the column name. Inside the library a_source_xcolumn is now carried as a recipe: an internal Arrow extension column with no bytes, which filter, take, rename and concat carry like any other. Text is made in one function (source_tokens.materialize), when it is shown, stored, hashed or given to a function. Design, with every producer and consumer:docs/dev/specs/itl-1464-tokens.md.The read that keeps recipes is a private library function (
core/streams/carried.py), no part of a stream's interface. It holds only for a stream whose own class declares it and that reads as that class, and for an operator whose own class declares it: a subclass, a replacedas_table, a user's stream and a user's operator (also over a library one) read and give text. Reading, casting, hashing (schemas and zero-row tables too), pickling, storing and Parquet writing a recipe column each raise.Review findings -> tests
test_the_carried_read_is_no_part_of_a_stream,test_a_store_refuses_a_derived_column,test_a_derived_column_that_leaks_is_an_erroras_tablebypassedtest_a_stream_with_its_own_read_is_read_through_ittest_a_stream_without_the_internal_read_is_read_as_beforetest_a_subclass_of_a_library_operator_reads_textMeasured
Synthetic time series table, about 2.2 million rows, 13 columns, about 250 MiB of Arrow data.
as_table(),run()map_datadrop_nullspolars_filterTests
tests/test_core/streams/test_source_tokens.py: every operator case of the sync/async corpus equals the same operation over sources whose tokens are text (schema, bits, rows, hashes); every public read gives no recipe column; predicates that may read tokens get text; stored rows equal; a spilled table keeps its recipes. Run locally: source, stream, operator, hashing, database and utility tests, golden--check(no value moved), ruff, whole-repository basedpyright (0 errors).The ITL-1347 differential (both fixtures, all modes, both orchestrators, one and default Polars threads), run on the head of the stack (#568) against main: sync equals main byte for byte, async equals main's async as sets, 32 of 32; async against sync differs exactly as it does on main.
🤖 Generated with Claude Code