alamb opened a new issue, #9839: URL: https://github.com/apache/arrow-datafusion/issues/9839
### Is your feature request related to a problem or challenge? This is a follow on to https://github.com/apache/arrow-datafusion/pull/9743 where @gstvg added a great `named_struct` function to construct `StructArrays` ❤️ As part of that PR, @yyy1000 noted that the existing code in the `struct` udf is now never called: https://github.com/apache/arrow-datafusion/pull/9743#discussion_r1536859279 ### Describe the solution you'd like Remove the struct.rs file https://github.com/apache/arrow-datafusion/blob/main/datafusion/functions/src/core/struct.rs ### Describe alternatives you've considered It is important to keep the struct expr_fn function for backwards compatibility https://github.com/apache/arrow-datafusion/blob/ce3d446be5f6a11664e100fc47940e6ecb5418d3/datafusion/functions/src/core/mod.rs#L44 I think it could be implemented as its own function like ```rust fn #struct( ### 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]
