timsaucer opened a new issue, #15902: URL: https://github.com/apache/datafusion/issues/15902
### Is your feature request related to a problem or challenge? This is a follow on to https://github.com/apache/datafusion/pull/15646 Now that we have metadata handling for scalar UDFs we need to do the same treatment for Aggregate and Window functions. ### Describe the solution you'd like Change points at which we pass in `DataType` into and out of aggregates and window functions in planning. Change these to use `Field`. We need to add unit tests to demonstrate both metadata processing on the input and generation of metadata on the output. We should also have a unit test using extension types as an example to users. ### Describe alternatives you've considered None ### 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: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org