vaibhawvipul commented on issue #10206: URL: https://github.com/apache/datafusion/issues/10206#issuecomment-2076842125
My > As I mentioned here [#7845 (comment)](https://github.com/apache/datafusion/issues/7845#issuecomment-2073675288), the most useful thing for me would be less ugly errors when you do try to compare a union with something else. > > Also it would be good to be able to force people to cast unions in my case, so it would be nice if we could switch off `comparison_coercion` somehow. > > @vaibhawvipul if you're working on this, you might be interested in my logic in [`datafusion-contrib/datafusion-functions-json/src/common_union.rs`](https://github.com/datafusion-contrib/datafusion-functions-json/blob/main/src/common_union.rs) This was helpful @samuelcolvin. Thank you. My approach is similar - - adding support for arrow union datatype - need to support cast - will be extending functions to have union functions like `union_extract`. -- 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]
