Skip to content

Commit 2ddd204

Browse files
committed
expect_plan matches the EXPLAIN display
1 parent 9bc255b commit 2ddd204

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎benchmarks/sql_benchmarks/pwmj/pwmj.benchmark.template‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,9 @@ ${EXPECTED_ROWS}
3838

3939
# Pin the operator and the join type: the flag only permits PWMJ, and a planner
4040
# that swapped the inputs would measure the mirrored join. `expect_plan` matches
41-
# the plan's `Debug` output, so the fields are checked one at a time.
42-
expect_plan PiecewiseMergeJoinExec
43-
44-
expect_plan operator: Lt,
45-
46-
expect_plan join_type: ${JOIN_KIND},
41+
# the plan as `EXPLAIN` displays it; the trailing comma keeps `Left` from
42+
# matching `LeftSemi`/`LeftAnti`/`LeftMark`.
43+
expect_plan PiecewiseMergeJoin: operator=Lt, join_type=${JOIN_KIND},
4744

4845
run
4946
SELECT lhs.payload, rhs.payload FROM lhs ${JOIN} JOIN rhs ON lhs.key < rhs.key;

0 commit comments

Comments
 (0)