Part of #69
Depends on #92 (chunked CSV reading)
Description
In streaming mode, some SQL operations require seeing the full dataset before producing output (e.g. unbounded ORDER BY, certain JOINs). Detect these cases and emit a clear error or warning instead of silently producing wrong or truncated results.
Acceptance Criteria
Notes
- Parse the query AST or use SQLite's EXPLAIN to detect full-scan operations
- Keep the validator conservative: false positives (blocking a safe query) are better than false negatives (silently wrong output)
Part of #69
Depends on #92 (chunked CSV reading)
Description
In streaming mode, some SQL operations require seeing the full dataset before producing output (e.g. unbounded ORDER BY, certain JOINs). Detect these cases and emit a clear error or warning instead of silently producing wrong or truncated results.
Acceptance Criteria
ORDER BYin--streammode emit a clear error message--streamor rewriting the queryNotes