alamb commented on issue #17261:
URL: https://github.com/apache/datafusion/issues/17261#issuecomment-3274724728
> So one potential idea to try is to unnest unions earlier in the plan
(maybe even directly in the planner) which would reduce both the number of
nodes in the plan as well as the depth
To be clear, I am suggesting instead of:
```
Union
Select
Union
Select
Union
Select
```
To make the plan like this (Union already supports more than one input)
```
Union
Select
Select
Select
```
--
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]