Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit bff4248

Browse files
committed
fix empty relation test
Signed-off-by: AveryQi115 <[email protected]>
1 parent cf22b4d commit bff4248

File tree

1 file changed

+2
-32
lines changed

1 file changed

+2
-32
lines changed

optd-sqlplannertest/tests/empty_relation.planner.sql

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -36,40 +36,10 @@ select 64+1 from t1 inner join t2 on false;
3636

3737
/*
3838
LogicalProjection { exprs: [ #0, #1, #2, #3 ] }
39-
└── LogicalJoin { join_type: Inner, cond: true }
39+
└── LogicalJoin { join_type: Inner, cond: false }
4040
├── LogicalScan { table: t1 }
4141
└── LogicalScan { table: t2 }
4242
PhysicalProjection { exprs: [ #0, #1, #2, #3 ] }
43-
└── PhysicalProjection { exprs: [ #2, #3, #0, #1 ] }
44-
└── PhysicalNestedLoopJoin { join_type: Inner, cond: true }
45-
├── PhysicalScan { table: t2 }
46-
└── PhysicalScan { table: t1 }
47-
0 0 0 200
48-
0 0 1 201
49-
0 0 2 202
50-
1 1 0 200
51-
1 1 1 201
52-
1 1 2 202
53-
2 2 0 200
54-
2 2 1 201
55-
2 2 2 202
56-
65
57-
65
58-
65
59-
65
60-
65
61-
65
62-
65
63-
65
64-
65
65-
65
66-
65
67-
65
68-
65
69-
65
70-
65
71-
65
72-
65
73-
65
43+
└── PhysicalEmptyRelation { produce_one_row: false }
7444
*/
7545

0 commit comments

Comments
 (0)