Skip to content

Commit e787f4e

Browse files
authored
[memo] hash join right-side cardinality can be filtered (#2899)
* [memo] hash join right-side cardinality can be filtered * jason's comments
1 parent 8c915e5 commit e787f4e

File tree

4 files changed

+22672
-23893
lines changed

4 files changed

+22672
-23893
lines changed

enginetest/join_stats_tests.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,8 @@ var JoinStatTests = []struct {
135135
{
136136
// b is smallest table, bxc is smallest b-connected join
137137
// due to b < 0 filter and positive c skew
138-
q: "select /*+ LEFT_DEEP */ count(*) from u0 b join `u-15` a on a.b = b.b join `u+15` c on a.b = c.b where b.b < -2",
139-
order: [][]string{{"b", "c", "a"}},
140-
},
141-
{
142138
q: "select /*+ LEFT_DEEP */ count(*) from u0 b join `u-15` a on a.b = b.b join `u+15` c on a.b = c.b where b.b < -2",
143-
order: [][]string{{"b", "c", "a"}},
139+
order: [][]string{{"b", "c", "a"}, {"a", "c", "b"}},
144140
},
145141
{
146142
// b is smallest table, bxa is smallest b-connected join

0 commit comments

Comments
 (0)