Repository navigation
docs(query-engine): engine boundaries for the DataFusion query engine - #941
Merged
milindsrivastava1997 merged 1 commit intoNov 25, 2026
Merged
Conversation
Batch execution, views keyed by (PlanId, PhysicalASAPNodeId, window), and shared sketch kernels; the QueryEngine wraps ASAPPlanner's DataFusion engine instead of asap-executor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014qhwq4U46ytfUk8Uoy6o9D
milindsrivastava1997
marked this pull request as ready for review
November 25, 2026 16:34
milindsrivastava1997
deleted the
docs/engine-boundaries-datafusion-engine
branch
November 25, 2026 16:40
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.
Updates the engine-boundaries design (#935) for the DataFusion query-time engine proposed in ProjectASAP/ASAPPlanner#1468. That engine replaces the executor-backed
QueryEnginethis doc planned. Docs only.Three contract changes, settled while reviewing ProjectASAP/ASAPPlanner#1468:
QueryEngine::execute_batchandQueryDispatcher::dispatch_batch, so results the plan shares between queries evaluated at the same time are computed once.executeis a batch of one, so the existing endpoints don't change.ViewId = (PlanId, PhysicalASAPNodeId)and instances keyed by(ViewId, window), as proposed in the review comment on docs(query-engine): design engine boundaries for ASAPPlanner plans #935.ViewDefinitionIdandViewInputDataScopeare removed. The implementation plan no longer waits on [Feature] Physical view id: identify a materialized view by what its stored states are, and drop the logical-only id ASAPPlanner#1429, which is now needed only for reusing views across plans and for recovery.asap-executorinto their own ASAPPlanner crate. The ingest engine (I7, I8, step 8) builds states with it.Follow-on edits:
QueryEnginewraps ASAPPlanner's DataFusion engine.NotReadycomes from that engine's exact view reads.Not changed: the error policy (I12) and exact-text matching (I18). They differ from ProjectASAP/ASAPPlanner#1468 but live only in the dispatcher, so they are left to settle during implementation.
Effect on the open stack (#936–#940): none needs changes.
WindowedBuilduses ASAPQuery'sAggregateCoreandAccumulatorUpdater. That is fine for the old engine. The plan-based build in step 8 switches to the shared kernels.🤖 Generated with Claude Code