alamb commented on PR #27736:
URL: https://github.com/apache/datafusion/pull/27736#issuecomment-7256519520

   I am a little lost given the size of this PR and I didn't read the whole 
thing so I apologize if this is a silly question. If we had something like 
`NestedInputAccess` like in https://github.com/apache/datafusion/pull/26282 
from @cetra3 would we need this PR?
   
   In my mind `NestedInputAccess` basically provides a way to convert 
`expr(struct_column)` --> `col_reference_of_the_leaf` in a generic way
   
   If that is insufficient (which may be the case for Variant as we need access 
to a few of the leaf field, I think) it seems like a more extendable way to 
support predicate pruning would be to add some method to PhysicalExpr trait to 
allow a expr to provide the min / maxes and remove all the hard coded use of 
`Column` in the Pruning code 


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