samarkumar4355 commented on PR #7774:
URL: 
https://github.com/apache/datafusion-comet/pull/7774#issuecomment-7327598855

   @comphead, 
   ListExtract and GetStructField use data_type() again to locate the nested 
fields. 
   Their return_field() overrides preserve the metadata on those fields.
   
   CreateNamedStruct filters child metadata to ARROW:extension:* and reuses the 
filtered fields across batches with the same schema. The regression verifies 
that zip accepts structs built from columns with different Parquet field IDs 
and that the extension metadata survives.
   
   The planner builds argN fields from the argument types and carries the UDF’s 
returned field into ScalarFunctionExpr. 
   The focused map_extract test uses an ANSI cast to cover both the direct path 
and the NullShortCircuit wrapper.
   
   The GetArrayStructFields test verifies extension metadata on the list 
element in both the declared output field and the evaluated array.


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