Skip to content

fix(table): reject row ranges for format tables at read construction - #700

Open
jackylee-ch wants to merge 1 commit into
apache:mainfrom
jackylee-ch:fix/format-table-row-ranges-at-read
Open

fix(table): reject row ranges for format tables at read construction#700
jackylee-ch wants to merge 1 commit into
apache:mainfrom
jackylee-ch:fix/format-table-row-ranges-at-read

Conversation

@jackylee-ch

Copy link
Copy Markdown
Contributor

FormatTableScan::plan rejects row ranges, but FormatReadBuilder::new_read never reads
self.row_ranges, so with_row_ranges(..).new_read() on a format table returns every row
instead of the requested ranges. The Python binding has a short-circuit that skips planning
(bindings/python/src/read.rs:313), so this path is reachable.

Fix: fail closed in new_read too, matching ReadBuilder::new_read, which guards the
same way for the same reason.

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