tustvold opened a new issue, #2433:
URL: https://github.com/apache/arrow-rs/issues/2433

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for 
this feature, in addition to  the *what*)
   -->
   
   `GenericColumnReader::skip_records` always calls to 
`PageReader::peek_next_page`. If the file doesn't have an OffsetIndex or this 
hasn't been loaded, this will result in an error.
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   I would like some mechanism for GenericColumnReader to fallback to decoding 
the level data from the page and using this to skip decoding. This may require 
adding a `PageReader::has_page_metadata() -> bool` or something similar.
   
   Not only would this avoid needing to know ahead of time if index information 
is available before pushing down `RowFilter`, etc... but would also allow these 
APIs to work even for files without a PageIndex - as just decoding the levels 
will still be significantly faster than also decoding the values
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   FYI @Ted-Jiang 
   


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