HippoBaro commented on code in PR #9804:
URL: https://github.com/apache/arrow-rs/pull/9804#discussion_r3142783881


##########
parquet/src/arrow/push_decoder/reader_builder/mod.rs:
##########
@@ -505,44 +579,35 @@ impl RowGroupReaderBuilder {
                     plan_builder,
                 } = row_group_info;
 
-                // Compute the number of rows in the selection before applying 
limit and offset
-                let rows_before = 
plan_builder.num_rows_selected().unwrap_or(row_count);
+                let budget = self.row_group_budget.ok_or_else(|| {

Review Comment:
   Thanks for seeing this! This yields a nice simplification 🙇  I moved the 
budget into the active row-group state via `RowGroupInfo`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to