adriangb commented on PR #11238:
URL: https://github.com/apache/arrow-rs/pull/11238#issuecomment-7225177586

   @alamb I came back to this and pushed a new version here. It's the #11613 
approach you suggested (loop back through `WaitingOnData`, no new state, no 
`PageStore`), plus the `RowFilter` piece that was missing from it.
   
   I think the RowFilter part came out pretty nice: the decoder cuts the row 
group into windows of `batch_size` rows and each window just runs the existing 
`Filters` → `WaitingOnData` states, so a filtered scan emits batches as soon as 
that window's pages are there.
   
   It also releases pages as it goes and respects `RowSelectionPolicy`, so I 
think it covers what #11240 was going to do.
   
   Benchmarks are in the description. Default path is unchanged; batch mode 
costs some CPU overhead on in-memory data, which is the price of a request per 
batch.
   
   I closed #11613 in favor of this one. It'll conflict a little with #11609, 
happy to rebase on top if you want to land that first. No rush on any of this, 
I know you've been buried.


-- 
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