compute: Emit dataflow import outputs as the columnar edge - #37786
compute: Emit dataflow import outputs as the columnar edge#37786antiguru wants to merge 4 commits into
Conversation
c6a1d6e to
862beda
Compare
862beda to
7fecbce
Compare
7fecbce to
8013d36
Compare
30395be to
7af78d1
Compare
7af78d1 to
0d72be7
Compare
0d72be7 to
22894de
Compare
22894de to
c30a407
Compare
c30a407 to
2cb37ab
Compare
2cb37ab to
482e3a2
Compare
482e3a2 to
08b12b9
Compare
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>
State the property that makes the encode non-consolidating and drop the restatement of what the call does. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
08b12b9 to
54539a8
Compare
QA LLM Review1. MEDIUM -- Import leaf-encode is immediately undone for sink-only dataflows
Details
The same shape covers The broader point: nothing upstream of an import produces columns yet. This PR leaves the persist/trace decode untouched, Suggested fix: hold imports on |
Dataflow imports (persist sources, index/trace imports) emit the columnar edge via a
vec_to_columnarleaf-encode at the import output. Includes therelations.sltgolden update for the resultingVecToColumnarboundary operator.Columnar dataflow-edge migration. Design doc:
doc/developer/design/20260720_columnar_dataflow_edges.md(#37744).Part of CPU-51.