joroKr21 opened a new issue, #10132: URL: https://github.com/apache/arrow-datafusion/issues/10132
### Describe the bug This is causing troubles for one of our user-defined aggregation functions. I don't know if there's an easier way to reproduce the issue. But it looks to me like it should be straightforward to support those data types: * `Duration` is a primitive * `Union` is similar to `Struct` and `List` - a single element array ### To Reproduce I am not sure. I could post some code with the UDAF reproduction but maybe someone knows a way to trigger the issue directly with a query? ### Expected behavior `ScalarValue::iter_to_array` to support all data types (maybe except the views) but I would settle for those two. ### Additional context I'm preparing a PR but I need ideas for testing -- 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...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org