friendlymatthew opened a new issue, #18717: URL: https://github.com/apache/datafusion/issues/18717
### Is your feature request related to a problem or challenge? Hashing union types currently fall through to the unsupported data type error, which means group by, distinct, hash joins, and aggregations all fail on union-typed columns At work, we interact with a lot of JSON and accessing data with `->` returns Union types, since JSON values can be any type. Without hash support, we're forced to use `->>` which coerces everything to strings, losing type fidelity and perf I'm working my way up from arrow, which lays the ground work for this feature - https://github.com/apache/arrow-rs/issues/8828 - https://github.com/apache/arrow-rs/pull/8839 - https://github.com/apache/arrow-rs/pull/8838 cc @alamb @paddyhoran @tobixdev ### Describe the solution you'd like _No response_ ### Describe alternatives you've considered _No response_ ### 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
