danking opened a new pull request, #27569: URL: https://github.com/apache/datafusion/pull/27569
array_transform types its lambda's body, then reconstructs it _without metadata_ and uses that type as its return type's element type. I can't come up with any good reason to dump the metadata here. ## Which issue does this PR close? - Closes #27568. ## Rationale for this change Metadata is useful to consumers like myself. I see no cons to preserving metadata. ## What changes are included in this PR? Just clone the field and update its name instead of recreating it piecewise. ## What is the testing strategy for this PR? SQL tests interrogating metadata. ## Are there any user-facing changes? Metadata is now preserved in array_transform. -- 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]
