Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
fc22de6
test(referential_tags): failing EDI-shaped end-to-end test (ITL-1023)
Nov 13, 2026
02b6235
feat(referential_tags): WIP representation, sources, select/drop, Joi…
Nov 13, 2026
c3c5e99
feat(referential_tags): row-preserving ops, renames, guards, async Jo…
Nov 13, 2026
c42eece
feat(referential_tags): renames per developer decision; EDI test on t…
Nov 13, 2026
880dcd4
Merge remote-tracking branch 'origin/main' into eywalker/itl-1023-wor…
Nov 13, 2026
853da82
test(referential_tags): existing tests pin plain tags where they asse…
Nov 13, 2026
1ec232e
feat(pipeline): saved job and pipeline format 0.3.0; v0.3 files load …
Nov 13, 2026
6120671
Merge remote-tracking branch 'origin/main' into eywalker/itl-1023-wor…
Nov 13, 2026
860045e
test(referential_tags): pin plain tags in main's torch golden case an…
Nov 13, 2026
6a6d72b
feat(function_pod): referential tags fall through a pod call (ITL-1023)
Nov 13, 2026
ed51400
fix(referential_tags): fall-through keeps exact types and returned ob…
Nov 13, 2026
5832772
Merge remote-tracking branch 'origin/main' into eywalker/itl-1023-wor…
Nov 13, 2026
3e12d62
fix(referential_tags): type-check clean; fall-through pod refuses to …
Nov 13, 2026
d8628af
test(pipeline): commit the saved-job fixture's CSV and Parquet files …
Nov 13, 2026
1fd2daa
test(objective): pin plain tags where the objective tests assume v0.3…
Nov 13, 2026
34fb2a0
Merge remote-tracking branch 'origin/main' into eywalker/itl-1023-wor…
Nov 13, 2026
4473e2e
Merge remote-tracking branch 'origin/main' into eywalker/itl-1023-wor…
Nov 13, 2026
4c0c687
docs(plan): ITL-1023 status log
Nov 13, 2026
5607af1
docs(plan): ITL-1017 merged source-info token plan
Nov 13, 2026
5e8028e
fix(referential_tags): one merged source-info token for a value merge…
Nov 13, 2026
aaff7da
docs(referential_tags): merged source-info token, changelog, open poi…
Nov 13, 2026
8d7e3c9
Merge remote-tracking branch 'origin/main' into eywalker/itl-1023-wor…
Nov 13, 2026
c78ba80
docs(plan): ITL-1017 status log
Nov 13, 2026
8c7cfb6
Merge origin/main into the referential tags slice (ITL-1023, ITL-1017)
Nov 14, 2026
0bfd72a
Merge origin/main (ITL-1074) into the referential tags slice (ITL-1023)
Nov 14, 2026
634ad40
fix(group_by): a referential non-key tag keeps its data column as a l…
Nov 14, 2026
99b5737
Merge origin/main (4dd015a4) into the referential tags slice (ITL-1023)
Nov 16, 2026
404066e
fix(referential_tags): main's new paths meet referential tags (ITL-1023)
Nov 16, 2026
177d5ad
fix(referential_tags): GroupBy key order, meta stripping and join err…
Nov 16, 2026
61129ae
fix(referential_tags): zero-row heads keep references; pin main's new…
Nov 16, 2026
f359aa0
docs: main's new pages pin plain tags on the referential tags slice (…
Nov 16, 2026
3e0ae5a
feat(join): a referential key that differs only in nullability joins …
Nov 16, 2026
22e7662
test(referential_tags): type-clean key nullability assertion (ITL-1023)
Nov 16, 2026
157632b
test: pin plain tags in main's remaining v0.3-shape suites (ITL-1023)
Nov 16, 2026
84d1312
feat(referential_tags): stored tables and saved jobs keep tag binding…
Nov 16, 2026
199221c
feat(referential_tags): refuse a database that cannot keep the marker…
Nov 16, 2026
8f7d50a
ci(coderabbit): review pull requests that target any base branch, on …
eywalker Nov 16, 2026
7d6c580
chore: merge the slice branch (.coderabbit.yaml, PR #405) into ITL-1019
Nov 16, 2026
fc1db0a
fix(pipeline): a saved-node error of a loaded job names the job file …
Nov 16, 2026
00818bd
fix(pipeline): refuse a saved source config whose bindings contradict…
Nov 16, 2026
ec5984a
fix(pipeline): check an explicitly empty tag_columns against the slot…
Nov 16, 2026
26d981a
feat(referential_tags): operator nodes store and derived sources pres…
Nov 16, 2026
cb3dbc4
refactor(operator_node): the stored-table check returns nothing; one …
Nov 16, 2026
3c51256
test(referential_tags): reach the DerivedSource binding check; log IT…
Nov 16, 2026
cecbaf3
feat(databases): a database states keeps_field_metadata; an undeclare…
Nov 16, 2026
25ff7db
feat(batch): Batch on referential tags (ITL-1017) — into the referent…
eywalker Nov 16, 2026
67435e0
feat(referential_tags): SelectColumns/DropColumns on referential tags…
eywalker Nov 16, 2026
57aaa5c
Merge origin/main (37716c76, ITL-1154) into the referential tags slic…
Nov 16, 2026
c111ca4
feat(referential_tags): stored tables and saved jobs keep tag binding…
eywalker Nov 16, 2026
69776b0
chore: merge the slice branch (PR #402 squash-merged) into ITL-1019 W3
Nov 16, 2026
40c57da
Merge the slice head c111ca47 (#402, ITL-1019) into the ITL-1154 refr…
Nov 16, 2026
7137e72
fix(databases): a SpiralDB retry publishes metadata whose write faile…
Nov 17, 2026
1e9565a
fix(databases): a SpiralDB write that stores no row never replaces st…
Nov 17, 2026
5261e9a
test(referential_tags): type-clean field metadata in the SpiralDB sto…
Nov 17, 2026
ded5305
fix(databases): SpiralDB writes a table's Arrow metadata before its r…
Nov 17, 2026
f030aab
fix(databases): a failed first SpiralDB write removes the metadata it…
Nov 17, 2026
edc98fd
Merge origin/main (62899bda: #408, #409, #410, #411) into the referen…
Nov 17, 2026
4b49640
fix(databases): a failed SpiralDB write puts the metadata entry back …
Nov 17, 2026
a6cf552
fix(databases): read the SpiralDB metadata snapshot before the nullab…
Nov 17, 2026
ac68895
Merge origin/main (7c735b7a, v0.3.0 release commit) into the referent…
Nov 17, 2026
01f3db4
docs(changelog): concurrent SpiralDB writers are not coordinated; fol…
Nov 17, 2026
6274a3c
chore: merge the refreshed slice (main 7c735b7a, v0.3.0) into ITL-101…
Nov 17, 2026
a7f08ed
test(referential_tags): meet main's SpiralDB column refusal and hash-…
Nov 17, 2026
ce32310
fix(operator_node): replayed rows carry the node's data context in th…
Nov 17, 2026
8b73ba7
feat(operators): TagBy / stream.tag_by makes data columns referential…
Nov 17, 2026
6aa2314
docs(referential-tags): describe the three moves by role after tag_by…
Nov 17, 2026
e037e58
Merge pull request #407 from metamorphic-labs/eywalker/itl-1019-w3-de…
eywalker Nov 17, 2026
e91d256
Merge remote-tracking branch 'origin/eywalker/itl-1023-workshop-slice…
Nov 17, 2026
43bb0ef
Merge origin/main (23fd8f2a: #414, #415, #416) into the referential t…
Nov 17, 2026
eb32ab1
test(tag_by): a logged TagBy operator node stores its new tag marked …
Nov 17, 2026
9c48452
chore(changelog): fold the slice's fragments into changelog.d/ITL-102…
Nov 17, 2026
a6b4a17
docs(referential-tags): select and drop act on a referential tag by r…
Nov 17, 2026
3ab814e
refactor(referential_tags): remove ReferenceMaterializationWarning (I…
Nov 17, 2026
194254e
Merge remote-tracking branch 'origin/eywalker/itl-1023-workshop-slice…
Nov 17, 2026
8cd398f
fix(tag_by): keep the input's column layout and data context (ITL-1175)
Nov 17, 2026
424f731
Merge branch 'eywalker/itl-1175-operator-and-stream-method-to-mark' i…
Nov 17, 2026
5292a60
revert(referential_tags): keep ReferenceMaterializationWarning (ITL-1…
Nov 17, 2026
1e585a7
Merge origin/main (565201b2: #417) into the referential tags slice (I…
Nov 17, 2026
27fee5a
feat(merge_join): handle referential tags as Join does (ITL-1194)
Nov 17, 2026
83ff606
fix(tag_by): keep each row's data context key; correct the spec on LO…
Nov 17, 2026
35579f8
Merge branch 'eywalker/itl-1175-operator-and-stream-method-to-mark' i…
Nov 17, 2026
01c3b72
docs(design_issues): log ST5, the two tag orders of ArrowTableStream …
Nov 17, 2026
447597b
Merge branch 'eywalker/itl-1175-operator-and-stream-method-to-mark' i…
Nov 17, 2026
50b580b
fix(referential_tags): address the CodeRabbit review of the slice (IT…
Nov 17, 2026
016052a
docs(referential_tags): log the deferred review findings (ITL-1199 to…
Nov 17, 2026
fc205da
docs(referential-tags): sort the MergeJoin sample's rows before print…
Nov 17, 2026
5dd0634
Merge remote-tracking branch 'origin/eywalker/itl-1023-workshop-slice…
Nov 17, 2026
378eca2
Merge branch 'eywalker/itl-1175-operator-and-stream-method-to-mark' i…
Nov 17, 2026
d7d1b34
Merge remote-tracking branch 'origin/eywalker/itl-1023-workshop-slice…
Nov 17, 2026
38478e0
Merge origin/main (232ee360: #418) into the referential tags slice (I…
Nov 17, 2026
05deee1
Merge remote-tracking branch 'origin/eywalker/itl-1023-workshop-slice…
Nov 17, 2026
a373ca6
Merge branch 'eywalker/itl-1175-operator-and-stream-method-to-mark' i…
Nov 17, 2026
09ffdf7
Merge remote-tracking branch 'origin/eywalker/itl-1023-workshop-slice…
Nov 17, 2026
0937242
Merge pull request #423 from metamorphic-labs/eywalker/itl-1194-merge…
eywalker Nov 17, 2026
460ff01
chore(changelog): fold the ITL-1194 fragment (#423) into changelog.d/…
Nov 17, 2026
816d8c8
Merge remote-tracking branch 'origin/eywalker/itl-1023-workshop-slice…
Nov 17, 2026
bd8f020
Merge branch 'eywalker/itl-1175-operator-and-stream-method-to-mark' i…
Nov 17, 2026
e43c609
docs(design_issues): log AB1, the async barrier input's column order …
Nov 17, 2026
c4cee17
Merge pull request #421 from metamorphic-labs/eywalker/itl-1195-opera…
eywalker Nov 17, 2026
b77cb01
refactor(data_tags): rename "referential tag" to "data-tag" (ITL-1023)
Nov 17, 2026
b011809
Merge origin/main (51be5e4e: #422 add_tags, #419) into the data-tags …
Nov 17, 2026
c2aafc4
fix(data_tags): data-tags come first among the data columns (ITL-1205)
Nov 17, 2026
20309a0
feat(add_tags): AddTags works on a stream with data-tags (ITL-1196, I…
Nov 17, 2026
0248fc0
fix(data_tags): async rows keep data-tags first; fall-through prevali…
Nov 17, 2026
8d6a1d9
docs(data_tags): answer the CodeRabbit doc findings on PR #342 (ITL-1…
Nov 17, 2026
3817334
Merge origin/main (7c8c5efb: #425 Starlight docs site) into the data-…
Nov 17, 2026
66d6ed7
fix(side_effects): pass a data-tag only to a parameter that takes a k…
Nov 17, 2026
99487ce
fix(data_tags): refuse an EmptyData hit of a fall-through node; selec…
Nov 17, 2026
ce427c4
Merge origin/main (ad3f2411: #424 pipeline diagram, #430 Graphviz rem…
Nov 17, 2026
b702ce4
fix(pick, index): only a data-tag is refused in place; a plain tag ge…
Nov 17, 2026
c06ecf0
feat(group_by, tag_by): member order free of the input's column arran…
Nov 17, 2026
b7dbbc0
feat(group_by)!: the order of `by` is not identity; groups come out b…
Nov 17, 2026
c7a8e73
test(golden): pin GroupBy over several tags and data columns, in thre…
Nov 17, 2026
e3eca07
docs(group_by, tag_by): member order, key order and arrangement rule;…
Nov 17, 2026
9246962
test(group_by): type the arrangement tests on StreamBase (ITL-1226)
Nov 17, 2026
f06d4ba
Merge origin/main into ITL-1226 (after #342)
Nov 18, 2026
e4a84f6
Merge origin/main into ITL-1226 (after #428)
Nov 18, 2026
bc46d75
docs(group_by): stored caches keep pre-upgrade rows after the member-…
Nov 18, 2026
8c633f7
docs(group_by): keep the stored-rows migration note in the changelog …
Nov 18, 2026
c89f2b4
Merge origin/main into ITL-1226 (ITL-1221 column_names, ITL-1224 docs)
Nov 18, 2026
969f9b0
fix(group_by): a bare-string member_order names the list form in its …
Nov 18, 2026
90c0b60
Merge origin/main into ITL-1226 (notebooks page, #433)
Nov 18, 2026
4129b70
docs(notebooks): show the last rows of an explicitly sorted view (ITL…
Nov 18, 2026
2f377fc
fix(group_by): a NaN tag has one place in the member order (ITL-1226)
Nov 18, 2026
d6377e0
fix(group_by): all NaN keys form one group; a float key is emitted by…
Nov 18, 2026
db50cf3
fix(group_by): emit a key from the input's Arrow column, bits read on…
Nov 18, 2026
9b71556
fix(group_by): take only float-storage keys from Arrow; read a logica…
Nov 18, 2026
1db0583
fix(group_by): check a group's first key before gathering it; changel…
Nov 18, 2026
6aacdf6
Merge origin/main into ITL-1226 (#446: data context v1 reopened)
Nov 18, 2026
f76ee7e
Merge ITL-1226 branch into ITL-1234 (#446: data context v1 reopened)
Nov 18, 2026
64194a5
docs(group_by): the stored-table note names NaN-ordered members; data…
Nov 18, 2026
bc8452e
fix(group_by): a dictionary-encoded float key is chosen by its values…
Nov 18, 2026
5d52c15
Merge ITL-1226 branch into ITL-1234 (#434 docs round)
Nov 18, 2026
e79dd72
test(group_by): name ITL-1264 where the dictionary tests avoid a pipe…
Nov 18, 2026
9206c02
fix(group_by): a null float key is emitted through a null index (ITL-…
Nov 18, 2026
6794836
Merge origin/main into ITL-1234 (PR 434 squash-merged as 83062f2c)
Nov 19, 2026
0009eb6
docs(group_by): a reordered input is byte-identical only for a source…
Nov 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions .zed/rules
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,10 @@ data. The rules:
for unknown, data, or list-valued columns (list-valued usually means the stream came from
Batch — group before batching, not after). Members sort by the non-key tags in name order
(or as member_order gives) with system record_id, then source id, as tiebreakers; groups
emit sorted by their keys in name order, so reordered input yields a byte-identical table.
emit sorted by their keys in name order, so reordered rows yield a byte-identical table when
the source has key columns (record_id_columns). Without them a record id is the row's
position: reordering the rows changes the folded record ids, and members sharing every tag
can swap places.
- GroupBy's output tag columns are its `by` columns, scalar, in the input's tag order; every
other tag is dropped (ITL-1070; ITL-955 had kept them as list[T] tags, never released). The
dropped tags still order the members, so the data lists are as before. Their values are not
Expand All @@ -1204,7 +1207,7 @@ data. The rules:
key orders its members by the first grouping's keys outside the coarser key, then by record id. An opt-in mode that keeps non-key tags is ITL-1071.
- GroupBy never depends on how its input's columns are arranged (developer, November 17,
2026, ITL-1226). Members are ordered by the non-key tags in name order (each ascending,
nulls last), then the record-id and source-id columns; `member_order` (non-key TAG names
NaN after every number, nulls last), then the record-id and source-id columns; `member_order` (non-key TAG names
only: a data column, a key, a repeat, a set or an empty list is refused; `"name"` is the
default; an ordering function is reserved, refused for now) names tags to order by first,
the rest follow in name order. A member is never ordered by a data value. The keys in `by`
Expand All @@ -1214,6 +1217,23 @@ data. The rules:
record ids, folds, source-info tokens and hashes; only the output's column order follows
the input, as presentation. `TagBy`'s identity is its sorted names, and its new tags are
placed in name order.
- `GroupBy` groups keys as the joins match them, except null (developer, November 17, 2026,
ITL-1234): all rows with a null key form one group, and so do all rows with a NaN key (the
grouping key holds every NaN as one object, `_grouping_key`); `0.0` equals `-0.0`. A NaN key
sorts after every number and before null, as in the member order (`_null_last_key`, which
also sorts a NaN tag after every number). The hashes read a float's bits, so a group emits,
for each float key column, its members' value with the smallest bit pattern at the column's
own width, float16, float32 or float64 (`_emitted_key_row`: `0.0` over `-0.0`, a positive NaN
over a negative one; a signaling NaN has smaller bits than the canonical quiet NaN, so it
wins), taken from the input's Arrow column, never through Python (a float32 signaling NaN
comes back quiet from Python): always a value a member holds, never the first row's, never
chosen by `member_order`. Bits are read only for a group whose key is zero or NaN. A logical
type stored as a float, or a dictionary-encoded float, is a float key, read through its
storage or its values (`_float_storage`). Every
other key is rebuilt from its Python value, as before: equal Python values that differ in
Arrow (`time64[ns]` within a microsecond) are one group with one rebuilt key; grouping by
the exact value is ITL-1250. The stance on `0.0`/`-0.0` and NaN for the whole library
(match by value, as Polars does; show the smallest bit pattern; rewrite nothing) is ITL-1251.
- Data source-info values may be str, None, or list[...], nested to any depth; Arrow/Python
types are derived from the value, with None mapping to large_string. That rule has one
definition, arrow_utils.source_info_arrow_type, and applies only to tokens supplied as
Expand Down
23 changes: 21 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,9 @@ data. The rules:
non-key tags in name order (or as `member_order` gives), with the system `record_id` and
then the source id as tiebreakers (a record id names a row within its source only), so the
hashed lists are stable across runs. Groups themselves are emitted sorted by their keys in
name order, so a reordered input yields a byte-identical table.
name order, so reordered rows yield a byte-identical table when the source has key columns
(`record_id_columns`). Without them a record id is the row's position: reordering the rows
changes the folded record ids, and members sharing every tag can swap places.
- `GroupBy`'s output tag columns are its `by` columns, scalar, in the input's tag order; every
other tag is dropped (ITL-1070; ITL-955 had kept them as `list[T]` tags, never released). The
dropped tags still order the members, so the data lists are as before. Their values are not
Expand All @@ -1250,7 +1252,7 @@ data. The rules:
orders its members by the first grouping's keys outside the coarser key, then by record id. An opt-in mode that keeps non-key tags is ITL-1071.
- GroupBy never depends on how its input's columns are arranged (developer, November 17,
2026, ITL-1226). Members are ordered by the non-key tags in name order (each ascending,
nulls last), then the record-id and source-id columns; `member_order` (non-key TAG names
NaN after every number, nulls last), then the record-id and source-id columns; `member_order` (non-key TAG names
only: a data column, a key, a repeat, a set or an empty list is refused; `"name"` is the
default; an ordering function is reserved, refused for now) names tags to order by first,
the rest follow in name order. A member is never ordered by a data value. The keys in `by`
Expand All @@ -1260,6 +1262,23 @@ data. The rules:
record ids, folds, source-info tokens and hashes; only the output's column order follows
the input, as presentation. `TagBy`'s identity is its sorted names, and its new tags are
placed in name order.
- `GroupBy` groups keys as the joins match them, except null (developer, November 17, 2026,
ITL-1234): all rows with a null key form one group, and so do all rows with a NaN key (the
grouping key holds every NaN as one object, `_grouping_key`); `0.0` equals `-0.0`. A NaN key
sorts after every number and before null, as in the member order (`_null_last_key`, which
also sorts a NaN tag after every number). The hashes read a float's bits, so a group emits,
for each float key column, its members' value with the smallest bit pattern at the column's
own width, float16, float32 or float64 (`_emitted_key_row`: `0.0` over `-0.0`, a positive NaN
over a negative one; a signaling NaN has smaller bits than the canonical quiet NaN, so it
wins), taken from the input's Arrow column, never through Python (a float32 signaling NaN
comes back quiet from Python): always a value a member holds, never the first row's, never
chosen by `member_order`. Bits are read only for a group whose key is zero or NaN. A logical
type stored as a float, or a dictionary-encoded float, is a float key, read through its
storage or its values (`_float_storage`). Every
other key is rebuilt from its Python value, as before: equal Python values that differ in
Arrow (`time64[ns]` within a microsecond) are one group with one rebuilt key; grouping by
the exact value is ITL-1250. The stance on `0.0`/`-0.0` and NaN for the whole library
(match by value, as Polars does; show the smallest bit pattern; rewrite nothing) is ITL-1251.
- `Data` source-info values may be `str`, `None`, or `list[...]`, nested to any depth; the
Arrow and Python types are derived from the value, with `None` mapping to `large_string`.
That rule has one definition, `arrow_utils.source_info_arrow_type`, and applies only to
Expand Down
23 changes: 23 additions & 0 deletions changelog.d/ITL-1234.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
### Changed

- `GroupBy` puts all rows whose key is NaN into one group (ITL-1234), as the joins match a
NaN key; with several keys, the key tuples compare element by element with that rule.
Before, each such row was a group of its own, and those groups came out in the input's
row order. A NaN key sorts after every number and before null. Only two kinds of input
change: one with a NaN key (its groups, member lists, folded ids and hashes), and one
with a group whose members mix `0.0` and `-0.0` (its key and hashes; see Fixed). Stored
rows of such a `GroupBy` and of the nodes after it are not replaced: delete those tables
or attach a new database before running it with this version (`clear_cache()` clears
memory only).

### Fixed

- `GroupBy` emits a float key whose members differ in bits as the one with the smallest
bit pattern at the column's own width (ITL-1234): `0.0` over `-0.0`, a positive NaN over
a negative one, and a signaling NaN (smaller bits) over the canonical quiet NaN. Before,
`0.0` and `-0.0` were already one group, but the group emitted the key of the first row
in input order, so its value and the row's hashes depended on the row order. The key is
now taken from the input's Arrow column: a `float32` signaling NaN key is emitted with
its bits (it came back quiet). A logical type stored as a float is chosen by the bits of
its storage, and a dictionary-encoded float key by the bits of its values (the column
keeps its encoding; a null key is a null index, whichever kind of null came first). A group whose members agree emits their value as before.
29 changes: 22 additions & 7 deletions docs/concepts/operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,19 +308,34 @@ Ordering is deterministic by construction, because orcapod hashes the emitted li
cache keys:

- **Members** are sorted by the input's non-key tags, even though those tags are dropped.
The tags are taken in name order, each ascending with nulls last, and the internal record
id breaks ties. `member_order` names tags to sort by first, in its order; the other
The tags are taken in name order, each ascending with NaN after every number and nulls
last, and the internal record id breaks ties. `member_order` names tags to sort by first, in its order; the other
non-key tags follow in name order. A member is never ordered by a data value: a name in
`member_order` must be a tag of the input (a data-tag counts), and a data column is
refused (make it a tag first with `tag_by`).
- **Groups** are emitted sorted by their keys, taken in name order. The order of the names
in `by` is not part of the operator: `GroupBy(by=["a", "b"])` and `GroupBy(by=["b", "a"])`
are one operator.
- **No arrangement of the input changes the result.** The order of its tags, the order of
its data columns and the layout of its table leave every value, record id and hash of the
output unchanged. A reordered input produces a byte-identical output table. The output
lists its columns as the input does (the keys in the input's tag order); that order is
presentation, and no hash depends on it.
- **Keys** group as the joins match them, except for null: rows with equal keys form one
group, all rows with a null key form one group, and so do all rows with a NaN key (NaN
equals NaN here; `0.0` equals `-0.0`). A NaN key sorts after every number and before null.
When the members of a group hold a float key with different bits (`0.0` and `-0.0`, or NaN
with another sign or payload), the group emits the one with the smallest bit pattern at
the column's own width (`float16`, `float32` or `float64`; a logical type stored as a
float is read through its storage, a dictionary-encoded float through its values), for
each key column: `0.0` over `-0.0`, and a positive NaN over a negative one. A signaling
NaN has smaller bits than the canonical quiet NaN, so when a member holds one, it is the
key emitted. The emitted key is always a value a member holds, bit for bit, and neither
the order of the rows nor `member_order` decides it.
- **No arrangement of the input's columns changes the result.** The order of its tags, the
order of its data columns and the layout of its table leave every value, record id and
hash of the output unchanged. The output lists its columns as the input does (the keys in
the input's tag order); that order is presentation, and no hash depends on it.
- **The order of the input's rows** changes nothing when the source has key columns
(`record_id_columns`): its record ids follow the rows' content, so a reordered input gives
a byte-identical output table. Without key columns a record id is the row's position, so
reordering the rows is a change: the folded record ids differ, and members that share
every tag (ordered by record id) can swap places in the lists.

```python
units = DictSource(
Expand Down
4 changes: 2 additions & 2 deletions src/orcapod/contexts/data/v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,10 @@
"date": "2026-11-18",
"release": null,
"added": {
"pipeline-02.json": "1ec3cbbe09bbb353366d1c8f2573881467d1c8e1ae53a20f8df4e7f43bbfa74e"
"pipeline-02.json": "7778b4c69ff706debbcbd9fc67dbe5b723df56252158be8253f8751326a5bd41"
},
"previous": "0a789cf9e8d1df9fb762d6dc2fabffcd3383cd6a21ef147e8c6583f963280c2e",
"digest": "71b1edf7a9091477d5a39f5882f2da72e1324b3c353bbfaf755d444469c84b28"
"digest": "b0988d0fa1eb437f87ff825ae4a29ba82a4161afab9e30101c049f2266ad57ed"
}
]
},
Expand Down
Loading
Loading