Skip to content

Commit 44a706d

Browse files
dfa1claude
andcommitted
chore: drop done Compute Primitives section from TODO
ADR-0013 follow-ups (fused kernels, dict lane, zone-map push-down) are shipped. The remaining work is the ADR-0019 columnar transducer façade — tracked separately. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c34f68f commit 44a706d

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

TODO.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -90,28 +90,6 @@ Per-encoding gotchas:
9090
- Candidates: `PType` integer kinds, buffer offsets, row indices, byte lengths
9191
- Goal: type-safety at zero cost (value class = no heap alloc, no boxing)
9292

93-
## Compute
94-
95-
- [ ] **Compute primitives — encoded-domain specialization & façade** — the remaining ADR-0013
96-
follow-ups now the fused kernels have shipped. See [ADR-0013](adr/0013-compute-primitives.md).
97-
Done: §4 `Predicate`; §5 `RowFilter` unified over `Predicate`; §6 zone-map aggregate push-down in
98-
both tiers — the whole-zone `ZoneReducer` fold wired into `VortexAggregatePushDownRule` (rewrites a
99-
whole-table `MIN`/`MAX`/`COUNT`/`SUM`/`AVG` to a single-row `Values`, auto-registered over a bare
100-
`jdbc:calcite:` connection), plus the boundary/residual tier so a `SUM`/`MIN`/`MAX`/`COUNT` with a
101-
`WHERE` folds fully-selected zones from stats and decodes only the straddling boundary chunks via
102-
the fused `Compute.filteredAggregate`. §1–§3 (`Mask`, the `FilterKernel`/`MapKernel`/`ReduceKernel`
103-
interfaces) were built then removed for the fused single-pass kernels — no intermediate bitmap.
104-
Encoded-domain value specialization was measured as a no-win (decode is dispatch-bound, see
105-
`forLoopDictEncoded`); the real dict lever — the monomorphic code-segment scan — shipped as the
106-
`DictFilter` lane in both kernels, including multi-leaf `AND`s (the dict leaf drives the scan,
107-
residual leaves tested per match). Multi-fork numbers: `fusedFilteredSumDict` 762 → 38 ms/op
108-
≈ 20×; `fusedFilteredAggregateDict` 983 → 46 ms/op ≈ 22×; `fusedFilteredAggregateMulti`
109-
(2-leaf `AND` × 2 aggregates) 2269 → 201 ms/op ≈ 11×.
110-
Next: the columnar transducer façade — [ADR-0019](adr/0019-columnar-transducer-facade.md)
111-
drafted (Proposed): declarative column-bound stages compiled to one fused pass; the remaining
112-
measured lever is the multi-aggregate single scan (≈ 2×) plus composition ergonomics for the
113-
Calcite boundary tier; review, then implement.
114-
11593
## Encodings
11694

11795
See [docs/compatibility.md](docs/compatibility.md) for the full encoding support table and S3 fixture status.

0 commit comments

Comments
 (0)