f7ac2d655c
### What changes were proposed in this pull request? This patch proposes to let optimizer to remove unnecessary `Union` under `Distinct`/`Deduplicate`. ### Why are the changes needed? For an `Union` under `Distinct`/`Deduplicate`, if its children are all the same, we can just keep one among them and remove the `Union`. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Unit tests. Closes #31595 from viirya/remove-union. Authored-by: Liang-Chi Hsieh <viirya@gmail.com> Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com> |
||
---|---|---|
.. | ||
benchmarks | ||
src | ||
pom.xml |