gandronchik commented on issue #3467:
URL:
https://github.com/apache/arrow-datafusion/issues/3467#issuecomment-1249110777
> > @liukun4515 Got it. I will implement it in logical plan then
>
> you can refer this pr #3472
Why did you decide to do coercion in optimizators? At least in case with
union I think it is better to do it directly in union building function
```
pub fn union_with_alias(
left_plan: LogicalPlan,
right_plan: LogicalPlan,
alias: Option<String>,
) -> Result<LogicalPlan> {
```
--
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]