@@ -1424,8 +1424,8 @@ fn multi_smj_joins() -> Result<()> {
14241424 // Should include 6 RepartitionExecs (3 hash, 3 round-robin), 3 SortExecs
14251425 JoinType :: Inner | JoinType :: Left | JoinType :: LeftSemi | JoinType :: LeftAnti => {
14261426 assert_plan!( plan_distrib, @r"
1427- SortMergeJoin : join_type=..., on=[(a@0, c@2)]
1428- SortMergeJoin : join_type=..., on=[(a@0, b1@1)]
1427+ SortMergeJoinExec : join_type=..., on=[(a@0, c@2)]
1428+ SortMergeJoinExec : join_type=..., on=[(a@0, b1@1)]
14291429 SortExec: expr=[a@0 ASC], preserve_partitioning=[true]
14301430 RepartitionExec: partitioning=Hash([a@0], 10), input_partitions=1
14311431 DataSourceExec: file_groups={1 group: [[x]]}, projection=[a, b, c, d, e], file_type=parquet
@@ -1439,20 +1439,20 @@ fn multi_smj_joins() -> Result<()> {
14391439 " ) ;
14401440 }
14411441 // Should include 7 RepartitionExecs (4 hash, 3 round-robin), 4 SortExecs
1442- // Since ordering of the left child is not preserved after SortMergeJoin
1442+ // Since ordering of the left child is not preserved after SortMergeJoinExec
14431443 // when mode is Right, RightSemi, RightAnti, Full
1444- // - We need to add one additional SortExec after SortMergeJoin in contrast the test cases
1444+ // - We need to add one additional SortExec after SortMergeJoinExec in contrast the test cases
14451445 // when mode is Inner, Left, LeftSemi, LeftAnti
14461446 // Similarly, since partitioning of the left side is not preserved
14471447 // when mode is Right, RightSemi, RightAnti, Full
1448- // - We need to add one additional Hash Repartition after SortMergeJoin in contrast the test
1448+ // - We need to add one additional Hash Repartition after SortMergeJoinExec in contrast the test
14491449 // cases when mode is Inner, Left, LeftSemi, LeftAnti
14501450 _ => {
14511451 assert_plan!( plan_distrib, @r"
1452- SortMergeJoin : join_type=..., on=[(a@0, c@2)]
1452+ SortMergeJoinExec : join_type=..., on=[(a@0, c@2)]
14531453 SortExec: expr=[a@0 ASC], preserve_partitioning=[true]
14541454 RepartitionExec: partitioning=Hash([a@0], 10), input_partitions=10
1455- SortMergeJoin : join_type=..., on=[(a@0, b1@1)]
1455+ SortMergeJoinExec : join_type=..., on=[(a@0, b1@1)]
14561456 SortExec: expr=[a@0 ASC], preserve_partitioning=[true]
14571457 RepartitionExec: partitioning=Hash([a@0], 10), input_partitions=1
14581458 DataSourceExec: file_groups={1 group: [[x]]}, projection=[a, b, c, d, e], file_type=parquet
@@ -1474,8 +1474,8 @@ fn multi_smj_joins() -> Result<()> {
14741474 JoinType :: Inner | JoinType :: Left | JoinType :: LeftSemi | JoinType :: LeftAnti => {
14751475 // TODO(wiedld): show different test result if enforce distribution first.
14761476 assert_plan!( plan_sort, @r"
1477- SortMergeJoin : join_type=..., on=[(a@0, c@2)]
1478- SortMergeJoin : join_type=..., on=[(a@0, b1@1)]
1477+ SortMergeJoinExec : join_type=..., on=[(a@0, c@2)]
1478+ SortMergeJoinExec : join_type=..., on=[(a@0, b1@1)]
14791479 RepartitionExec: partitioning=Hash([a@0], 10), input_partitions=1, maintains_sort_order=true
14801480 SortExec: expr=[a@0 ASC], preserve_partitioning=[false]
14811481 DataSourceExec: file_groups={1 group: [[x]]}, projection=[a, b, c, d, e], file_type=parquet
@@ -1489,22 +1489,22 @@ fn multi_smj_joins() -> Result<()> {
14891489 " ) ;
14901490 }
14911491 // Should include 8 RepartitionExecs (4 hash, 8 round-robin), 4 SortExecs
1492- // Since ordering of the left child is not preserved after SortMergeJoin
1492+ // Since ordering of the left child is not preserved after SortMergeJoinExec
14931493 // when mode is Right, RightSemi, RightAnti, Full
1494- // - We need to add one additional SortExec after SortMergeJoin in contrast the test cases
1494+ // - We need to add one additional SortExec after SortMergeJoinExec in contrast the test cases
14951495 // when mode is Inner, Left, LeftSemi, LeftAnti
14961496 // Similarly, since partitioning of the left side is not preserved
14971497 // when mode is Right, RightSemi, RightAnti, Full
14981498 // - We need to add one additional Hash Repartition and Roundrobin repartition after
1499- // SortMergeJoin in contrast the test cases when mode is Inner, Left, LeftSemi, LeftAnti
1499+ // SortMergeJoinExec in contrast the test cases when mode is Inner, Left, LeftSemi, LeftAnti
15001500 _ => {
15011501 // TODO(wiedld): show different test result if enforce distribution first.
15021502 assert_plan!( plan_sort, @r"
1503- SortMergeJoin : join_type=..., on=[(a@0, c@2)]
1503+ SortMergeJoinExec : join_type=..., on=[(a@0, c@2)]
15041504 RepartitionExec: partitioning=Hash([a@0], 10), input_partitions=1, maintains_sort_order=true
15051505 SortExec: expr=[a@0 ASC], preserve_partitioning=[false]
15061506 CoalescePartitionsExec
1507- SortMergeJoin : join_type=..., on=[(a@0, b1@1)]
1507+ SortMergeJoinExec : join_type=..., on=[(a@0, b1@1)]
15081508 RepartitionExec: partitioning=Hash([a@0], 10), input_partitions=1, maintains_sort_order=true
15091509 SortExec: expr=[a@0 ASC], preserve_partitioning=[false]
15101510 DataSourceExec: file_groups={1 group: [[x]]}, projection=[a, b, c, d, e], file_type=parquet
@@ -1536,8 +1536,8 @@ fn multi_smj_joins() -> Result<()> {
15361536 JoinType :: Inner | JoinType :: Right => {
15371537 // TODO(wiedld): show different test result if enforce sorting first.
15381538 assert_plan!( plan_distrib, @r"
1539- SortMergeJoin : join_type=..., on=[(b1@6, c@2)]
1540- SortMergeJoin : join_type=..., on=[(a@0, b1@1)]
1539+ SortMergeJoinExec : join_type=..., on=[(b1@6, c@2)]
1540+ SortMergeJoinExec : join_type=..., on=[(a@0, b1@1)]
15411541 SortExec: expr=[a@0 ASC], preserve_partitioning=[true]
15421542 RepartitionExec: partitioning=Hash([a@0], 10), input_partitions=1
15431543 DataSourceExec: file_groups={1 group: [[x]]}, projection=[a, b, c, d, e], file_type=parquet
@@ -1554,10 +1554,10 @@ fn multi_smj_joins() -> Result<()> {
15541554 JoinType :: Left | JoinType :: Full => {
15551555 // TODO(wiedld): show different test result if enforce sorting first.
15561556 assert_plan!( plan_distrib, @r"
1557- SortMergeJoin : join_type=..., on=[(b1@6, c@2)]
1557+ SortMergeJoinExec : join_type=..., on=[(b1@6, c@2)]
15581558 SortExec: expr=[b1@6 ASC], preserve_partitioning=[true]
15591559 RepartitionExec: partitioning=Hash([b1@6], 10), input_partitions=10
1560- SortMergeJoin : join_type=..., on=[(a@0, b1@1)]
1560+ SortMergeJoinExec : join_type=..., on=[(a@0, b1@1)]
15611561 SortExec: expr=[a@0 ASC], preserve_partitioning=[true]
15621562 RepartitionExec: partitioning=Hash([a@0], 10), input_partitions=1
15631563 DataSourceExec: file_groups={1 group: [[x]]}, projection=[a, b, c, d, e], file_type=parquet
@@ -1581,8 +1581,8 @@ fn multi_smj_joins() -> Result<()> {
15811581 JoinType :: Inner | JoinType :: Right => {
15821582 // TODO(wiedld): show different test result if enforce distribution first.
15831583 assert_plan!( plan_sort, @r"
1584- SortMergeJoin : join_type=..., on=[(b1@6, c@2)]
1585- SortMergeJoin : join_type=..., on=[(a@0, b1@1)]
1584+ SortMergeJoinExec : join_type=..., on=[(b1@6, c@2)]
1585+ SortMergeJoinExec : join_type=..., on=[(a@0, b1@1)]
15861586 RepartitionExec: partitioning=Hash([a@0], 10), input_partitions=1, maintains_sort_order=true
15871587 SortExec: expr=[a@0 ASC], preserve_partitioning=[false]
15881588 DataSourceExec: file_groups={1 group: [[x]]}, projection=[a, b, c, d, e], file_type=parquet
@@ -1599,11 +1599,11 @@ fn multi_smj_joins() -> Result<()> {
15991599 JoinType :: Left | JoinType :: Full => {
16001600 // TODO(wiedld): show different test result if enforce distribution first.
16011601 assert_plan!( plan_sort, @r"
1602- SortMergeJoin : join_type=..., on=[(b1@6, c@2)]
1602+ SortMergeJoinExec : join_type=..., on=[(b1@6, c@2)]
16031603 RepartitionExec: partitioning=Hash([b1@6], 10), input_partitions=1, maintains_sort_order=true
16041604 SortExec: expr=[b1@6 ASC], preserve_partitioning=[false]
16051605 CoalescePartitionsExec
1606- SortMergeJoin : join_type=..., on=[(a@0, b1@1)]
1606+ SortMergeJoinExec : join_type=..., on=[(a@0, b1@1)]
16071607 RepartitionExec: partitioning=Hash([a@0], 10), input_partitions=1, maintains_sort_order=true
16081608 SortExec: expr=[a@0 ASC], preserve_partitioning=[false]
16091609 DataSourceExec: file_groups={1 group: [[x]]}, projection=[a, b, c, d, e], file_type=parquet
@@ -1682,7 +1682,7 @@ fn smj_join_key_ordering() -> Result<()> {
16821682 // Only two RepartitionExecs added
16831683 let plan_distrib = test_config. to_plan ( join. clone ( ) , & DISTRIB_DISTRIB_SORT ) ;
16841684 assert_plan ! ( plan_distrib, @r"
1685- SortMergeJoin : join_type=Inner, on=[(b3@1, b2@1), (a3@0, a2@0)]
1685+ SortMergeJoinExec : join_type=Inner, on=[(b3@1, b2@1), (a3@0, a2@0)]
16861686 SortExec: expr=[b3@1 ASC, a3@0 ASC], preserve_partitioning=[true]
16871687 ProjectionExec: expr=[a1@0 as a3, b1@1 as b3]
16881688 ProjectionExec: expr=[a1@1 as a1, b1@0 as b1]
@@ -1703,7 +1703,7 @@ fn smj_join_key_ordering() -> Result<()> {
17031703 // Test: result IS DIFFERENT, if EnforceSorting is run first:
17041704 let plan_sort = test_config. to_plan ( join, & SORT_DISTRIB_DISTRIB ) ;
17051705 assert_plan ! ( plan_sort, @r"
1706- SortMergeJoin : join_type=Inner, on=[(b3@1, b2@1), (a3@0, a2@0)]
1706+ SortMergeJoinExec : join_type=Inner, on=[(b3@1, b2@1), (a3@0, a2@0)]
17071707 RepartitionExec: partitioning=Hash([b3@1, a3@0], 10), input_partitions=1, maintains_sort_order=true
17081708 SortExec: expr=[b3@1 ASC, a3@0 ASC], preserve_partitioning=[false]
17091709 CoalescePartitionsExec
0 commit comments