Skip to content

compute: Emit dataflow import outputs as the columnar edge - #37786

Draft
antiguru wants to merge 3 commits into
columnar-p7-join-outputfrom
columnar-p9-imports
Draft

compute: Emit dataflow import outputs as the columnar edge#37786
antiguru wants to merge 3 commits into
columnar-p7-join-outputfrom
columnar-p9-imports

Conversation

@antiguru

@antiguru antiguru commented Jul 21, 2026

Copy link
Copy Markdown
Member

Dataflow imports (persist sources, index/trace imports) emit the columnar edge via a vec_to_columnar leaf-encode at the import output. Includes the relations.slt golden update for the resulting VecToColumnar boundary operator.

Columnar dataflow-edge migration. Design doc: doc/developer/design/20260720_columnar_dataflow_edges.md (#37744).

Part of CPU-51.

@antiguru
antiguru force-pushed the columnar-p9-imports branch from c6a1d6e to 862beda Compare July 22, 2026 08:41
@linear-code

linear-code Bot commented Jul 22, 2026

Copy link
Copy Markdown

CPU-51

@antiguru
antiguru force-pushed the columnar-p9-imports branch from 862beda to 7fecbce Compare July 22, 2026 16:24
@antiguru
antiguru force-pushed the columnar-p9-imports branch from 7fecbce to 8013d36 Compare July 22, 2026 17:50
@antiguru
antiguru force-pushed the columnar-p9-imports branch 2 times, most recently from 30395be to 7af78d1 Compare August 19, 2026 13:17
@antiguru
antiguru force-pushed the columnar-p9-imports branch from 7af78d1 to 0d72be7 Compare August 20, 2026 08:49
@antiguru
antiguru force-pushed the columnar-p9-imports branch from 0d72be7 to 22894de Compare August 20, 2026 09:13
antiguru and others added 3 commits September 6, 2026 17:12
Flip the three import producers to the columnar edge via a `vec_to_columnar`
leaf-encode at the boundary: source imports in the recursive and non-recursive
scopes, and the `SnapshotMode::Exclude` index import. These read row-shaped data
from persist or a filtered trace, so encoding at the boundary is the accepted
leaf-encode, symmetric to the join outputs and the reduce/join Vec-internal
pattern.

The batches are already consolidated and the prior `from_collections` was
non-consolidating, so a plain `vec_to_columnar` (non-consolidating) is correct;
no consolidating builder is added. The persist/trace decode machinery is
untouched. `from_collections` -> `from_edge`; err stays `Vec`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The import boundary now encodes outputs to the columnar edge, inserting a
VecToColumnar operator. Reflect the new conversion channel and the
Vec->Column flip on the arrange input in the introspection golden.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Comment-only, no behavior change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@antiguru
antiguru force-pushed the columnar-p9-imports branch from 22894de to c30a407 Compare September 6, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant