Unparse UNION
plan with multiple inputs to SQL text
#13621
Labels
enhancement
New feature or request
UNION
plan with multiple inputs to SQL text
#13621
Is your feature request related to a problem or challenge?
Given a SQL like
The unoptimized plan is
It's fine for the unparser. However, after
EliminateNestedUnion
optimization rule, the nested union will be flatten to one union likeIf we tried to unparse this plan, we will get the error message:
Describe the solution you'd like
Currently, the unpaser only supports unparsing an union with 2 input
datafusion/datafusion/sql/src/unparser/plan.rs
Lines 630 to 635 in 172e557
We should support unparsing the union with more 2 inputs for the Unparser.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: