Execute explicitly timed arithmetic over immutable maintenance rows - #666
Merged
Merged
Conversation
zzylol
changed the base branch from
feat/maintenance-multi-frontier
to
main
September 11, 2026 18:54
zzylol
marked this pull request as ready for review
September 11, 2026 18:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
A selected summary-over-summary program can combine two finalized inputs with arithmetic. Its maintenance operator must preserve window timestamps and left/right operands before updating the outer sketch.
What
Execute explicitly
MaintenanceTimearithmetic over frozen, aligned Float64 rows. This is an operator capability; the automatic finite scheduler remains single-source in this PR.How
Reuse the existing Float64 arithmetic kernel and private maintenance rows. Preserve declared timestamp provenance, require identical nonempty timestamp sets, and reject duplicate timestamps, unsupported schemas, vector matching, and non-finite updates. Order Binary dependencies by their
Left/Rightedge roles, including rejection of missing or duplicate roles. The Planner pin carries the explicit timing contract from Planner #402; read-time query compilation remains explicit.Before this PR
The maintenance registry rejected Binary operators, and the generic scheduler passed dependencies in transport edge order.
After this PR
A bound maintenance subtraction evaluates
(1000,5),(2000,7)against reordered(2000,3),(1000,2)as(1000,3),(2000,4). Read-time or live-ingest Binary execution remains rejected. No automatic multi-source workload claim is made yet.Verification
Limits
Only arithmetic without vector-match modifiers, declared Timestamp plus nonnullable Float64, and complete matching timestamp sets are supported. Group shuffle, continuous completion, sliding execution, Compare/Set, and automatic multi-source scheduling remain outside this change.
Stacked on #665 and depends on Planner #402.