Skip to content

Commit e00aec4

Browse files
committed
amend to not push on anti only
1 parent ee14b22 commit e00aec4

File tree

3 files changed

+73
-98
lines changed

3 files changed

+73
-98
lines changed

enginetest/join_planning_tests.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,10 @@ var JoinPlanningTests = []joinPlanScript{
6060
},
6161
tests: []JoinPlanTest{
6262
{
63-
// When NOT IN and IN are combined, the IN filter should not be pushed into the Anti join
64-
q: "select * from xy where x > 0 and x not in (select 999) and x in (select 1 union select 2) order by x",
65-
types: []plan.JoinType{plan.JoinTypeLeftOuter},
63+
q: "select * from xy where x > 0 and x not in (select 999 union select 2 union select 3) order by x",
64+
types: nil,
6665
exp: []sql.Row{
6766
{1, 0},
68-
{2, 1},
6967
},
7068
},
7169
{

0 commit comments

Comments
 (0)