-
- Downloads
fix bug: when union two same statement, rewrite rule is incorrect (#5075)
fix bug: when union two same statement, rewrite rule is incorrect rewrite : selectStatment union selectStatment to : select distinct * from (selectStatement) a; and I just remove some tag that bug was fixed by some previous PR Approved by: @aunjgr, @aressu1985
Showing
- pkg/sql/plan/query_builder.go 38 additions, 4 deletionspkg/sql/plan/query_builder.go
- test/cases/dml/select/union_and_union_all.sql 0 additions, 30 deletionstest/cases/dml/select/union_and_union_all.sql
- test/result/dml/select/union_and_union_all.result 5 additions, 7 deletionstest/result/dml/select/union_and_union_all.result
Loading
Please register or sign in to comment