Skip to content

docs: align DataFusion engine design with engine-boundaries doc - #1503

Merged
milindsrivastava1997 merged 1 commit into
mainfrom
docs/dfqe-align-engine-boundaries
Nov 25, 2026
Merged

milindsrivastava1997 merged 1 commit into
mainfrom
docs/dfqe-align-engine-boundaries

Conversation

@milindsrivastava1997

Copy link
Copy Markdown
Collaborator

Summary

Make the DataFusion query engine design (#1468) follow ASAPQuery's merged engine-boundaries doc (ProjectASAP/ASAPQuery#941) on four points where they disagreed.

Review guide

Docs only. datafusion-query-engine.md D4, D9, D10, D16 and the S4 row; datafusion-query-engine-orchestration.md conflicts section and A0.

Behavior: before → after

Point Before After (engine-boundaries rule)
Engine errors (D16) returned to the caller sent to the fallback, logged and counted (I12)
Query matching (D10) canonical parsed form exact text after trimming (I18); parsed form later
Raw data (D4, S4) fetched from Prometheus ingest engine writes RawDataStore (decision 23); Prometheus reader is a stopgap
OnFirstRead eviction and watermark (D9) store applies retention; RawDataStore exposes a watermark wrapper evicts after each query (I17); ingest engine's watermark passed in (decision 20)

Interfaces

None.

Algorithm changes

None.

Decisions and open questions

The engine itself still returns NotReady/Err per query; the fallback policy lives only in ASAPQuery's QueryDispatcher.

Verification

Docs only; pre-commit hooks pass.

Follow-ups

Implementation issues (tracker) to be filed next.

🤖 Generated with Claude Code

https://claude.ai/code/session_014qhwq4U46ytfUk8Uoy6o9D

Follow ASAPQuery's merged engine-boundaries doc (#941) on error policy
(I12), query matching (I18), raw data source (decision 23), eviction
(I17) and watermark (decision 20). Mark A0 done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014qhwq4U46ytfUk8Uoy6o9D
@milindsrivastava1997
milindsrivastava1997 merged commit 6448ffd into main Nov 25, 2026
1 check passed
@milindsrivastava1997
milindsrivastava1997 deleted the docs/dfqe-align-engine-boundaries branch November 25, 2026 20:27
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