LuciferYang commented on issue #2432:
URL: https://github.com/apache/iceberg-rust/issues/2432#issuecomment-5087763625

   I hit this and opened #2906 for it.
   
   The fix resolves a predicate's field to its Parquet column path (root to 
leaf) rather than a single leaf index, and walks that path through the 
projected `RecordBatch`, descending struct children by name to reach the 
primitive leaf, so `person.age > 25` builds a row filter instead of erroring on 
the group root.
   
   Scope note: this covers top-level and struct-nested leaves. Fields inside a 
list or map get no accessor in `Schema::build_accessors`, so a predicate on one 
already fails at bind time and never reaches the row filter, no change needed 
there. Row-group and page-index pruning resolve nested leaves by field id and 
didn't error on this path, so I left them out; happy to look at them separately 
if it's worth tightening.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to