You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add configurable MAX_ROWS to cap fetched data per table scan
Replace MAX_PAGES with MAX_ROWS (default 1000) as the pagination cap.
When no SQL LIMIT is specified, each table scan fetches up to max_rows
before stopping. The current page is always completed, so actual row
count may slightly exceed the cap.
SQL LIMIT is still respected when DataFusion pushes it down (simple
queries). For JOINs where LIMIT can't be pushed, max_rows ensures
both sides fetch enough data for meaningful results.
Configurable via:
--max-rows 5000 (CLI flag, one-off override)
SQLIZE_MAX_ROWS=5000 (env var, persistent override)
Default: 1000
0 commit comments