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

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   
[RowFilter](https://github.com/apache/arrow-rs/blob/dc9c3cdd2c89a01d8f71c5b9a8ad1d4d9e9dc772/parquet/src/arrow/arrow_reader/filter.rs#L173)
 is the API used to apply predicates when reading Parquet data. 
   
   Although RowFilter itself is public, its predicates are marked as public 
within the current crate. Today the only way to apply predicates using 
`RowFilter` is through `ParquetRecordBatchReader` or 
`ParquetRecordBatchStreamReader`. This prevents some usecases we have to read 
Parquet data not through `ParquetRecordBatchReader` or 
`ParquetRecordBatchStreamReader`. If we can expose `predicates` it would help 
with those special usecases.
   
   **Describe the solution you'd like**
   
   Mark `predicates` as public instead of public within the crate.
   
   **Describe alternatives you've considered**
   
   For us to maintain a forked version of arrow rs which is not ideal.
   
   **Additional context**
   
   It would be also nice to expose `ReadPlanBuilder` and `ReadPlan` as well so 
that users can construct their own reader instead of relying on 
`ParquetRecordBatchReader` or `ParquetRecordBatchStreamReader`.
   


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