Skip to content

Move columnar_support to the core library#730

Merged
frankmcsherry merged 1 commit intoTimelyDataflow:master-nextfrom
frankmcsherry:columnar_movement
Apr 25, 2026
Merged

Move columnar_support to the core library#730
frankmcsherry merged 1 commit intoTimelyDataflow:master-nextfrom
frankmcsherry:columnar_movement

Conversation

@frankmcsherry
Copy link
Copy Markdown
Member

This lightly updates and moves the columnar_support example code into the core library, to evolve it less confusingly. The main changes as part of the PR are splitting the 2kLOC file into smaller parts, and introducing efficiencies around work that should be a sequential pass (e.g. filtering zeros, partitioning by time).

Moves the columnar arrangement / container infrastructure from the
`examples/columnar/columnar_support/` tree into `src/columnar/` as a
public, experimental module. API and internals are explicitly marked as
unstable in the module-level docs; rough edges (`unimplemented!`
`ContainerBytes`, eager-consolidate `leave_dynamic`, single-`U`
`join_function`) are listed up front.

Also generalizes the dynamic-scope helpers: `DynTime<TOuter, T>` is now
parametric (was hardcoded to `Product<u64, PointStamp<u64>>`), and
`leave_dynamic` carries matching bounds plus a `level > 0` assert.

Updates the in-tree consumers: `examples/columnar/main.rs` and
`interactive/examples/ddir_col.rs` switch from path-mounted modules to
`use differential_dataflow::columnar`. `ddir_vec.rs` + `interactive/src/ir.rs`
gain a `RowLike` impl for `SmallVec<A>`, used by the vec-backed ddir
example for its row representation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@frankmcsherry frankmcsherry changed the base branch from master to master-next April 25, 2026 21:48
@frankmcsherry frankmcsherry merged commit 01482fb into TimelyDataflow:master-next Apr 25, 2026
6 checks passed
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