alamb commented on PR #9697:
URL: https://github.com/apache/arrow-rs/pull/9697#issuecomment-4246653775

   I was thinking more about this change and I thought maybe we could take a 
step back and figure out what you are trying to accomplish
   
   For example, if your usecase is to clear all IO after reading a row group's 
data, I wonder if we could you just call `clear_all_buffers` after reading the 
row group's data? One challenge if this is there is no way (currently) to know 
when the row group's data is no longer needed externally (as in there is no way 
to introspect the push decoder about when it is done reading a particular row 
group)
   
   Recently, I have been working on something downstream in DataFusion where I 
would like a similar API
   - https://github.com/apache/datafusion/issues/20529
   
   One solution could be to make a way split off RemainingRowGroups perhaps 
into a different decoder 🤔 
   
   
   


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