friendlymatthew opened a new issue, #21306:
URL: https://github.com/apache/datafusion/issues/21306

   ### Is your feature request related to a problem or challenge?
   
   Every optimization for struct field querying (row level pushdown, leaf-level 
projection pruning, `PushdownChecker`, `resolve_struct_field_leaves`) is gated 
on the `GetFieldFunc` udf. 
   
   A custom UDF like `variant_get` gets none of these optimizations. There's no 
trait or capability API for a UDF to declare "I'm a struct field access." 
   
   This blocks Variant support entirely unless `variant_get` decomposes to 
`get_field` chains or the Parquet source learns a general mechanism for 
struct-access UDFs
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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