viirya opened a new issue, #5699: URL: https://github.com/apache/arrow-rs/issues/5699
**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*) --> While working filter pushdown for iceberg-rs: https://github.com/apache/iceberg-rust/pull/295, I am going to use the APIs like `ArrowPredicateFn` and `RowFilter`. When constructing `ArrowPredicateFn` for iceberg predicate, we provide a filtering function that takes `RecordBatch` based on the given projection. The `RecordBatch` contains the columns specified in the projection. And we need to access correct column in the batch to evaluate the predicate. For top-level column, it should be straightforward. But for nested column, seems no way to access the particular array from the `RecordBatch`. We only have the projection (i.e., `ProjectionMask`) which contains indices of leaf columns in the batch. For example, if the schema has `[a, b, c]` top columns. `b` is a struct column with `[aa, bb, cc]` columns. Give a predicate like `cc > 1`, and we know the leaf indices of the nested column `cc` is 3. Is there API we can use to access the array of `cc` in the `RecordBatch`? **Describe the solution you'd like** <!-- A clear and concise description of what you want to happen. --> **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. --> -- 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: github-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org