Skip to content

Remove the enter_at trace wrapper - #822

Merged
frankmcsherry merged 1 commit into
master-nextfrom
remove-enter-at
Aug 7, 2026
Merged

Remove the enter_at trace wrapper#822
frankmcsherry merged 1 commit into
master-nextfrom
remove-enter-at

Conversation

@frankmcsherry

@frankmcsherry frankmcsherry commented Aug 7, 2026

Copy link
Copy Markdown
Member

Removes the enter_at trace wrapper, which has a few problematic characteristics. It carries a closure and is not purely data, meaning it interops only with certain Rust types and cannot cross certain abstraction boundaries. It also requires cursor type knowledge for the arguments to the closure (i.e. keys and values).

The repository does not use the wrapper, nor does Materialize. It can certainly be added back, but for the moment it is in the way of reorienting the codebase away from cursors as a central concept, and having done that we can imagine how to add it back in once we understand the intent and how best to accommodate it.

Nothing calls `Arranged::enter_at` any longer.
The dogs3 delta query encoded its alt/neu ordering by entering traces at data-dependent times; `half_join2` now takes a comparison closure instead, which leaves the wrapper without a consumer.

The wrapper was also the only one to name cursor data types.
Its logic closure took a key, a value, and a time, where `enter` and `frontier` reason only about times and forward keys and values verbatim.
Removing it leaves the remaining wrappers cursor-oblivious in their semantics, so a non-cursor framework can implement them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@frankmcsherry
frankmcsherry merged commit cdf9193 into master-next Aug 7, 2026
6 checks passed
@frankmcsherry
frankmcsherry deleted the remove-enter-at branch August 7, 2026 21:14
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