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

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   The doc comment for `read_pages_locations` reads
   
   > If not the format not available return an empty vector.
   
   I would take this to mean it would return an empty vector if index 
information is not available, instead it returns
   
   ```
   General("underlying Thrift error: end of file")
   ```
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   Enable `ReadOptions::enable_page_index` and try to read a parquet file that 
lacks a PageIndex
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   Enabling the page index shouldn't require it to exist
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


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