friendlymatthew opened a new pull request, #22825: URL: https://github.com/apache/datafusion/pull/22825
- Closes https://github.com/apache/datafusion/issues/18825 Add a `union_coercion` rule so that comparisons between a Union column and an opaque scalar pick the scalar type whenever any union variant can be cast to it. The execution side is already handled by arrow-rs's `cast(Union -> T)` (arrow 58.3.0+), which extracts values from the matching variant and emits NULL for rows whose active variant is not castable to the target -- 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]
