Skip to content

Commit 149d319

Browse files
committed
update join order test
1 parent 393ab2f commit 149d319

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sql/memo/join_order_builder_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,25 +79,25 @@ func TestJoinOrderBuilder(t *testing.T) {
7979
plan.NewLeftOuterJoin(
8080
tableNode(db, "a"),
8181
tableNode(db, "b"),
82-
newEq("a.x = b.x"),
82+
newEq("a.z = b.z"),
8383
),
8484
plan.NewLeftOuterJoin(
8585
plan.NewFullOuterJoin(
8686
tableNode(db, "c"),
8787
tableNode(db, "d"),
88-
newEq("c.x = d.x"),
88+
newEq("c.z = d.z"),
8989
),
9090
tableNode(db, "e"),
91-
newEq("c.x = e.x"),
91+
newEq("c.z = e.z"),
9292
),
93-
newEq("a.x = e.x"),
93+
newEq("a.z = e.z"),
9494
),
9595
plan.NewInnerJoin(
9696
tableNode(db, "f"),
9797
tableNode(db, "g"),
98-
newEq("f.x = g.x"),
98+
newEq("f.z = g.z"),
9999
),
100-
newEq("e.x = g.x"),
100+
newEq("e.z = g.z"),
101101
),
102102
plans: `memo:
103103
├── G1: (tablescan: a)

0 commit comments

Comments
 (0)