Repository navigation
Conversation
…puts Each ingestion-time output the query side reads (the executor's materialization frontier) reads one tumbling pane of raw samples. Outputs that differ only in which pane they read share one SummaryDefinition, identified by a SHA-256 of their sub-DAG with TimeShift offsets zeroed. Each output binds to its definition with an offset: at evaluation time T it reads the pane ending at T - offset. SummaryStore keeps built panes by definition and end. #509 Example 4b's six 10-minute KLL panes become one definition with offsets 0..50 min. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 7, 2026
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.
Stack 2/5. Base: #818. Next: #820.
Before this PR
The data plane loaded the plan but didn't know which outputs it had to store.
After this PR
Sds::from_dagturns the plan's ingestion-time frontier into stored-summary definitions:TimeRange(width) ← TimeShift(offset)* ← Scan. That makes it a pane ofwidthending atT − offset; any other shape is rejected asUnsupportedShape.TimeShiftoffsets zeroed. In Example 4b, the six 10-minute KLL panes become one definition with offsets 0, 10, …, 50 min.SummaryStorekeeps panes by(definition, end)and evicts them by end time.Testing
data_plane/tests/sds.rs(6 tests): sharing, offsets, identity, rejected shapes, store eviction.🤖 Generated with Claude Code