diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/10.txt index c0153da0cda9..512aa92207cd 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/10.txt @@ -12,11 +12,11 @@ AdaptiveSparkPlan (67) +- ^ ProjectExecTransformer (33) +- ^ FlushableHashAggregateExecTransformer (32) +- ^ ProjectExecTransformer (31) - +- ^ BroadcastHashJoinExecTransformer Inner (30) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (30) :- ^ ProjectExecTransformer (22) - : +- ^ BroadcastHashJoinExecTransformer Inner (21) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) : :- ^ ProjectExecTransformer (12) - : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) : : :- ^ NoopFilter (2) : : : +- ^ Scan parquet (1) : : +- ^ InputIteratorTransformer (10) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/11.txt index 219d4b7c14de..a330846ccf90 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/11.txt @@ -16,9 +16,9 @@ AdaptiveSparkPlan (58) +- ^ ProjectExecTransformer (23) +- ^ FlushableHashAggregateExecTransformer (22) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) :- ^ ProjectExecTransformer (11) - : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) : :- ^ NoopFilter (2) : : +- ^ Scan parquet (1) : +- ^ InputIteratorTransformer (9) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/12.txt index 985cbf4c3c59..dea6e04c33ff 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (42) +- ^ ProjectExecTransformer (14) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/13.txt index 4a3a239381ca..82786dc4457b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/13.txt @@ -23,7 +23,7 @@ AdaptiveSparkPlan (52) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer LeftOuter (10) + +- ^ BroadcastHashJoinExecTransformer LeftOuter BuildRight (10) :- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) +- ^ InputAdapter (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/14.txt index ee1fe0a3316c..7de47d57f6fd 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/14.txt @@ -10,7 +10,7 @@ AdaptiveSparkPlan (34) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ NoopFilter (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/15.txt index 076e82bd53e3..c16f304be090 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/15.txt @@ -8,7 +8,7 @@ AdaptiveSparkPlan (44) +- ^ ShuffleQueryStage (24) +- ColumnarExchange (23) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (20) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/16.txt index 603ea771b167..08eb4f850f22 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (56) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer Inner (10) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) :- ^ NoopFilter (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/18.txt index c294e8e6dac1..8dd094081ad3 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/18.txt @@ -11,16 +11,16 @@ AdaptiveSparkPlan (86) +- ^ ProjectExecTransformer (44) +- ^ FlushableHashAggregateExecTransformer (43) +- ^ ProjectExecTransformer (42) - +- ^ BroadcastHashJoinExecTransformer Inner (41) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (41) :- ^ ProjectExecTransformer (28) - : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : :- ^ InputIteratorTransformer (7) : : +- ^ InputAdapter (6) : : +- ^ BroadcastQueryStage (5) : : +- ColumnarBroadcastExchange (4) : : +- ^ NoopFilter (2) : : +- ^ Scan parquet (1) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (26) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (26) : :- ^ NoopFilter (9) : : +- ^ Scan parquet (8) : +- ^ InputIteratorTransformer (25) @@ -41,7 +41,7 @@ AdaptiveSparkPlan (86) +- ^ InputAdapter (39) +- ^ BroadcastQueryStage (38) +- ColumnarBroadcastExchange (37) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (35) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (35) :- ^ NoopFilter (30) : +- ^ Scan parquet (29) +- ^ InputIteratorTransformer (34) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/19.txt index 267ae6add0ac..289def220b08 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/19.txt @@ -9,7 +9,7 @@ AdaptiveSparkPlan (33) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ NoopFilter (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/20.txt index 1b4522028bb4..71889beea972 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/20.txt @@ -8,9 +8,9 @@ AdaptiveSparkPlan (107) +- ^ ShuffleQueryStage (65) +- ColumnarExchange (64) +- ^ ProjectExecTransformer (62) - +- ^ BroadcastHashJoinExecTransformer Inner (61) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (61) :- ^ ProjectExecTransformer (52) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (51) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (51) : :- ^ InputIteratorTransformer (9) : : +- ^ InputAdapter (8) : : +- ^ AQEShuffleRead (7) @@ -24,12 +24,12 @@ AdaptiveSparkPlan (107) : +- ^ BroadcastQueryStage (48) : +- ColumnarBroadcastExchange (47) : +- ^ ProjectExecTransformer (45) - : +- ^ BroadcastHashJoinExecTransformer Inner (44) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (44) : :- ^ InputIteratorTransformer (25) : : +- ^ InputAdapter (24) : : +- ^ BroadcastQueryStage (23) : : +- ColumnarBroadcastExchange (22) - : : +- ^ BroadcastHashJoinExecTransformer LeftSemi (20) + : : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (20) : : :- ^ NoopFilter (11) : : : +- ^ Scan parquet (10) : : +- ^ InputIteratorTransformer (19) @@ -48,7 +48,7 @@ AdaptiveSparkPlan (107) : +- ColumnarExchange (37) : +- ^ ProjectExecTransformer (35) : +- ^ FlushableHashAggregateExecTransformer (34) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (33) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (33) : :- ^ ProjectExecTransformer (28) : : +- ^ NoopFilter (27) : : +- ^ Scan parquet (26) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/21.txt index 9c09032689eb..bd977b45da55 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/21.txt @@ -11,19 +11,19 @@ AdaptiveSparkPlan (92) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (28) - : : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : : :- ^ InputIteratorTransformer (7) : : : +- ^ InputAdapter (6) : : : +- ^ BroadcastQueryStage (5) : : : +- ColumnarBroadcastExchange (4) : : : +- ^ NoopFilter (2) : : : +- ^ Scan parquet (1) - : : +- ^ BroadcastHashJoinExecTransformer LeftAnti (26) - : : :- ^ BroadcastHashJoinExecTransformer LeftSemi (17) + : : +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (26) + : : :- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (17) : : : :- ^ ProjectExecTransformer (10) : : : : +- ^ NoopFilter (9) : : : : +- ^ Scan parquet (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/22.txt index 3dc92be2d96e..4b7d882ca23e 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (38) +- ^ ProjectExecTransformer (12) +- ^ FlushableHashAggregateExecTransformer (11) +- ^ ProjectExecTransformer (10) - +- ^ BroadcastHashJoinExecTransformer LeftAnti (9) + +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (9) :- ^ NoopFilter (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/3.txt index f962dbdd765f..e5f266cc71f3 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/3.txt @@ -12,9 +12,9 @@ AdaptiveSparkPlan (53) +- ^ ProjectExecTransformer (24) +- ^ FlushableHashAggregateExecTransformer (23) +- ^ ProjectExecTransformer (22) - +- ^ BroadcastHashJoinExecTransformer Inner (21) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) :- ^ ProjectExecTransformer (12) - : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ BroadcastQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/4.txt index e50973eb5abf..2bb4d8907de7 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (44) +- ^ ProjectExecTransformer (15) +- ^ FlushableHashAggregateExecTransformer (14) +- ^ ProjectExecTransformer (13) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (12) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (12) :- ^ ProjectExecTransformer (3) : +- ^ NoopFilter (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/5.txt index 274c176ff8c8..6ce90735fbeb 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/5.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (100) +- ^ ProjectExecTransformer (51) +- ^ FlushableHashAggregateExecTransformer (50) +- ^ ProjectExecTransformer (49) - +- ^ BroadcastHashJoinExecTransformer Inner (48) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (48) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/7.txt index 3d5b6496fe27..ae4b171974b1 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/7.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (93) +- ^ ProjectExecTransformer (46) +- ^ FlushableHashAggregateExecTransformer (45) +- ^ ProjectExecTransformer (44) - +- ^ BroadcastHashJoinExecTransformer Inner (43) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (43) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (29) - : : +- ^ BroadcastHashJoinExecTransformer Inner (28) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (28) : : :- ^ ProjectExecTransformer (20) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (19) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (19) : : : :- ^ ProjectExecTransformer (11) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (10) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/8.txt index 9489452b5272..ce470033eb1d 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/8.txt @@ -16,19 +16,19 @@ AdaptiveSparkPlan (129) +- ^ ProjectExecTransformer (69) +- ^ FlushableHashAggregateExecTransformer (68) +- ^ ProjectExecTransformer (67) - +- ^ BroadcastHashJoinExecTransformer Inner (66) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (66) :- ^ ProjectExecTransformer (57) - : +- ^ BroadcastHashJoinExecTransformer Inner (56) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (56) : :- ^ ProjectExecTransformer (48) - : : +- ^ BroadcastHashJoinExecTransformer Inner (47) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) : : :- ^ ProjectExecTransformer (39) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : : : :- ^ ProjectExecTransformer (30) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : : : :- ^ ProjectExecTransformer (21) - : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : : : :- ^ ProjectExecTransformer (12) - : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ BroadcastQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/9.txt index 29e6d2f72f57..3744b8895539 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark32/9.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (98) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ BroadcastQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/10.txt index 276588749734..0c1832920c86 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/10.txt @@ -12,11 +12,11 @@ AdaptiveSparkPlan (67) +- ^ ProjectExecTransformer (33) +- ^ FlushableHashAggregateExecTransformer (32) +- ^ ProjectExecTransformer (31) - +- ^ BroadcastHashJoinExecTransformer Inner (30) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (30) :- ^ ProjectExecTransformer (22) - : +- ^ BroadcastHashJoinExecTransformer Inner (21) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) : :- ^ ProjectExecTransformer (12) - : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) : : :- ^ NoopFilter (2) : : : +- ^ Scan parquet (1) : : +- ^ InputIteratorTransformer (10) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/11.txt index 54f535dfbfb6..b66d0bb6a930 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/11.txt @@ -16,9 +16,9 @@ AdaptiveSparkPlan (58) +- ^ ProjectExecTransformer (23) +- ^ FlushableHashAggregateExecTransformer (22) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) :- ^ ProjectExecTransformer (11) - : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) : :- ^ NoopFilter (2) : : +- ^ Scan parquet (1) : +- ^ InputIteratorTransformer (9) @@ -327,9 +327,9 @@ AdaptiveSparkPlan (99) +- ColumnarExchange (75) +- ^ FlushableHashAggregateExecTransformer (73) +- ^ ProjectExecTransformer (72) - +- ^ BroadcastHashJoinExecTransformer Inner (71) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (71) :- ^ ProjectExecTransformer (66) - : +- ^ BroadcastHashJoinExecTransformer Inner (65) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (65) : :- ^ NoopFilter (60) : : +- ^ Scan parquet (59) : +- ^ InputIteratorTransformer (64) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/12.txt index 1f1fcd3fb577..073b9de3885e 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (42) +- ^ ProjectExecTransformer (14) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/13.txt index e67819b82860..baa569ccebe9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/13.txt @@ -23,7 +23,7 @@ AdaptiveSparkPlan (52) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer LeftOuter (10) + +- ^ BroadcastHashJoinExecTransformer LeftOuter BuildRight (10) :- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) +- ^ InputAdapter (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/14.txt index eb04b6c18271..699ef76d14e6 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/14.txt @@ -10,7 +10,7 @@ AdaptiveSparkPlan (34) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ NoopFilter (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/15.txt index 5c6304211102..fdb22283555b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/15.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (41) +- ShuffleQueryStage (24), Statistics(X) +- ColumnarExchange (23) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (20) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/16.txt index 9a4005e3da85..05b0b2f9723a 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (56) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer Inner (10) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) :- ^ NoopFilter (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/18.txt index 5a941687c525..c21e377b0153 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/18.txt @@ -11,16 +11,16 @@ AdaptiveSparkPlan (86) +- ^ ProjectExecTransformer (44) +- ^ FlushableHashAggregateExecTransformer (43) +- ^ ProjectExecTransformer (42) - +- ^ BroadcastHashJoinExecTransformer Inner (41) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (41) :- ^ ProjectExecTransformer (28) - : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : :- ^ InputIteratorTransformer (7) : : +- ^ InputAdapter (6) : : +- ^ BroadcastQueryStage (5), Statistics(X) : : +- ColumnarBroadcastExchange (4) : : +- ^ NoopFilter (2) : : +- ^ Scan parquet (1) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (26) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (26) : :- ^ NoopFilter (9) : : +- ^ Scan parquet (8) : +- ^ InputIteratorTransformer (25) @@ -41,7 +41,7 @@ AdaptiveSparkPlan (86) +- ^ InputAdapter (39) +- ^ BroadcastQueryStage (38), Statistics(X) +- ColumnarBroadcastExchange (37) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (35) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (35) :- ^ NoopFilter (30) : +- ^ Scan parquet (29) +- ^ InputIteratorTransformer (34) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/19.txt index 244f1c6ffd89..bce0e46e72dc 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/19.txt @@ -9,7 +9,7 @@ AdaptiveSparkPlan (33) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ NoopFilter (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/20.txt index fd6deaabc6f5..d4aec5f07beb 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/20.txt @@ -6,9 +6,9 @@ AdaptiveSparkPlan (104) +- ShuffleQueryStage (65), Statistics(X) +- ColumnarExchange (64) +- ^ ProjectExecTransformer (62) - +- ^ BroadcastHashJoinExecTransformer Inner (61) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (61) :- ^ ProjectExecTransformer (52) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (51) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (51) : :- ^ InputIteratorTransformer (9) : : +- ^ InputAdapter (8) : : +- ^ AQEShuffleRead (7) @@ -22,12 +22,12 @@ AdaptiveSparkPlan (104) : +- ^ BroadcastQueryStage (48), Statistics(X) : +- ColumnarBroadcastExchange (47) : +- ^ ProjectExecTransformer (45) - : +- ^ BroadcastHashJoinExecTransformer Inner (44) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (44) : :- ^ InputIteratorTransformer (25) : : +- ^ InputAdapter (24) : : +- ^ BroadcastQueryStage (23), Statistics(X) : : +- ColumnarBroadcastExchange (22) - : : +- ^ BroadcastHashJoinExecTransformer LeftSemi (20) + : : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (20) : : :- ^ NoopFilter (11) : : : +- ^ Scan parquet (10) : : +- ^ InputIteratorTransformer (19) @@ -46,7 +46,7 @@ AdaptiveSparkPlan (104) : +- ColumnarExchange (37) : +- ^ ProjectExecTransformer (35) : +- ^ FlushableHashAggregateExecTransformer (34) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (33) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (33) : :- ^ ProjectExecTransformer (28) : : +- ^ NoopFilter (27) : : +- ^ Scan parquet (26) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/21.txt index ac047fdbcabf..361860c7486b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/21.txt @@ -10,19 +10,19 @@ AdaptiveSparkPlan (91) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (28) - : : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : : :- ^ InputIteratorTransformer (7) : : : +- ^ InputAdapter (6) : : : +- ^ BroadcastQueryStage (5), Statistics(X) : : : +- ColumnarBroadcastExchange (4) : : : +- ^ NoopFilter (2) : : : +- ^ Scan parquet (1) - : : +- ^ BroadcastHashJoinExecTransformer LeftAnti (26) - : : :- ^ BroadcastHashJoinExecTransformer LeftSemi (17) + : : +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (26) + : : :- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (17) : : : :- ^ ProjectExecTransformer (10) : : : : +- ^ NoopFilter (9) : : : : +- ^ Scan parquet (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/22.txt index 3306ea6b2fd9..c0a11106bbf9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (38) +- ^ ProjectExecTransformer (12) +- ^ FlushableHashAggregateExecTransformer (11) +- ^ ProjectExecTransformer (10) - +- ^ BroadcastHashJoinExecTransformer LeftAnti (9) + +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (9) :- ^ NoopFilter (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/3.txt index 0bcfb2c8228d..153e81420430 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/3.txt @@ -12,9 +12,9 @@ AdaptiveSparkPlan (53) +- ^ ProjectExecTransformer (24) +- ^ FlushableHashAggregateExecTransformer (23) +- ^ ProjectExecTransformer (22) - +- ^ BroadcastHashJoinExecTransformer Inner (21) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) :- ^ ProjectExecTransformer (12) - : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/4.txt index b547b4051bcf..ccb61f1c6cd3 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (44) +- ^ ProjectExecTransformer (15) +- ^ FlushableHashAggregateExecTransformer (14) +- ^ ProjectExecTransformer (13) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (12) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (12) :- ^ ProjectExecTransformer (3) : +- ^ NoopFilter (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/5.txt index a87ef7c618c0..b12ece606bc2 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/5.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (100) +- ^ ProjectExecTransformer (51) +- ^ FlushableHashAggregateExecTransformer (50) +- ^ ProjectExecTransformer (49) - +- ^ BroadcastHashJoinExecTransformer Inner (48) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (48) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/7.txt index 37e9e5214256..3fec6f0c8b2c 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/7.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (93) +- ^ ProjectExecTransformer (46) +- ^ FlushableHashAggregateExecTransformer (45) +- ^ ProjectExecTransformer (44) - +- ^ BroadcastHashJoinExecTransformer Inner (43) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (43) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (29) - : : +- ^ BroadcastHashJoinExecTransformer Inner (28) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (28) : : :- ^ ProjectExecTransformer (20) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (19) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (19) : : : :- ^ ProjectExecTransformer (11) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (10) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/8.txt index 9b490b9ba436..da6e7a768f23 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/8.txt @@ -16,19 +16,19 @@ AdaptiveSparkPlan (129) +- ^ ProjectExecTransformer (69) +- ^ FlushableHashAggregateExecTransformer (68) +- ^ ProjectExecTransformer (67) - +- ^ BroadcastHashJoinExecTransformer Inner (66) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (66) :- ^ ProjectExecTransformer (57) - : +- ^ BroadcastHashJoinExecTransformer Inner (56) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (56) : :- ^ ProjectExecTransformer (48) - : : +- ^ BroadcastHashJoinExecTransformer Inner (47) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) : : :- ^ ProjectExecTransformer (39) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : : : :- ^ ProjectExecTransformer (30) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : : : :- ^ ProjectExecTransformer (21) - : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : : : :- ^ ProjectExecTransformer (12) - : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/9.txt index 8523cbeff2ab..6e93f3a79f22 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark33/9.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (98) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/10.txt index 276a885015d0..b917f359d1a7 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/10.txt @@ -12,11 +12,11 @@ AdaptiveSparkPlan (67) +- ^ ProjectExecTransformer (33) +- ^ FlushableHashAggregateExecTransformer (32) +- ^ ProjectExecTransformer (31) - +- ^ BroadcastHashJoinExecTransformer Inner (30) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (30) :- ^ ProjectExecTransformer (22) - : +- ^ BroadcastHashJoinExecTransformer Inner (21) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) : :- ^ ProjectExecTransformer (12) - : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) : : :- ^ NoopFilter (2) : : : +- ^ Scan parquet (1) : : +- ^ InputIteratorTransformer (10) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/11.txt index f8d59a67a22b..50c599a3b051 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/11.txt @@ -16,9 +16,9 @@ AdaptiveSparkPlan (58) +- ^ ProjectExecTransformer (23) +- ^ FlushableHashAggregateExecTransformer (22) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) :- ^ ProjectExecTransformer (11) - : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) : :- ^ NoopFilter (2) : : +- ^ Scan parquet (1) : +- ^ InputIteratorTransformer (9) @@ -331,9 +331,9 @@ AdaptiveSparkPlan (99) +- ColumnarExchange (75) +- ^ FlushableHashAggregateExecTransformer (73) +- ^ ProjectExecTransformer (72) - +- ^ BroadcastHashJoinExecTransformer Inner (71) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (71) :- ^ ProjectExecTransformer (66) - : +- ^ BroadcastHashJoinExecTransformer Inner (65) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (65) : :- ^ NoopFilter (60) : : +- ^ Scan parquet (59) : +- ^ InputIteratorTransformer (64) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/12.txt index 9e142ea961f5..c57f98c1ff85 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (42) +- ^ ProjectExecTransformer (14) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/13.txt index 9841ce1395e1..b29e27ae092b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/13.txt @@ -23,7 +23,7 @@ AdaptiveSparkPlan (52) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer LeftOuter (10) + +- ^ BroadcastHashJoinExecTransformer LeftOuter BuildRight (10) :- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) +- ^ InputAdapter (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/14.txt index fe13deb40500..4b3e5634106f 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/14.txt @@ -10,7 +10,7 @@ AdaptiveSparkPlan (34) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ NoopFilter (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/15.txt index 4b761198f3e3..27eec9ac6340 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/15.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (41) +- ShuffleQueryStage (24), Statistics(X) +- ColumnarExchange (23) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (20) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/16.txt index f178803b43e9..fdec20383624 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (56) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer Inner (10) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) :- ^ NoopFilter (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/18.txt index 2484955032d0..66819677c834 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/18.txt @@ -11,16 +11,16 @@ AdaptiveSparkPlan (86) +- ^ ProjectExecTransformer (44) +- ^ FlushableHashAggregateExecTransformer (43) +- ^ ProjectExecTransformer (42) - +- ^ BroadcastHashJoinExecTransformer Inner (41) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (41) :- ^ ProjectExecTransformer (28) - : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : :- ^ InputIteratorTransformer (7) : : +- ^ InputAdapter (6) : : +- ^ BroadcastQueryStage (5), Statistics(X) : : +- ColumnarBroadcastExchange (4) : : +- ^ NoopFilter (2) : : +- ^ Scan parquet (1) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (26) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (26) : :- ^ NoopFilter (9) : : +- ^ Scan parquet (8) : +- ^ InputIteratorTransformer (25) @@ -41,7 +41,7 @@ AdaptiveSparkPlan (86) +- ^ InputAdapter (39) +- ^ BroadcastQueryStage (38), Statistics(X) +- ColumnarBroadcastExchange (37) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (35) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (35) :- ^ NoopFilter (30) : +- ^ Scan parquet (29) +- ^ InputIteratorTransformer (34) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/19.txt index 1a2a13c21db8..9b8041d6e824 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/19.txt @@ -9,7 +9,7 @@ AdaptiveSparkPlan (33) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ NoopFilter (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/20.txt index ed40d3bbe23d..e1724af1c30c 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/20.txt @@ -6,9 +6,9 @@ AdaptiveSparkPlan (96) +- ShuffleQueryStage (58), Statistics(X) +- ColumnarExchange (57) +- ^ ProjectExecTransformer (55) - +- ^ BroadcastHashJoinExecTransformer Inner (54) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (54) :- ^ ProjectExecTransformer (45) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (44) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (44) : :- ^ NoopFilter (2) : : +- ^ Scan parquet (1) : +- ^ InputIteratorTransformer (43) @@ -16,12 +16,12 @@ AdaptiveSparkPlan (96) : +- ^ BroadcastQueryStage (41), Statistics(X) : +- ColumnarBroadcastExchange (40) : +- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (37) : :- ^ InputIteratorTransformer (18) : : +- ^ InputAdapter (17) : : +- ^ BroadcastQueryStage (16), Statistics(X) : : +- ColumnarBroadcastExchange (15) - : : +- ^ BroadcastHashJoinExecTransformer LeftSemi (13) + : : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (13) : : :- ^ NoopFilter (4) : : : +- ^ Scan parquet (3) : : +- ^ InputIteratorTransformer (12) @@ -40,7 +40,7 @@ AdaptiveSparkPlan (96) : +- ColumnarExchange (30) : +- ^ ProjectExecTransformer (28) : +- ^ FlushableHashAggregateExecTransformer (27) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (26) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (26) : :- ^ ProjectExecTransformer (21) : : +- ^ NoopFilter (20) : : +- ^ Scan parquet (19) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/21.txt index d0b14137ca5a..c418b8c4fba4 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/21.txt @@ -10,19 +10,19 @@ AdaptiveSparkPlan (91) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (28) - : : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : : :- ^ InputIteratorTransformer (7) : : : +- ^ InputAdapter (6) : : : +- ^ BroadcastQueryStage (5), Statistics(X) : : : +- ColumnarBroadcastExchange (4) : : : +- ^ NoopFilter (2) : : : +- ^ Scan parquet (1) - : : +- ^ BroadcastHashJoinExecTransformer LeftAnti (26) - : : :- ^ BroadcastHashJoinExecTransformer LeftSemi (17) + : : +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (26) + : : :- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (17) : : : :- ^ ProjectExecTransformer (10) : : : : +- ^ NoopFilter (9) : : : : +- ^ Scan parquet (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/22.txt index 698879c473b6..953ec6a34a55 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (38) +- ^ ProjectExecTransformer (12) +- ^ FlushableHashAggregateExecTransformer (11) +- ^ ProjectExecTransformer (10) - +- ^ BroadcastHashJoinExecTransformer LeftAnti (9) + +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (9) :- ^ NoopFilter (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/3.txt index 98a7cd0e0145..af59560de7d4 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/3.txt @@ -12,9 +12,9 @@ AdaptiveSparkPlan (53) +- ^ ProjectExecTransformer (24) +- ^ FlushableHashAggregateExecTransformer (23) +- ^ ProjectExecTransformer (22) - +- ^ BroadcastHashJoinExecTransformer Inner (21) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) :- ^ ProjectExecTransformer (12) - : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/4.txt index b5fefc6bef3c..1e7d5f6793cf 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (44) +- ^ ProjectExecTransformer (15) +- ^ FlushableHashAggregateExecTransformer (14) +- ^ ProjectExecTransformer (13) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (12) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (12) :- ^ ProjectExecTransformer (3) : +- ^ NoopFilter (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/5.txt index be0403f587f5..170e4d012be3 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/5.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (100) +- ^ ProjectExecTransformer (51) +- ^ FlushableHashAggregateExecTransformer (50) +- ^ ProjectExecTransformer (49) - +- ^ BroadcastHashJoinExecTransformer Inner (48) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (48) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/7.txt index 2ac2968387fd..9b6036312f19 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/7.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (93) +- ^ ProjectExecTransformer (46) +- ^ FlushableHashAggregateExecTransformer (45) +- ^ ProjectExecTransformer (44) - +- ^ BroadcastHashJoinExecTransformer Inner (43) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (43) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (29) - : : +- ^ BroadcastHashJoinExecTransformer Inner (28) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (28) : : :- ^ ProjectExecTransformer (20) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (19) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (19) : : : :- ^ ProjectExecTransformer (11) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (10) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/8.txt index 65906bb96691..48924df3085b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/8.txt @@ -16,19 +16,19 @@ AdaptiveSparkPlan (129) +- ^ ProjectExecTransformer (69) +- ^ FlushableHashAggregateExecTransformer (68) +- ^ ProjectExecTransformer (67) - +- ^ BroadcastHashJoinExecTransformer Inner (66) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (66) :- ^ ProjectExecTransformer (57) - : +- ^ BroadcastHashJoinExecTransformer Inner (56) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (56) : :- ^ ProjectExecTransformer (48) - : : +- ^ BroadcastHashJoinExecTransformer Inner (47) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) : : :- ^ ProjectExecTransformer (39) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : : : :- ^ ProjectExecTransformer (30) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : : : :- ^ ProjectExecTransformer (21) - : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : : : :- ^ ProjectExecTransformer (12) - : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/9.txt index e7abd01744e5..7e7b4390eefe 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj-ras/spark34/9.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (98) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/10.txt index 935650e26059..c6d18d83e37a 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/10.txt @@ -12,11 +12,11 @@ AdaptiveSparkPlan (67) +- ^ ProjectExecTransformer (33) +- ^ FlushableHashAggregateExecTransformer (32) +- ^ ProjectExecTransformer (31) - +- ^ BroadcastHashJoinExecTransformer Inner (30) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (30) :- ^ ProjectExecTransformer (22) - : +- ^ BroadcastHashJoinExecTransformer Inner (21) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) : :- ^ ProjectExecTransformer (12) - : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) : : :- ^ FilterExecTransformer (2) : : : +- ^ Scan parquet (1) : : +- ^ InputIteratorTransformer (10) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/11.txt index 1cc9e9ac278e..c147c286d9cf 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/11.txt @@ -16,9 +16,9 @@ AdaptiveSparkPlan (58) +- ^ ProjectExecTransformer (23) +- ^ FlushableHashAggregateExecTransformer (22) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) :- ^ ProjectExecTransformer (11) - : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) : :- ^ FilterExecTransformer (2) : : +- ^ Scan parquet (1) : +- ^ InputIteratorTransformer (9) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/12.txt index 1d477cbd774e..cdd0b5527b0c 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (42) +- ^ ProjectExecTransformer (14) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/13.txt index 492cfafb1ec1..a0733090396d 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/13.txt @@ -23,7 +23,7 @@ AdaptiveSparkPlan (52) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer LeftOuter (10) + +- ^ BroadcastHashJoinExecTransformer LeftOuter BuildRight (10) :- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) +- ^ InputAdapter (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/14.txt index b564240ff552..567e2ba8fa8f 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/14.txt @@ -10,7 +10,7 @@ AdaptiveSparkPlan (34) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/15.txt index ff632e930f72..1d63d95f9c29 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/15.txt @@ -8,7 +8,7 @@ AdaptiveSparkPlan (44) +- ^ ShuffleQueryStage (24) +- ColumnarExchange (23) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (20) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/16.txt index 06fcb53dfebe..f9c811ab7bd1 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (56) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer Inner (10) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) :- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/18.txt index 32359df26265..53d2e12db19b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/18.txt @@ -11,16 +11,16 @@ AdaptiveSparkPlan (86) +- ^ ProjectExecTransformer (44) +- ^ FlushableHashAggregateExecTransformer (43) +- ^ ProjectExecTransformer (42) - +- ^ BroadcastHashJoinExecTransformer Inner (41) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (41) :- ^ ProjectExecTransformer (28) - : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : :- ^ InputIteratorTransformer (7) : : +- ^ InputAdapter (6) : : +- ^ BroadcastQueryStage (5) : : +- ColumnarBroadcastExchange (4) : : +- ^ FilterExecTransformer (2) : : +- ^ Scan parquet (1) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (26) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (26) : :- ^ FilterExecTransformer (9) : : +- ^ Scan parquet (8) : +- ^ InputIteratorTransformer (25) @@ -41,7 +41,7 @@ AdaptiveSparkPlan (86) +- ^ InputAdapter (39) +- ^ BroadcastQueryStage (38) +- ColumnarBroadcastExchange (37) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (35) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (35) :- ^ FilterExecTransformer (30) : +- ^ Scan parquet (29) +- ^ InputIteratorTransformer (34) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/19.txt index 232c27fb8a9e..15cc941c36de 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/19.txt @@ -9,7 +9,7 @@ AdaptiveSparkPlan (33) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/20.txt index fe2ae1df7cc7..8af0e8b1d511 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/20.txt @@ -8,9 +8,9 @@ AdaptiveSparkPlan (107) +- ^ ShuffleQueryStage (65) +- ColumnarExchange (64) +- ^ ProjectExecTransformer (62) - +- ^ BroadcastHashJoinExecTransformer Inner (61) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (61) :- ^ ProjectExecTransformer (52) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (51) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (51) : :- ^ InputIteratorTransformer (9) : : +- ^ InputAdapter (8) : : +- ^ AQEShuffleRead (7) @@ -24,12 +24,12 @@ AdaptiveSparkPlan (107) : +- ^ BroadcastQueryStage (48) : +- ColumnarBroadcastExchange (47) : +- ^ ProjectExecTransformer (45) - : +- ^ BroadcastHashJoinExecTransformer Inner (44) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (44) : :- ^ InputIteratorTransformer (25) : : +- ^ InputAdapter (24) : : +- ^ BroadcastQueryStage (23) : : +- ColumnarBroadcastExchange (22) - : : +- ^ BroadcastHashJoinExecTransformer LeftSemi (20) + : : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (20) : : :- ^ FilterExecTransformer (11) : : : +- ^ Scan parquet (10) : : +- ^ InputIteratorTransformer (19) @@ -48,7 +48,7 @@ AdaptiveSparkPlan (107) : +- ColumnarExchange (37) : +- ^ ProjectExecTransformer (35) : +- ^ FlushableHashAggregateExecTransformer (34) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (33) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (33) : :- ^ ProjectExecTransformer (28) : : +- ^ FilterExecTransformer (27) : : +- ^ Scan parquet (26) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/21.txt index c3bd62e04735..bf33da8261c8 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/21.txt @@ -11,19 +11,19 @@ AdaptiveSparkPlan (92) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (28) - : : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : : :- ^ InputIteratorTransformer (7) : : : +- ^ InputAdapter (6) : : : +- ^ BroadcastQueryStage (5) : : : +- ColumnarBroadcastExchange (4) : : : +- ^ FilterExecTransformer (2) : : : +- ^ Scan parquet (1) - : : +- ^ BroadcastHashJoinExecTransformer LeftAnti (26) - : : :- ^ BroadcastHashJoinExecTransformer LeftSemi (17) + : : +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (26) + : : :- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (17) : : : :- ^ ProjectExecTransformer (10) : : : : +- ^ FilterExecTransformer (9) : : : : +- ^ Scan parquet (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/22.txt index dff492685686..3723f8f01625 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (38) +- ^ ProjectExecTransformer (12) +- ^ FlushableHashAggregateExecTransformer (11) +- ^ ProjectExecTransformer (10) - +- ^ BroadcastHashJoinExecTransformer LeftAnti (9) + +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (9) :- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/3.txt index 950a881d1ecf..373882a24e57 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/3.txt @@ -12,9 +12,9 @@ AdaptiveSparkPlan (53) +- ^ ProjectExecTransformer (24) +- ^ FlushableHashAggregateExecTransformer (23) +- ^ ProjectExecTransformer (22) - +- ^ BroadcastHashJoinExecTransformer Inner (21) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) :- ^ ProjectExecTransformer (12) - : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ BroadcastQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/4.txt index 3969248bc2ec..adf7259779a5 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (44) +- ^ ProjectExecTransformer (15) +- ^ FlushableHashAggregateExecTransformer (14) +- ^ ProjectExecTransformer (13) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (12) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (12) :- ^ ProjectExecTransformer (3) : +- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/5.txt index 678a52004a3f..cfed4af71090 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/5.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (100) +- ^ ProjectExecTransformer (51) +- ^ FlushableHashAggregateExecTransformer (50) +- ^ ProjectExecTransformer (49) - +- ^ BroadcastHashJoinExecTransformer Inner (48) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (48) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/7.txt index 19b6cc4b8aee..910190a65e0f 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/7.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (93) +- ^ ProjectExecTransformer (46) +- ^ FlushableHashAggregateExecTransformer (45) +- ^ ProjectExecTransformer (44) - +- ^ BroadcastHashJoinExecTransformer Inner (43) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (43) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (29) - : : +- ^ BroadcastHashJoinExecTransformer Inner (28) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (28) : : :- ^ ProjectExecTransformer (20) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (19) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (19) : : : :- ^ ProjectExecTransformer (11) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (10) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/8.txt index 3aa6e39645cc..f16be6bdb2e5 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/8.txt @@ -16,19 +16,19 @@ AdaptiveSparkPlan (129) +- ^ ProjectExecTransformer (69) +- ^ FlushableHashAggregateExecTransformer (68) +- ^ ProjectExecTransformer (67) - +- ^ BroadcastHashJoinExecTransformer Inner (66) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (66) :- ^ ProjectExecTransformer (57) - : +- ^ BroadcastHashJoinExecTransformer Inner (56) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (56) : :- ^ ProjectExecTransformer (48) - : : +- ^ BroadcastHashJoinExecTransformer Inner (47) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) : : :- ^ ProjectExecTransformer (39) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : : : :- ^ ProjectExecTransformer (30) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : : : :- ^ ProjectExecTransformer (21) - : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : : : :- ^ ProjectExecTransformer (12) - : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ BroadcastQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/9.txt index b00947a3e3e0..22233dbc5ae2 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark32/9.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (98) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ BroadcastQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/10.txt index 2977896f3da8..ebb947ebb002 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/10.txt @@ -12,11 +12,11 @@ AdaptiveSparkPlan (67) +- ^ ProjectExecTransformer (33) +- ^ FlushableHashAggregateExecTransformer (32) +- ^ ProjectExecTransformer (31) - +- ^ BroadcastHashJoinExecTransformer Inner (30) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (30) :- ^ ProjectExecTransformer (22) - : +- ^ BroadcastHashJoinExecTransformer Inner (21) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) : :- ^ ProjectExecTransformer (12) - : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) : : :- ^ FilterExecTransformer (2) : : : +- ^ Scan parquet (1) : : +- ^ InputIteratorTransformer (10) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/11.txt index 2a860ed5c063..6ab05c3c2261 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/11.txt @@ -16,9 +16,9 @@ AdaptiveSparkPlan (58) +- ^ ProjectExecTransformer (23) +- ^ FlushableHashAggregateExecTransformer (22) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) :- ^ ProjectExecTransformer (11) - : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) : :- ^ FilterExecTransformer (2) : : +- ^ Scan parquet (1) : +- ^ InputIteratorTransformer (9) @@ -327,9 +327,9 @@ AdaptiveSparkPlan (99) +- ColumnarExchange (75) +- ^ FlushableHashAggregateExecTransformer (73) +- ^ ProjectExecTransformer (72) - +- ^ BroadcastHashJoinExecTransformer Inner (71) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (71) :- ^ ProjectExecTransformer (66) - : +- ^ BroadcastHashJoinExecTransformer Inner (65) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (65) : :- ^ FilterExecTransformer (60) : : +- ^ Scan parquet (59) : +- ^ InputIteratorTransformer (64) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/12.txt index 99576f6e063a..98272b12cebc 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (42) +- ^ ProjectExecTransformer (14) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/13.txt index 8ebeb7d32d52..c1919f2e620d 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/13.txt @@ -23,7 +23,7 @@ AdaptiveSparkPlan (52) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer LeftOuter (10) + +- ^ BroadcastHashJoinExecTransformer LeftOuter BuildRight (10) :- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) +- ^ InputAdapter (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/14.txt index bfba707a5792..17283b824590 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/14.txt @@ -10,7 +10,7 @@ AdaptiveSparkPlan (34) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/15.txt index 06b833361548..ce87f94218ef 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/15.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (41) +- ShuffleQueryStage (24), Statistics(X) +- ColumnarExchange (23) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (20) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/16.txt index af623a3a2f68..6a460d28f171 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (56) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer Inner (10) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) :- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/18.txt index cc13e5f3b886..884bba49cbf3 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/18.txt @@ -11,16 +11,16 @@ AdaptiveSparkPlan (86) +- ^ ProjectExecTransformer (44) +- ^ FlushableHashAggregateExecTransformer (43) +- ^ ProjectExecTransformer (42) - +- ^ BroadcastHashJoinExecTransformer Inner (41) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (41) :- ^ ProjectExecTransformer (28) - : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : :- ^ InputIteratorTransformer (7) : : +- ^ InputAdapter (6) : : +- ^ BroadcastQueryStage (5), Statistics(X) : : +- ColumnarBroadcastExchange (4) : : +- ^ FilterExecTransformer (2) : : +- ^ Scan parquet (1) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (26) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (26) : :- ^ FilterExecTransformer (9) : : +- ^ Scan parquet (8) : +- ^ InputIteratorTransformer (25) @@ -41,7 +41,7 @@ AdaptiveSparkPlan (86) +- ^ InputAdapter (39) +- ^ BroadcastQueryStage (38), Statistics(X) +- ColumnarBroadcastExchange (37) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (35) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (35) :- ^ FilterExecTransformer (30) : +- ^ Scan parquet (29) +- ^ InputIteratorTransformer (34) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/19.txt index 3350a6c3009f..b78310babb5b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/19.txt @@ -9,7 +9,7 @@ AdaptiveSparkPlan (33) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/20.txt index a95115d00b26..f71a534d99d2 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/20.txt @@ -6,9 +6,9 @@ AdaptiveSparkPlan (104) +- ShuffleQueryStage (65), Statistics(X) +- ColumnarExchange (64) +- ^ ProjectExecTransformer (62) - +- ^ BroadcastHashJoinExecTransformer Inner (61) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (61) :- ^ ProjectExecTransformer (52) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (51) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (51) : :- ^ InputIteratorTransformer (9) : : +- ^ InputAdapter (8) : : +- ^ AQEShuffleRead (7) @@ -22,12 +22,12 @@ AdaptiveSparkPlan (104) : +- ^ BroadcastQueryStage (48), Statistics(X) : +- ColumnarBroadcastExchange (47) : +- ^ ProjectExecTransformer (45) - : +- ^ BroadcastHashJoinExecTransformer Inner (44) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (44) : :- ^ InputIteratorTransformer (25) : : +- ^ InputAdapter (24) : : +- ^ BroadcastQueryStage (23), Statistics(X) : : +- ColumnarBroadcastExchange (22) - : : +- ^ BroadcastHashJoinExecTransformer LeftSemi (20) + : : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (20) : : :- ^ FilterExecTransformer (11) : : : +- ^ Scan parquet (10) : : +- ^ InputIteratorTransformer (19) @@ -46,7 +46,7 @@ AdaptiveSparkPlan (104) : +- ColumnarExchange (37) : +- ^ ProjectExecTransformer (35) : +- ^ FlushableHashAggregateExecTransformer (34) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (33) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (33) : :- ^ ProjectExecTransformer (28) : : +- ^ FilterExecTransformer (27) : : +- ^ Scan parquet (26) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/21.txt index 2e1ddb4e0851..46792bf54410 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/21.txt @@ -10,19 +10,19 @@ AdaptiveSparkPlan (91) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (28) - : : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : : :- ^ InputIteratorTransformer (7) : : : +- ^ InputAdapter (6) : : : +- ^ BroadcastQueryStage (5), Statistics(X) : : : +- ColumnarBroadcastExchange (4) : : : +- ^ FilterExecTransformer (2) : : : +- ^ Scan parquet (1) - : : +- ^ BroadcastHashJoinExecTransformer LeftAnti (26) - : : :- ^ BroadcastHashJoinExecTransformer LeftSemi (17) + : : +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (26) + : : :- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (17) : : : :- ^ ProjectExecTransformer (10) : : : : +- ^ FilterExecTransformer (9) : : : : +- ^ Scan parquet (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/22.txt index 774b9ca85165..38d759bb1020 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (38) +- ^ ProjectExecTransformer (12) +- ^ FlushableHashAggregateExecTransformer (11) +- ^ ProjectExecTransformer (10) - +- ^ BroadcastHashJoinExecTransformer LeftAnti (9) + +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (9) :- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/3.txt index 6a5c8395fa5d..0b8395a482ea 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/3.txt @@ -12,9 +12,9 @@ AdaptiveSparkPlan (53) +- ^ ProjectExecTransformer (24) +- ^ FlushableHashAggregateExecTransformer (23) +- ^ ProjectExecTransformer (22) - +- ^ BroadcastHashJoinExecTransformer Inner (21) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) :- ^ ProjectExecTransformer (12) - : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/4.txt index 0bbf78a26ac8..a9b7bac67fc4 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (44) +- ^ ProjectExecTransformer (15) +- ^ FlushableHashAggregateExecTransformer (14) +- ^ ProjectExecTransformer (13) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (12) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (12) :- ^ ProjectExecTransformer (3) : +- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/5.txt index cc6561aefb3b..fb55e067f7e9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/5.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (100) +- ^ ProjectExecTransformer (51) +- ^ FlushableHashAggregateExecTransformer (50) +- ^ ProjectExecTransformer (49) - +- ^ BroadcastHashJoinExecTransformer Inner (48) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (48) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/7.txt index bab148b6bb17..4c62f3ce9132 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/7.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (93) +- ^ ProjectExecTransformer (46) +- ^ FlushableHashAggregateExecTransformer (45) +- ^ ProjectExecTransformer (44) - +- ^ BroadcastHashJoinExecTransformer Inner (43) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (43) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (29) - : : +- ^ BroadcastHashJoinExecTransformer Inner (28) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (28) : : :- ^ ProjectExecTransformer (20) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (19) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (19) : : : :- ^ ProjectExecTransformer (11) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (10) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/8.txt index 757b1fcca6b4..5d4ef3143b4f 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/8.txt @@ -16,19 +16,19 @@ AdaptiveSparkPlan (129) +- ^ ProjectExecTransformer (69) +- ^ FlushableHashAggregateExecTransformer (68) +- ^ ProjectExecTransformer (67) - +- ^ BroadcastHashJoinExecTransformer Inner (66) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (66) :- ^ ProjectExecTransformer (57) - : +- ^ BroadcastHashJoinExecTransformer Inner (56) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (56) : :- ^ ProjectExecTransformer (48) - : : +- ^ BroadcastHashJoinExecTransformer Inner (47) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) : : :- ^ ProjectExecTransformer (39) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : : : :- ^ ProjectExecTransformer (30) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : : : :- ^ ProjectExecTransformer (21) - : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : : : :- ^ ProjectExecTransformer (12) - : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/9.txt index 4b0cb7140dcd..227e77ecc700 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark33/9.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (98) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/10.txt index a0a2ead10a37..d6b77aaf9db7 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/10.txt @@ -12,11 +12,11 @@ AdaptiveSparkPlan (67) +- ^ ProjectExecTransformer (33) +- ^ FlushableHashAggregateExecTransformer (32) +- ^ ProjectExecTransformer (31) - +- ^ BroadcastHashJoinExecTransformer Inner (30) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (30) :- ^ ProjectExecTransformer (22) - : +- ^ BroadcastHashJoinExecTransformer Inner (21) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) : :- ^ ProjectExecTransformer (12) - : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) : : :- ^ FilterExecTransformer (2) : : : +- ^ Scan parquet (1) : : +- ^ InputIteratorTransformer (10) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/11.txt index c81d951f6e31..8ee504fafda7 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/11.txt @@ -16,9 +16,9 @@ AdaptiveSparkPlan (58) +- ^ ProjectExecTransformer (23) +- ^ FlushableHashAggregateExecTransformer (22) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) :- ^ ProjectExecTransformer (11) - : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) : :- ^ FilterExecTransformer (2) : : +- ^ Scan parquet (1) : +- ^ InputIteratorTransformer (9) @@ -331,9 +331,9 @@ AdaptiveSparkPlan (99) +- ColumnarExchange (75) +- ^ FlushableHashAggregateExecTransformer (73) +- ^ ProjectExecTransformer (72) - +- ^ BroadcastHashJoinExecTransformer Inner (71) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (71) :- ^ ProjectExecTransformer (66) - : +- ^ BroadcastHashJoinExecTransformer Inner (65) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (65) : :- ^ FilterExecTransformer (60) : : +- ^ Scan parquet (59) : +- ^ InputIteratorTransformer (64) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/12.txt index 36ebd2bf5e76..55be10b8eb23 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (42) +- ^ ProjectExecTransformer (14) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/13.txt index aa873582fab2..efeb21b15e68 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/13.txt @@ -23,7 +23,7 @@ AdaptiveSparkPlan (52) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer LeftOuter (10) + +- ^ BroadcastHashJoinExecTransformer LeftOuter BuildRight (10) :- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) +- ^ InputAdapter (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/14.txt index 3b5202f36c1e..f4f21eafc08a 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/14.txt @@ -10,7 +10,7 @@ AdaptiveSparkPlan (34) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/15.txt index 0fd34791c150..baf2075cf671 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/15.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (41) +- ShuffleQueryStage (24), Statistics(X) +- ColumnarExchange (23) +- ^ ProjectExecTransformer (21) - +- ^ BroadcastHashJoinExecTransformer Inner (20) + +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (20) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/16.txt index ed932e494f66..13f5405e5091 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (56) +- ^ ProjectExecTransformer (13) +- ^ FlushableHashAggregateExecTransformer (12) +- ^ ProjectExecTransformer (11) - +- ^ BroadcastHashJoinExecTransformer Inner (10) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (10) :- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (9) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/18.txt index 0969c7267af5..09ceccba8b0a 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/18.txt @@ -11,16 +11,16 @@ AdaptiveSparkPlan (86) +- ^ ProjectExecTransformer (44) +- ^ FlushableHashAggregateExecTransformer (43) +- ^ ProjectExecTransformer (42) - +- ^ BroadcastHashJoinExecTransformer Inner (41) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (41) :- ^ ProjectExecTransformer (28) - : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : :- ^ InputIteratorTransformer (7) : : +- ^ InputAdapter (6) : : +- ^ BroadcastQueryStage (5), Statistics(X) : : +- ColumnarBroadcastExchange (4) : : +- ^ FilterExecTransformer (2) : : +- ^ Scan parquet (1) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (26) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (26) : :- ^ FilterExecTransformer (9) : : +- ^ Scan parquet (8) : +- ^ InputIteratorTransformer (25) @@ -41,7 +41,7 @@ AdaptiveSparkPlan (86) +- ^ InputAdapter (39) +- ^ BroadcastQueryStage (38), Statistics(X) +- ColumnarBroadcastExchange (37) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (35) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (35) :- ^ FilterExecTransformer (30) : +- ^ Scan parquet (29) +- ^ InputIteratorTransformer (34) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/19.txt index 87f00043a52a..ded467ae7006 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/19.txt @@ -9,7 +9,7 @@ AdaptiveSparkPlan (33) +- ColumnarExchange (15) +- ^ FlushableHashAggregateExecTransformer (13) +- ^ ProjectExecTransformer (12) - +- ^ BroadcastHashJoinExecTransformer Inner (11) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (11) :- ^ ProjectExecTransformer (3) : +- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/20.txt index 5db32ebb4227..e1ce25665b3e 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/20.txt @@ -6,9 +6,9 @@ AdaptiveSparkPlan (96) +- ShuffleQueryStage (58), Statistics(X) +- ColumnarExchange (57) +- ^ ProjectExecTransformer (55) - +- ^ BroadcastHashJoinExecTransformer Inner (54) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (54) :- ^ ProjectExecTransformer (45) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (44) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (44) : :- ^ FilterExecTransformer (2) : : +- ^ Scan parquet (1) : +- ^ InputIteratorTransformer (43) @@ -16,12 +16,12 @@ AdaptiveSparkPlan (96) : +- ^ BroadcastQueryStage (41), Statistics(X) : +- ColumnarBroadcastExchange (40) : +- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (37) : :- ^ InputIteratorTransformer (18) : : +- ^ InputAdapter (17) : : +- ^ BroadcastQueryStage (16), Statistics(X) : : +- ColumnarBroadcastExchange (15) - : : +- ^ BroadcastHashJoinExecTransformer LeftSemi (13) + : : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (13) : : :- ^ FilterExecTransformer (4) : : : +- ^ Scan parquet (3) : : +- ^ InputIteratorTransformer (12) @@ -40,7 +40,7 @@ AdaptiveSparkPlan (96) : +- ColumnarExchange (30) : +- ^ ProjectExecTransformer (28) : +- ^ FlushableHashAggregateExecTransformer (27) - : +- ^ BroadcastHashJoinExecTransformer LeftSemi (26) + : +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (26) : :- ^ ProjectExecTransformer (21) : : +- ^ FilterExecTransformer (20) : : +- ^ Scan parquet (19) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/21.txt index 6e415d4a7c38..31a2b07b31f9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/21.txt @@ -10,19 +10,19 @@ AdaptiveSparkPlan (91) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (28) - : : +- ^ BroadcastHashJoinExecTransformer Inner (27) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (27) : : :- ^ InputIteratorTransformer (7) : : : +- ^ InputAdapter (6) : : : +- ^ BroadcastQueryStage (5), Statistics(X) : : : +- ColumnarBroadcastExchange (4) : : : +- ^ FilterExecTransformer (2) : : : +- ^ Scan parquet (1) - : : +- ^ BroadcastHashJoinExecTransformer LeftAnti (26) - : : :- ^ BroadcastHashJoinExecTransformer LeftSemi (17) + : : +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (26) + : : :- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (17) : : : :- ^ ProjectExecTransformer (10) : : : : +- ^ FilterExecTransformer (9) : : : : +- ^ Scan parquet (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/22.txt index b0b5964d0a94..bfc52b25c52a 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (38) +- ^ ProjectExecTransformer (12) +- ^ FlushableHashAggregateExecTransformer (11) +- ^ ProjectExecTransformer (10) - +- ^ BroadcastHashJoinExecTransformer LeftAnti (9) + +- ^ BroadcastHashJoinExecTransformer LeftAnti BuildRight (9) :- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) +- ^ InputIteratorTransformer (8) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/3.txt index 6ce73eb0fa38..fdde00c0111b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/3.txt @@ -12,9 +12,9 @@ AdaptiveSparkPlan (53) +- ^ ProjectExecTransformer (24) +- ^ FlushableHashAggregateExecTransformer (23) +- ^ ProjectExecTransformer (22) - +- ^ BroadcastHashJoinExecTransformer Inner (21) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (21) :- ^ ProjectExecTransformer (12) - : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/4.txt index 2401dc071221..a423034982a9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (44) +- ^ ProjectExecTransformer (15) +- ^ FlushableHashAggregateExecTransformer (14) +- ^ ProjectExecTransformer (13) - +- ^ BroadcastHashJoinExecTransformer LeftSemi (12) + +- ^ BroadcastHashJoinExecTransformer LeftSemi BuildRight (12) :- ^ ProjectExecTransformer (3) : +- ^ FilterExecTransformer (2) : +- ^ Scan parquet (1) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/5.txt index e811b6370366..6ce78c899186 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/5.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (100) +- ^ ProjectExecTransformer (51) +- ^ FlushableHashAggregateExecTransformer (50) +- ^ ProjectExecTransformer (49) - +- ^ BroadcastHashJoinExecTransformer Inner (48) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (48) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/7.txt index 129da90d3a2b..3a43310c0813 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/7.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (93) +- ^ ProjectExecTransformer (46) +- ^ FlushableHashAggregateExecTransformer (45) +- ^ ProjectExecTransformer (44) - +- ^ BroadcastHashJoinExecTransformer Inner (43) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (43) :- ^ ProjectExecTransformer (38) - : +- ^ BroadcastHashJoinExecTransformer Inner (37) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37) : :- ^ ProjectExecTransformer (29) - : : +- ^ BroadcastHashJoinExecTransformer Inner (28) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (28) : : :- ^ ProjectExecTransformer (20) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (19) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (19) : : : :- ^ ProjectExecTransformer (11) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (10) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (10) : : : : :- ^ InputIteratorTransformer (7) : : : : : +- ^ InputAdapter (6) : : : : : +- ^ BroadcastQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/8.txt index 4ac782958199..97a1de2e4861 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/8.txt @@ -16,19 +16,19 @@ AdaptiveSparkPlan (129) +- ^ ProjectExecTransformer (69) +- ^ FlushableHashAggregateExecTransformer (68) +- ^ ProjectExecTransformer (67) - +- ^ BroadcastHashJoinExecTransformer Inner (66) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (66) :- ^ ProjectExecTransformer (57) - : +- ^ BroadcastHashJoinExecTransformer Inner (56) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (56) : :- ^ ProjectExecTransformer (48) - : : +- ^ BroadcastHashJoinExecTransformer Inner (47) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) : : :- ^ ProjectExecTransformer (39) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : : : :- ^ ProjectExecTransformer (30) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : : : :- ^ ProjectExecTransformer (21) - : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : : : :- ^ ProjectExecTransformer (12) - : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/9.txt index 1a41ac753c5c..8003b4e2a7c0 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-bhj/spark34/9.txt @@ -15,15 +15,15 @@ AdaptiveSparkPlan (98) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ BroadcastHashJoinExecTransformer Inner (47) + +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (47) :- ^ ProjectExecTransformer (39) - : +- ^ BroadcastHashJoinExecTransformer Inner (38) + : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (38) : :- ^ ProjectExecTransformer (30) - : : +- ^ BroadcastHashJoinExecTransformer Inner (29) + : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (29) : : :- ^ ProjectExecTransformer (21) - : : : +- ^ BroadcastHashJoinExecTransformer Inner (20) + : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (20) : : : :- ^ ProjectExecTransformer (12) - : : : : +- ^ BroadcastHashJoinExecTransformer Inner (11) + : : : : +- ^ BroadcastHashJoinExecTransformer Inner BuildLeft (11) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ BroadcastQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/10.txt index 9af231ec1bb8..a545d26e2b12 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/10.txt @@ -12,19 +12,19 @@ AdaptiveSparkPlan (87) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ ShuffledHashJoinExecTransformer Inner (47) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) :- ^ InputIteratorTransformer (38) : +- ^ InputAdapter (37) : +- ^ ShuffleQueryStage (36) : +- ColumnarExchange (35) : +- ^ ProjectExecTransformer (33) - : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : :- ^ InputIteratorTransformer (23) : : +- ^ InputAdapter (22) : : +- ^ ShuffleQueryStage (21) : : +- ColumnarExchange (20) : : +- ^ ProjectExecTransformer (18) - : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/11.txt index f028b8daa9b3..717acdacccd4 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/11.txt @@ -16,13 +16,13 @@ AdaptiveSparkPlan (72) +- ^ ProjectExecTransformer (35) +- ^ FlushableHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/12.txt index 914b1813df44..ff48c00b1d85 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (49) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/13.txt index 408b8a0f7f97..48e48c97477f 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/13.txt @@ -18,7 +18,7 @@ AdaptiveSparkPlan (52) +- ^ RegularHashAggregateExecTransformer (19) +- ^ RegularHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftOuter (16) + +- ^ ShuffledHashJoinExecTransformer LeftOuter BuildLeft (16) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ ShuffleQueryStage (5) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/14.txt index c1e2a1e52130..c4893bc66912 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/14.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (35) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/15.txt index 1da11e4fffea..03aaba455979 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/15.txt @@ -8,7 +8,7 @@ AdaptiveSparkPlan (45) +- ^ ShuffleQueryStage (25) +- ColumnarExchange (24) +- ^ ProjectExecTransformer (22) - +- ^ ShuffledHashJoinExecTransformer Inner (21) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (21) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/16.txt index 4a8b56e41f36..be28ff7e84eb 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (64) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/17.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/17.txt index 523c081b1d19..e2ff1fcc0eb5 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/17.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/17.txt @@ -6,9 +6,9 @@ AdaptiveSparkPlan (57) +- ^ RegularHashAggregateExecTransformer (34) +- ^ RegularHashAggregateExecTransformer (33) +- ^ ProjectExecTransformer (32) - +- ^ ShuffledHashJoinExecTransformer Inner (31) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (31) :- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/18.txt index 6045020cb49a..3b6719e7e55d 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/18.txt @@ -6,13 +6,13 @@ AdaptiveSparkPlan (97) +- ^ RegularHashAggregateExecTransformer (61) +- ^ RegularHashAggregateExecTransformer (60) +- ^ ProjectExecTransformer (59) - +- ^ ShuffledHashJoinExecTransformer Inner (58) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (58) :- ^ InputIteratorTransformer (41) : +- ^ InputAdapter (40) : +- ^ ShuffleQueryStage (39) : +- ColumnarExchange (38) : +- ^ ProjectExecTransformer (36) - : +- ^ ShuffledHashJoinExecTransformer Inner (35) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (35) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6) @@ -25,7 +25,7 @@ AdaptiveSparkPlan (97) : +- ^ ShuffleQueryStage (32) : +- ColumnarExchange (31) : +- ^ ProjectExecTransformer (29) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (28) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (28) : :- ^ InputIteratorTransformer (16) : : +- ^ InputAdapter (15) : : +- ^ ShuffleQueryStage (14) @@ -43,7 +43,7 @@ AdaptiveSparkPlan (97) : +- ^ ProjectExecTransformer (19) : +- ^ FlushableHashAggregateExecTransformer (18) : +- ^ Scan parquet (17) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (57) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (57) :- ^ InputIteratorTransformer (49) : +- ^ InputAdapter (48) : +- ^ ShuffleQueryStage (47) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/19.txt index 7084e61f61d5..290d398f4edd 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/19.txt @@ -5,7 +5,7 @@ AdaptiveSparkPlan (34) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/20.txt index 3f6d17512477..bdf5d16a8fd3 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/20.txt @@ -8,13 +8,13 @@ AdaptiveSparkPlan (126) +- ^ ShuffleQueryStage (81) +- ColumnarExchange (80) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (62) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (62) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6) @@ -27,13 +27,13 @@ AdaptiveSparkPlan (126) : +- ^ ShuffleQueryStage (59) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (55) : :- ^ InputIteratorTransformer (31) : : +- ^ InputAdapter (30) : : +- ^ ShuffleQueryStage (29) : : +- ColumnarExchange (28) : : +- ^ ProjectExecTransformer (26) - : : +- ^ ShuffledHashJoinExecTransformer LeftSemi (25) + : : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (25) : : :- ^ InputIteratorTransformer (16) : : : +- ^ InputAdapter (15) : : : +- ^ ShuffleQueryStage (14) @@ -57,7 +57,7 @@ AdaptiveSparkPlan (126) : +- ^ ProjectExecTransformer (47) : +- ^ RegularHashAggregateExecTransformer (46) : +- ^ RegularHashAggregateExecTransformer (45) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (44) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (44) : :- ^ InputIteratorTransformer (39) : : +- ^ InputAdapter (38) : : +- ^ ShuffleQueryStage (37) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/21.txt index b7067f8b5e3a..b960a7682beb 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/21.txt @@ -11,19 +11,19 @@ AdaptiveSparkPlan (119) +- ^ ProjectExecTransformer (73) +- ^ FlushableHashAggregateExecTransformer (72) +- ^ ProjectExecTransformer (71) - +- ^ ShuffledHashJoinExecTransformer Inner (70) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (70) :- ^ InputIteratorTransformer (61) : +- ^ InputAdapter (60) : +- ^ ShuffleQueryStage (59) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (55) : :- ^ InputIteratorTransformer (46) : : +- ^ InputAdapter (45) : : +- ^ ShuffleQueryStage (44) : : +- ColumnarExchange (43) : : +- ^ ProjectExecTransformer (41) - : : +- ^ ShuffledHashJoinExecTransformer Inner (40) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (40) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6) @@ -36,8 +36,8 @@ AdaptiveSparkPlan (119) : : +- ^ ShuffleQueryStage (37) : : +- ColumnarExchange (36) : : +- ^ ProjectExecTransformer (34) - : : +- ^ ShuffledHashJoinExecTransformer LeftAnti (33) - : : :- ^ ShuffledHashJoinExecTransformer LeftSemi (24) + : : +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (33) + : : :- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (24) : : : :- ^ InputIteratorTransformer (16) : : : : +- ^ InputAdapter (15) : : : : +- ^ ShuffleQueryStage (14) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/22.txt index dc38dbb7675a..67b2d945c059 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (46) +- ^ ProjectExecTransformer (19) +- ^ FlushableHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftAnti (16) + +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (16) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/3.txt index d6c6f13e9063..6061266d1ab3 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/3.txt @@ -7,13 +7,13 @@ AdaptiveSparkPlan (59) +- ^ RegularHashAggregateExecTransformer (35) +- ^ RegularHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/4.txt index 4c33fb73f757..be03c6970a0a 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (50) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (17) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/5.txt index 8bc2587dbaee..a7093229bb11 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/5.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (134) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/7.txt index 5ac66a7e2708..132fd068b4d5 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/7.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (128) +- ^ ProjectExecTransformer (76) +- ^ FlushableHashAggregateExecTransformer (75) +- ^ ProjectExecTransformer (74) - +- ^ ShuffledHashJoinExecTransformer Inner (73) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (73) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/8.txt index 7e7064f9fbae..043826c912d8 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/8.txt @@ -16,43 +16,43 @@ AdaptiveSparkPlan (177) +- ^ ProjectExecTransformer (110) +- ^ FlushableHashAggregateExecTransformer (109) +- ^ ProjectExecTransformer (108) - +- ^ ShuffledHashJoinExecTransformer Inner (107) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (107) :- ^ InputIteratorTransformer (98) : +- ^ InputAdapter (97) : +- ^ ShuffleQueryStage (96) : +- ColumnarExchange (95) : +- ^ ProjectExecTransformer (93) - : +- ^ ShuffledHashJoinExecTransformer Inner (92) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (92) : :- ^ InputIteratorTransformer (83) : : +- ^ InputAdapter (82) : : +- ^ ShuffleQueryStage (81) : : +- ColumnarExchange (80) : : +- ^ ProjectExecTransformer (78) - : : +- ^ ShuffledHashJoinExecTransformer Inner (77) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) : : :- ^ InputIteratorTransformer (68) : : : +- ^ InputAdapter (67) : : : +- ^ ShuffleQueryStage (66) : : : +- ColumnarExchange (65) : : : +- ^ ProjectExecTransformer (63) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : : : :- ^ InputIteratorTransformer (53) : : : : +- ^ InputAdapter (52) : : : : +- ^ ShuffleQueryStage (51) : : : : +- ColumnarExchange (50) : : : : +- ^ ProjectExecTransformer (48) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : : : :- ^ InputIteratorTransformer (38) : : : : : +- ^ InputAdapter (37) : : : : : +- ^ ShuffleQueryStage (36) : : : : : +- ColumnarExchange (35) : : : : : +- ^ ProjectExecTransformer (33) - : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : : : :- ^ InputIteratorTransformer (23) : : : : : : +- ^ InputAdapter (22) : : : : : : +- ^ ShuffleQueryStage (21) : : : : : : +- ColumnarExchange (20) : : : : : : +- ^ ProjectExecTransformer (18) - : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/9.txt index 5ba4a9f7ce0e..bc8752ca1f2d 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark32/9.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (133) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/10.txt index 66b2ccdc77b3..5050dab789f0 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/10.txt @@ -12,19 +12,19 @@ AdaptiveSparkPlan (87) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ ShuffledHashJoinExecTransformer Inner (47) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) :- ^ InputIteratorTransformer (38) : +- ^ InputAdapter (37) : +- ^ ShuffleQueryStage (36), Statistics(X) : +- ColumnarExchange (35) : +- ^ ProjectExecTransformer (33) - : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : :- ^ InputIteratorTransformer (23) : : +- ^ InputAdapter (22) : : +- ^ ShuffleQueryStage (21), Statistics(X) : : +- ColumnarExchange (20) : : +- ^ ProjectExecTransformer (18) - : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/11.txt index 4bd0783da6fe..31ab69e36d50 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/11.txt @@ -16,13 +16,13 @@ AdaptiveSparkPlan (72) +- ^ ProjectExecTransformer (35) +- ^ FlushableHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21), Statistics(X) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -387,13 +387,13 @@ AdaptiveSparkPlan (120) +- ^ RegularHashAggregateExecTransformer (99) +- ^ RegularHashAggregateExecTransformer (98) +- ^ ProjectExecTransformer (97) - +- ^ ShuffledHashJoinExecTransformer Inner (96) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (96) :- ^ InputIteratorTransformer (91) : +- ^ InputAdapter (90) : +- ^ ShuffleQueryStage (89), Statistics(X) : +- ColumnarExchange (88) : +- ^ ProjectExecTransformer (86) - : +- ^ ShuffledHashJoinExecTransformer Inner (85) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (85) : :- ^ InputIteratorTransformer (80) : : +- ^ InputAdapter (79) : : +- ^ ShuffleQueryStage (78), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/12.txt index ec56c2f99543..7f4249f58548 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (49) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/13.txt index f7d8f3c3b72f..7ba31590eb06 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/13.txt @@ -18,7 +18,7 @@ AdaptiveSparkPlan (52) +- ^ RegularHashAggregateExecTransformer (19) +- ^ RegularHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftOuter (16) + +- ^ ShuffledHashJoinExecTransformer LeftOuter BuildLeft (16) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ ShuffleQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/14.txt index 4f4492d881fd..379450102787 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/14.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (35) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/15.txt index 98249fae7dd7..cb25386ec7a4 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/15.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (42) +- ShuffleQueryStage (25), Statistics(X) +- ColumnarExchange (24) +- ^ ProjectExecTransformer (22) - +- ^ ShuffledHashJoinExecTransformer Inner (21) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (21) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/16.txt index 230e9c890d1d..f6613670b1da 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (64) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/17.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/17.txt index 3848cd252b45..d8ec36fbe69f 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/17.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/17.txt @@ -6,9 +6,9 @@ AdaptiveSparkPlan (57) +- ^ RegularHashAggregateExecTransformer (34) +- ^ RegularHashAggregateExecTransformer (33) +- ^ ProjectExecTransformer (32) - +- ^ ShuffledHashJoinExecTransformer Inner (31) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (31) :- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/18.txt index 08b902eed5ed..1250303cf3b9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/18.txt @@ -6,13 +6,13 @@ AdaptiveSparkPlan (97) +- ^ RegularHashAggregateExecTransformer (61) +- ^ RegularHashAggregateExecTransformer (60) +- ^ ProjectExecTransformer (59) - +- ^ ShuffledHashJoinExecTransformer Inner (58) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (58) :- ^ InputIteratorTransformer (41) : +- ^ InputAdapter (40) : +- ^ ShuffleQueryStage (39), Statistics(X) : +- ColumnarExchange (38) : +- ^ ProjectExecTransformer (36) - : +- ^ ShuffledHashJoinExecTransformer Inner (35) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (35) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -25,7 +25,7 @@ AdaptiveSparkPlan (97) : +- ^ ShuffleQueryStage (32), Statistics(X) : +- ColumnarExchange (31) : +- ^ ProjectExecTransformer (29) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (28) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (28) : :- ^ InputIteratorTransformer (16) : : +- ^ InputAdapter (15) : : +- ^ ShuffleQueryStage (14), Statistics(X) @@ -43,7 +43,7 @@ AdaptiveSparkPlan (97) : +- ^ ProjectExecTransformer (19) : +- ^ FlushableHashAggregateExecTransformer (18) : +- ^ Scan parquet (17) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (57) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (57) :- ^ InputIteratorTransformer (49) : +- ^ InputAdapter (48) : +- ^ ShuffleQueryStage (47), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/19.txt index 29b5d69fa0e8..72aafd6a63af 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/19.txt @@ -5,7 +5,7 @@ AdaptiveSparkPlan (34) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/20.txt index c5dc33a694ee..229e17b97d3f 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/20.txt @@ -6,13 +6,13 @@ AdaptiveSparkPlan (123) +- ShuffleQueryStage (81), Statistics(X) +- ColumnarExchange (80) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (62) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (62) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -25,13 +25,13 @@ AdaptiveSparkPlan (123) : +- ^ ShuffleQueryStage (59), Statistics(X) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (55) : :- ^ InputIteratorTransformer (31) : : +- ^ InputAdapter (30) : : +- ^ ShuffleQueryStage (29), Statistics(X) : : +- ColumnarExchange (28) : : +- ^ ProjectExecTransformer (26) - : : +- ^ ShuffledHashJoinExecTransformer LeftSemi (25) + : : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (25) : : :- ^ InputIteratorTransformer (16) : : : +- ^ InputAdapter (15) : : : +- ^ ShuffleQueryStage (14), Statistics(X) @@ -55,7 +55,7 @@ AdaptiveSparkPlan (123) : +- ^ ProjectExecTransformer (47) : +- ^ RegularHashAggregateExecTransformer (46) : +- ^ RegularHashAggregateExecTransformer (45) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (44) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (44) : :- ^ InputIteratorTransformer (39) : : +- ^ InputAdapter (38) : : +- ^ ShuffleQueryStage (37), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/21.txt index 91bb400aac04..924e087f8ac2 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/21.txt @@ -10,19 +10,19 @@ AdaptiveSparkPlan (118) +- ^ ProjectExecTransformer (73) +- ^ FlushableHashAggregateExecTransformer (72) +- ^ ProjectExecTransformer (71) - +- ^ ShuffledHashJoinExecTransformer Inner (70) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (70) :- ^ InputIteratorTransformer (61) : +- ^ InputAdapter (60) : +- ^ ShuffleQueryStage (59), Statistics(X) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (55) : :- ^ InputIteratorTransformer (46) : : +- ^ InputAdapter (45) : : +- ^ ShuffleQueryStage (44), Statistics(X) : : +- ColumnarExchange (43) : : +- ^ ProjectExecTransformer (41) - : : +- ^ ShuffledHashJoinExecTransformer Inner (40) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (40) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -35,8 +35,8 @@ AdaptiveSparkPlan (118) : : +- ^ ShuffleQueryStage (37), Statistics(X) : : +- ColumnarExchange (36) : : +- ^ ProjectExecTransformer (34) - : : +- ^ ShuffledHashJoinExecTransformer LeftAnti (33) - : : :- ^ ShuffledHashJoinExecTransformer LeftSemi (24) + : : +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (33) + : : :- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (24) : : : :- ^ InputIteratorTransformer (16) : : : : +- ^ InputAdapter (15) : : : : +- ^ ShuffleQueryStage (14), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/22.txt index ba18df0d0119..a40eb7e2b0c2 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (46) +- ^ ProjectExecTransformer (19) +- ^ FlushableHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftAnti (16) + +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (16) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/3.txt index 08588f64d24f..4c1028c2e089 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/3.txt @@ -7,13 +7,13 @@ AdaptiveSparkPlan (59) +- ^ RegularHashAggregateExecTransformer (35) +- ^ RegularHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21), Statistics(X) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/4.txt index 421f6a412ec7..b0cd269ae184 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (50) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (17) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/5.txt index 50173820058c..082197eda475 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/5.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (134) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/7.txt index 67f4274b3aa3..60738454f20a 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/7.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (128) +- ^ ProjectExecTransformer (76) +- ^ FlushableHashAggregateExecTransformer (75) +- ^ ProjectExecTransformer (74) - +- ^ ShuffledHashJoinExecTransformer Inner (73) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (73) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/8.txt index 16838a0513b3..5549da0cecd2 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/8.txt @@ -16,43 +16,43 @@ AdaptiveSparkPlan (177) +- ^ ProjectExecTransformer (110) +- ^ FlushableHashAggregateExecTransformer (109) +- ^ ProjectExecTransformer (108) - +- ^ ShuffledHashJoinExecTransformer Inner (107) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (107) :- ^ InputIteratorTransformer (98) : +- ^ InputAdapter (97) : +- ^ ShuffleQueryStage (96), Statistics(X) : +- ColumnarExchange (95) : +- ^ ProjectExecTransformer (93) - : +- ^ ShuffledHashJoinExecTransformer Inner (92) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (92) : :- ^ InputIteratorTransformer (83) : : +- ^ InputAdapter (82) : : +- ^ ShuffleQueryStage (81), Statistics(X) : : +- ColumnarExchange (80) : : +- ^ ProjectExecTransformer (78) - : : +- ^ ShuffledHashJoinExecTransformer Inner (77) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) : : :- ^ InputIteratorTransformer (68) : : : +- ^ InputAdapter (67) : : : +- ^ ShuffleQueryStage (66), Statistics(X) : : : +- ColumnarExchange (65) : : : +- ^ ProjectExecTransformer (63) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : : : :- ^ InputIteratorTransformer (53) : : : : +- ^ InputAdapter (52) : : : : +- ^ ShuffleQueryStage (51), Statistics(X) : : : : +- ColumnarExchange (50) : : : : +- ^ ProjectExecTransformer (48) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : : : :- ^ InputIteratorTransformer (38) : : : : : +- ^ InputAdapter (37) : : : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : : : +- ColumnarExchange (35) : : : : : +- ^ ProjectExecTransformer (33) - : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : : : :- ^ InputIteratorTransformer (23) : : : : : : +- ^ InputAdapter (22) : : : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : : : +- ColumnarExchange (20) : : : : : : +- ^ ProjectExecTransformer (18) - : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/9.txt index a24b228c5f77..2925cced3f2e 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark33/9.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (133) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/10.txt index 79ff600fa6b7..6c98f7aba99d 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/10.txt @@ -12,19 +12,19 @@ AdaptiveSparkPlan (87) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ ShuffledHashJoinExecTransformer Inner (47) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) :- ^ InputIteratorTransformer (38) : +- ^ InputAdapter (37) : +- ^ ShuffleQueryStage (36), Statistics(X) : +- ColumnarExchange (35) : +- ^ ProjectExecTransformer (33) - : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : :- ^ InputIteratorTransformer (23) : : +- ^ InputAdapter (22) : : +- ^ ShuffleQueryStage (21), Statistics(X) : : +- ColumnarExchange (20) : : +- ^ ProjectExecTransformer (18) - : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/11.txt index 1b5a8743db5a..59eee0048de4 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/11.txt @@ -16,13 +16,13 @@ AdaptiveSparkPlan (72) +- ^ ProjectExecTransformer (35) +- ^ FlushableHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21), Statistics(X) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -391,13 +391,13 @@ AdaptiveSparkPlan (120) +- ^ RegularHashAggregateExecTransformer (99) +- ^ RegularHashAggregateExecTransformer (98) +- ^ ProjectExecTransformer (97) - +- ^ ShuffledHashJoinExecTransformer Inner (96) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (96) :- ^ InputIteratorTransformer (91) : +- ^ InputAdapter (90) : +- ^ ShuffleQueryStage (89), Statistics(X) : +- ColumnarExchange (88) : +- ^ ProjectExecTransformer (86) - : +- ^ ShuffledHashJoinExecTransformer Inner (85) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (85) : :- ^ InputIteratorTransformer (80) : : +- ^ InputAdapter (79) : : +- ^ ShuffleQueryStage (78), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/12.txt index 595d52af5256..1e676f1c8275 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (49) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/13.txt index 10a7818f6c4d..87ea62a744f3 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/13.txt @@ -18,7 +18,7 @@ AdaptiveSparkPlan (52) +- ^ RegularHashAggregateExecTransformer (19) +- ^ RegularHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftOuter (16) + +- ^ ShuffledHashJoinExecTransformer LeftOuter BuildLeft (16) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ ShuffleQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/14.txt index 4a4159446f40..d118caee8ae4 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/14.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (35) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/15.txt index 90558947bb35..6b5d089f4580 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/15.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (42) +- ShuffleQueryStage (25), Statistics(X) +- ColumnarExchange (24) +- ^ ProjectExecTransformer (22) - +- ^ ShuffledHashJoinExecTransformer Inner (21) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (21) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/16.txt index 98c7da22a549..57a1fcfd1bce 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (64) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/17.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/17.txt index 97c56c7dae8d..03afc1f85103 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/17.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/17.txt @@ -6,9 +6,9 @@ AdaptiveSparkPlan (57) +- ^ RegularHashAggregateExecTransformer (34) +- ^ RegularHashAggregateExecTransformer (33) +- ^ ProjectExecTransformer (32) - +- ^ ShuffledHashJoinExecTransformer Inner (31) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (31) :- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/18.txt index f0537d1fcf07..598b86c342e9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/18.txt @@ -6,13 +6,13 @@ AdaptiveSparkPlan (97) +- ^ RegularHashAggregateExecTransformer (61) +- ^ RegularHashAggregateExecTransformer (60) +- ^ ProjectExecTransformer (59) - +- ^ ShuffledHashJoinExecTransformer Inner (58) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (58) :- ^ InputIteratorTransformer (41) : +- ^ InputAdapter (40) : +- ^ ShuffleQueryStage (39), Statistics(X) : +- ColumnarExchange (38) : +- ^ ProjectExecTransformer (36) - : +- ^ ShuffledHashJoinExecTransformer Inner (35) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (35) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -25,7 +25,7 @@ AdaptiveSparkPlan (97) : +- ^ ShuffleQueryStage (32), Statistics(X) : +- ColumnarExchange (31) : +- ^ ProjectExecTransformer (29) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (28) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (28) : :- ^ InputIteratorTransformer (16) : : +- ^ InputAdapter (15) : : +- ^ ShuffleQueryStage (14), Statistics(X) @@ -43,7 +43,7 @@ AdaptiveSparkPlan (97) : +- ^ ProjectExecTransformer (19) : +- ^ FlushableHashAggregateExecTransformer (18) : +- ^ Scan parquet (17) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (57) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (57) :- ^ InputIteratorTransformer (49) : +- ^ InputAdapter (48) : +- ^ ShuffleQueryStage (47), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/19.txt index 7d03f6eca963..2b5d5b20ea54 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/19.txt @@ -5,7 +5,7 @@ AdaptiveSparkPlan (34) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/20.txt index 4e67d57112e7..ab7fa3fe53c9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/20.txt @@ -6,13 +6,13 @@ AdaptiveSparkPlan (123) +- ShuffleQueryStage (81), Statistics(X) +- ColumnarExchange (80) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (62) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (62) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -25,13 +25,13 @@ AdaptiveSparkPlan (123) : +- ^ ShuffleQueryStage (59), Statistics(X) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (55) : :- ^ InputIteratorTransformer (31) : : +- ^ InputAdapter (30) : : +- ^ ShuffleQueryStage (29), Statistics(X) : : +- ColumnarExchange (28) : : +- ^ ProjectExecTransformer (26) - : : +- ^ ShuffledHashJoinExecTransformer LeftSemi (25) + : : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (25) : : :- ^ InputIteratorTransformer (16) : : : +- ^ InputAdapter (15) : : : +- ^ ShuffleQueryStage (14), Statistics(X) @@ -55,7 +55,7 @@ AdaptiveSparkPlan (123) : +- ^ ProjectExecTransformer (47) : +- ^ RegularHashAggregateExecTransformer (46) : +- ^ RegularHashAggregateExecTransformer (45) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (44) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (44) : :- ^ InputIteratorTransformer (39) : : +- ^ InputAdapter (38) : : +- ^ ShuffleQueryStage (37), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/21.txt index 658a499a30ce..5c9ac1690ea4 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/21.txt @@ -10,19 +10,19 @@ AdaptiveSparkPlan (118) +- ^ ProjectExecTransformer (73) +- ^ FlushableHashAggregateExecTransformer (72) +- ^ ProjectExecTransformer (71) - +- ^ ShuffledHashJoinExecTransformer Inner (70) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (70) :- ^ InputIteratorTransformer (61) : +- ^ InputAdapter (60) : +- ^ ShuffleQueryStage (59), Statistics(X) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (55) : :- ^ InputIteratorTransformer (46) : : +- ^ InputAdapter (45) : : +- ^ ShuffleQueryStage (44), Statistics(X) : : +- ColumnarExchange (43) : : +- ^ ProjectExecTransformer (41) - : : +- ^ ShuffledHashJoinExecTransformer Inner (40) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (40) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -35,8 +35,8 @@ AdaptiveSparkPlan (118) : : +- ^ ShuffleQueryStage (37), Statistics(X) : : +- ColumnarExchange (36) : : +- ^ ProjectExecTransformer (34) - : : +- ^ ShuffledHashJoinExecTransformer LeftAnti (33) - : : :- ^ ShuffledHashJoinExecTransformer LeftSemi (24) + : : +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (33) + : : :- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (24) : : : :- ^ InputIteratorTransformer (16) : : : : +- ^ InputAdapter (15) : : : : +- ^ ShuffleQueryStage (14), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/22.txt index e94b7b01715f..12dbaf0baf75 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (46) +- ^ ProjectExecTransformer (19) +- ^ FlushableHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftAnti (16) + +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (16) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/3.txt index 16615ac0598f..c3de65c763ca 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/3.txt @@ -7,13 +7,13 @@ AdaptiveSparkPlan (59) +- ^ RegularHashAggregateExecTransformer (35) +- ^ RegularHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21), Statistics(X) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/4.txt index 1d3f8903f89f..ab8ecadcb532 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (50) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (17) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/5.txt index 12c4c6add240..3296a70a70f5 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/5.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (134) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/7.txt index 03305d572de7..4a641f05b878 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/7.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (128) +- ^ ProjectExecTransformer (76) +- ^ FlushableHashAggregateExecTransformer (75) +- ^ ProjectExecTransformer (74) - +- ^ ShuffledHashJoinExecTransformer Inner (73) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (73) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/8.txt index f0176bc5e011..cf125fb93008 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/8.txt @@ -16,43 +16,43 @@ AdaptiveSparkPlan (177) +- ^ ProjectExecTransformer (110) +- ^ FlushableHashAggregateExecTransformer (109) +- ^ ProjectExecTransformer (108) - +- ^ ShuffledHashJoinExecTransformer Inner (107) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (107) :- ^ InputIteratorTransformer (98) : +- ^ InputAdapter (97) : +- ^ ShuffleQueryStage (96), Statistics(X) : +- ColumnarExchange (95) : +- ^ ProjectExecTransformer (93) - : +- ^ ShuffledHashJoinExecTransformer Inner (92) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (92) : :- ^ InputIteratorTransformer (83) : : +- ^ InputAdapter (82) : : +- ^ ShuffleQueryStage (81), Statistics(X) : : +- ColumnarExchange (80) : : +- ^ ProjectExecTransformer (78) - : : +- ^ ShuffledHashJoinExecTransformer Inner (77) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) : : :- ^ InputIteratorTransformer (68) : : : +- ^ InputAdapter (67) : : : +- ^ ShuffleQueryStage (66), Statistics(X) : : : +- ColumnarExchange (65) : : : +- ^ ProjectExecTransformer (63) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : : : :- ^ InputIteratorTransformer (53) : : : : +- ^ InputAdapter (52) : : : : +- ^ ShuffleQueryStage (51), Statistics(X) : : : : +- ColumnarExchange (50) : : : : +- ^ ProjectExecTransformer (48) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : : : :- ^ InputIteratorTransformer (38) : : : : : +- ^ InputAdapter (37) : : : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : : : +- ColumnarExchange (35) : : : : : +- ^ ProjectExecTransformer (33) - : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : : : :- ^ InputIteratorTransformer (23) : : : : : : +- ^ InputAdapter (22) : : : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : : : +- ColumnarExchange (20) : : : : : : +- ^ ProjectExecTransformer (18) - : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/9.txt index 3f5479af2b14..426fb391c048 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1-ras/spark34/9.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (133) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/10.txt index 6b7f5bab6b1c..5c3e1a93c499 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/10.txt @@ -12,19 +12,19 @@ AdaptiveSparkPlan (87) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ ShuffledHashJoinExecTransformer Inner (47) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) :- ^ InputIteratorTransformer (38) : +- ^ InputAdapter (37) : +- ^ ShuffleQueryStage (36) : +- ColumnarExchange (35) : +- ^ ProjectExecTransformer (33) - : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : :- ^ InputIteratorTransformer (23) : : +- ^ InputAdapter (22) : : +- ^ ShuffleQueryStage (21) : : +- ColumnarExchange (20) : : +- ^ ProjectExecTransformer (18) - : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/11.txt index 4fe3c8b62ca9..187df108a32a 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/11.txt @@ -16,13 +16,13 @@ AdaptiveSparkPlan (72) +- ^ ProjectExecTransformer (35) +- ^ FlushableHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/12.txt index f8bca5a8c389..2df3770552eb 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (49) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/13.txt index 14f2b770f996..64fd78ed05c9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/13.txt @@ -18,7 +18,7 @@ AdaptiveSparkPlan (52) +- ^ RegularHashAggregateExecTransformer (19) +- ^ RegularHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftOuter (16) + +- ^ ShuffledHashJoinExecTransformer LeftOuter BuildLeft (16) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ ShuffleQueryStage (5) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/14.txt index 3be22928e4f2..45951bf4c41e 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/14.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (35) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/15.txt index 82b075711ecc..2576137dbd7b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/15.txt @@ -8,7 +8,7 @@ AdaptiveSparkPlan (45) +- ^ ShuffleQueryStage (25) +- ColumnarExchange (24) +- ^ ProjectExecTransformer (22) - +- ^ ShuffledHashJoinExecTransformer Inner (21) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (21) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/16.txt index 4eff981d78bd..875d74780095 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (64) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/17.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/17.txt index 04f31f2d7a90..e3a6142c740b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/17.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/17.txt @@ -6,9 +6,9 @@ AdaptiveSparkPlan (57) +- ^ RegularHashAggregateExecTransformer (34) +- ^ RegularHashAggregateExecTransformer (33) +- ^ ProjectExecTransformer (32) - +- ^ ShuffledHashJoinExecTransformer Inner (31) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (31) :- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/18.txt index ac59fbf6e10f..b1f06863e2ca 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/18.txt @@ -6,13 +6,13 @@ AdaptiveSparkPlan (97) +- ^ RegularHashAggregateExecTransformer (61) +- ^ RegularHashAggregateExecTransformer (60) +- ^ ProjectExecTransformer (59) - +- ^ ShuffledHashJoinExecTransformer Inner (58) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (58) :- ^ InputIteratorTransformer (41) : +- ^ InputAdapter (40) : +- ^ ShuffleQueryStage (39) : +- ColumnarExchange (38) : +- ^ ProjectExecTransformer (36) - : +- ^ ShuffledHashJoinExecTransformer Inner (35) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (35) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6) @@ -25,7 +25,7 @@ AdaptiveSparkPlan (97) : +- ^ ShuffleQueryStage (32) : +- ColumnarExchange (31) : +- ^ ProjectExecTransformer (29) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (28) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (28) : :- ^ InputIteratorTransformer (16) : : +- ^ InputAdapter (15) : : +- ^ ShuffleQueryStage (14) @@ -43,7 +43,7 @@ AdaptiveSparkPlan (97) : +- ^ ProjectExecTransformer (19) : +- ^ FlushableHashAggregateExecTransformer (18) : +- ^ Scan parquet (17) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (57) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (57) :- ^ InputIteratorTransformer (49) : +- ^ InputAdapter (48) : +- ^ ShuffleQueryStage (47) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/19.txt index 4bff7da9b473..fe7cc6d3a2e8 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/19.txt @@ -5,7 +5,7 @@ AdaptiveSparkPlan (34) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/20.txt index 15ea12dd248e..6e2327ac1336 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/20.txt @@ -8,13 +8,13 @@ AdaptiveSparkPlan (126) +- ^ ShuffleQueryStage (81) +- ColumnarExchange (80) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (62) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (62) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6) @@ -27,13 +27,13 @@ AdaptiveSparkPlan (126) : +- ^ ShuffleQueryStage (59) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (55) : :- ^ InputIteratorTransformer (31) : : +- ^ InputAdapter (30) : : +- ^ ShuffleQueryStage (29) : : +- ColumnarExchange (28) : : +- ^ ProjectExecTransformer (26) - : : +- ^ ShuffledHashJoinExecTransformer LeftSemi (25) + : : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (25) : : :- ^ InputIteratorTransformer (16) : : : +- ^ InputAdapter (15) : : : +- ^ ShuffleQueryStage (14) @@ -57,7 +57,7 @@ AdaptiveSparkPlan (126) : +- ^ ProjectExecTransformer (47) : +- ^ RegularHashAggregateExecTransformer (46) : +- ^ RegularHashAggregateExecTransformer (45) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (44) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (44) : :- ^ InputIteratorTransformer (39) : : +- ^ InputAdapter (38) : : +- ^ ShuffleQueryStage (37) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/21.txt index 17fad29860df..0a51e3da621c 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/21.txt @@ -11,19 +11,19 @@ AdaptiveSparkPlan (119) +- ^ ProjectExecTransformer (73) +- ^ FlushableHashAggregateExecTransformer (72) +- ^ ProjectExecTransformer (71) - +- ^ ShuffledHashJoinExecTransformer Inner (70) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (70) :- ^ InputIteratorTransformer (61) : +- ^ InputAdapter (60) : +- ^ ShuffleQueryStage (59) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (55) : :- ^ InputIteratorTransformer (46) : : +- ^ InputAdapter (45) : : +- ^ ShuffleQueryStage (44) : : +- ColumnarExchange (43) : : +- ^ ProjectExecTransformer (41) - : : +- ^ ShuffledHashJoinExecTransformer Inner (40) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (40) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6) @@ -36,8 +36,8 @@ AdaptiveSparkPlan (119) : : +- ^ ShuffleQueryStage (37) : : +- ColumnarExchange (36) : : +- ^ ProjectExecTransformer (34) - : : +- ^ ShuffledHashJoinExecTransformer LeftAnti (33) - : : :- ^ ShuffledHashJoinExecTransformer LeftSemi (24) + : : +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (33) + : : :- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (24) : : : :- ^ InputIteratorTransformer (16) : : : : +- ^ InputAdapter (15) : : : : +- ^ ShuffleQueryStage (14) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/22.txt index 918335dff38b..bc7ca6a0ae16 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (46) +- ^ ProjectExecTransformer (19) +- ^ FlushableHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftAnti (16) + +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (16) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/3.txt index 157e13d105e4..80da568524e6 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/3.txt @@ -7,13 +7,13 @@ AdaptiveSparkPlan (59) +- ^ RegularHashAggregateExecTransformer (35) +- ^ RegularHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/4.txt index 74fca4208dd5..02f119e952b1 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (50) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (17) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/5.txt index c01060f99d4b..d8b833813def 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/5.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (134) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/7.txt index 9cf916718039..77f586cd8897 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/7.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (128) +- ^ ProjectExecTransformer (76) +- ^ FlushableHashAggregateExecTransformer (75) +- ^ ProjectExecTransformer (74) - +- ^ ShuffledHashJoinExecTransformer Inner (73) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (73) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/8.txt index 1e191ae4d23c..845d1ac43a77 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/8.txt @@ -16,43 +16,43 @@ AdaptiveSparkPlan (177) +- ^ ProjectExecTransformer (110) +- ^ FlushableHashAggregateExecTransformer (109) +- ^ ProjectExecTransformer (108) - +- ^ ShuffledHashJoinExecTransformer Inner (107) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (107) :- ^ InputIteratorTransformer (98) : +- ^ InputAdapter (97) : +- ^ ShuffleQueryStage (96) : +- ColumnarExchange (95) : +- ^ ProjectExecTransformer (93) - : +- ^ ShuffledHashJoinExecTransformer Inner (92) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (92) : :- ^ InputIteratorTransformer (83) : : +- ^ InputAdapter (82) : : +- ^ ShuffleQueryStage (81) : : +- ColumnarExchange (80) : : +- ^ ProjectExecTransformer (78) - : : +- ^ ShuffledHashJoinExecTransformer Inner (77) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) : : :- ^ InputIteratorTransformer (68) : : : +- ^ InputAdapter (67) : : : +- ^ ShuffleQueryStage (66) : : : +- ColumnarExchange (65) : : : +- ^ ProjectExecTransformer (63) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : : : :- ^ InputIteratorTransformer (53) : : : : +- ^ InputAdapter (52) : : : : +- ^ ShuffleQueryStage (51) : : : : +- ColumnarExchange (50) : : : : +- ^ ProjectExecTransformer (48) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : : : :- ^ InputIteratorTransformer (38) : : : : : +- ^ InputAdapter (37) : : : : : +- ^ ShuffleQueryStage (36) : : : : : +- ColumnarExchange (35) : : : : : +- ^ ProjectExecTransformer (33) - : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : : : :- ^ InputIteratorTransformer (23) : : : : : : +- ^ InputAdapter (22) : : : : : : +- ^ ShuffleQueryStage (21) : : : : : : +- ColumnarExchange (20) : : : : : : +- ^ ProjectExecTransformer (18) - : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/9.txt index a811b042b603..239cda5088bf 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark32/9.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (133) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/10.txt index ae8759a6b86c..11912c5ca02b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/10.txt @@ -12,19 +12,19 @@ AdaptiveSparkPlan (87) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ ShuffledHashJoinExecTransformer Inner (47) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) :- ^ InputIteratorTransformer (38) : +- ^ InputAdapter (37) : +- ^ ShuffleQueryStage (36), Statistics(X) : +- ColumnarExchange (35) : +- ^ ProjectExecTransformer (33) - : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : :- ^ InputIteratorTransformer (23) : : +- ^ InputAdapter (22) : : +- ^ ShuffleQueryStage (21), Statistics(X) : : +- ColumnarExchange (20) : : +- ^ ProjectExecTransformer (18) - : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/11.txt index 3b6c477c0cf5..6180b1966357 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/11.txt @@ -16,13 +16,13 @@ AdaptiveSparkPlan (72) +- ^ ProjectExecTransformer (35) +- ^ FlushableHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21), Statistics(X) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -387,13 +387,13 @@ AdaptiveSparkPlan (120) +- ^ RegularHashAggregateExecTransformer (99) +- ^ RegularHashAggregateExecTransformer (98) +- ^ ProjectExecTransformer (97) - +- ^ ShuffledHashJoinExecTransformer Inner (96) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (96) :- ^ InputIteratorTransformer (91) : +- ^ InputAdapter (90) : +- ^ ShuffleQueryStage (89), Statistics(X) : +- ColumnarExchange (88) : +- ^ ProjectExecTransformer (86) - : +- ^ ShuffledHashJoinExecTransformer Inner (85) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (85) : :- ^ InputIteratorTransformer (80) : : +- ^ InputAdapter (79) : : +- ^ ShuffleQueryStage (78), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/12.txt index 259ddb368b8d..fad8bed52e6a 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (49) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/13.txt index 3f1309f476d9..c10d12cacb71 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/13.txt @@ -18,7 +18,7 @@ AdaptiveSparkPlan (52) +- ^ RegularHashAggregateExecTransformer (19) +- ^ RegularHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftOuter (16) + +- ^ ShuffledHashJoinExecTransformer LeftOuter BuildLeft (16) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ ShuffleQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/14.txt index 68716942cea8..222f6d64a5e7 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/14.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (35) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/15.txt index a9c9e810dd92..95971f8d36a7 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/15.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (42) +- ShuffleQueryStage (25), Statistics(X) +- ColumnarExchange (24) +- ^ ProjectExecTransformer (22) - +- ^ ShuffledHashJoinExecTransformer Inner (21) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (21) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/16.txt index f4b4bc81f48f..39563ad3bf98 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (64) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/17.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/17.txt index 50c9d211b3d3..1342964d7f91 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/17.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/17.txt @@ -6,9 +6,9 @@ AdaptiveSparkPlan (57) +- ^ RegularHashAggregateExecTransformer (34) +- ^ RegularHashAggregateExecTransformer (33) +- ^ ProjectExecTransformer (32) - +- ^ ShuffledHashJoinExecTransformer Inner (31) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (31) :- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/18.txt index a29b40d1e996..d45968ecc14a 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/18.txt @@ -6,13 +6,13 @@ AdaptiveSparkPlan (97) +- ^ RegularHashAggregateExecTransformer (61) +- ^ RegularHashAggregateExecTransformer (60) +- ^ ProjectExecTransformer (59) - +- ^ ShuffledHashJoinExecTransformer Inner (58) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (58) :- ^ InputIteratorTransformer (41) : +- ^ InputAdapter (40) : +- ^ ShuffleQueryStage (39), Statistics(X) : +- ColumnarExchange (38) : +- ^ ProjectExecTransformer (36) - : +- ^ ShuffledHashJoinExecTransformer Inner (35) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (35) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -25,7 +25,7 @@ AdaptiveSparkPlan (97) : +- ^ ShuffleQueryStage (32), Statistics(X) : +- ColumnarExchange (31) : +- ^ ProjectExecTransformer (29) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (28) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (28) : :- ^ InputIteratorTransformer (16) : : +- ^ InputAdapter (15) : : +- ^ ShuffleQueryStage (14), Statistics(X) @@ -43,7 +43,7 @@ AdaptiveSparkPlan (97) : +- ^ ProjectExecTransformer (19) : +- ^ FlushableHashAggregateExecTransformer (18) : +- ^ Scan parquet (17) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (57) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (57) :- ^ InputIteratorTransformer (49) : +- ^ InputAdapter (48) : +- ^ ShuffleQueryStage (47), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/19.txt index 69b8adaee61d..bdb709493df4 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/19.txt @@ -5,7 +5,7 @@ AdaptiveSparkPlan (34) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/20.txt index 4fa43644b568..72107db4e377 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/20.txt @@ -6,13 +6,13 @@ AdaptiveSparkPlan (123) +- ShuffleQueryStage (81), Statistics(X) +- ColumnarExchange (80) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (62) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (62) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -25,13 +25,13 @@ AdaptiveSparkPlan (123) : +- ^ ShuffleQueryStage (59), Statistics(X) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (55) : :- ^ InputIteratorTransformer (31) : : +- ^ InputAdapter (30) : : +- ^ ShuffleQueryStage (29), Statistics(X) : : +- ColumnarExchange (28) : : +- ^ ProjectExecTransformer (26) - : : +- ^ ShuffledHashJoinExecTransformer LeftSemi (25) + : : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (25) : : :- ^ InputIteratorTransformer (16) : : : +- ^ InputAdapter (15) : : : +- ^ ShuffleQueryStage (14), Statistics(X) @@ -55,7 +55,7 @@ AdaptiveSparkPlan (123) : +- ^ ProjectExecTransformer (47) : +- ^ RegularHashAggregateExecTransformer (46) : +- ^ RegularHashAggregateExecTransformer (45) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (44) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (44) : :- ^ InputIteratorTransformer (39) : : +- ^ InputAdapter (38) : : +- ^ ShuffleQueryStage (37), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/21.txt index f17e6fa164a8..b53c6c158fe9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/21.txt @@ -10,19 +10,19 @@ AdaptiveSparkPlan (118) +- ^ ProjectExecTransformer (73) +- ^ FlushableHashAggregateExecTransformer (72) +- ^ ProjectExecTransformer (71) - +- ^ ShuffledHashJoinExecTransformer Inner (70) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (70) :- ^ InputIteratorTransformer (61) : +- ^ InputAdapter (60) : +- ^ ShuffleQueryStage (59), Statistics(X) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (55) : :- ^ InputIteratorTransformer (46) : : +- ^ InputAdapter (45) : : +- ^ ShuffleQueryStage (44), Statistics(X) : : +- ColumnarExchange (43) : : +- ^ ProjectExecTransformer (41) - : : +- ^ ShuffledHashJoinExecTransformer Inner (40) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (40) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -35,8 +35,8 @@ AdaptiveSparkPlan (118) : : +- ^ ShuffleQueryStage (37), Statistics(X) : : +- ColumnarExchange (36) : : +- ^ ProjectExecTransformer (34) - : : +- ^ ShuffledHashJoinExecTransformer LeftAnti (33) - : : :- ^ ShuffledHashJoinExecTransformer LeftSemi (24) + : : +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (33) + : : :- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (24) : : : :- ^ InputIteratorTransformer (16) : : : : +- ^ InputAdapter (15) : : : : +- ^ ShuffleQueryStage (14), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/22.txt index f8ce5b6c7485..c63d8516f6a6 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (46) +- ^ ProjectExecTransformer (19) +- ^ FlushableHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftAnti (16) + +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (16) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/3.txt index 8492e97cdbcc..9461041ef2b0 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/3.txt @@ -7,13 +7,13 @@ AdaptiveSparkPlan (59) +- ^ RegularHashAggregateExecTransformer (35) +- ^ RegularHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21), Statistics(X) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/4.txt index 22e9480fffc8..3c4e85011fd3 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (50) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (17) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/5.txt index 59273229a1ae..677e44e3e6a8 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/5.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (134) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/7.txt index 2aa77120c693..8a8f2442f25c 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/7.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (128) +- ^ ProjectExecTransformer (76) +- ^ FlushableHashAggregateExecTransformer (75) +- ^ ProjectExecTransformer (74) - +- ^ ShuffledHashJoinExecTransformer Inner (73) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (73) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/8.txt index ab8ef221e503..2e6e8038f633 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/8.txt @@ -16,43 +16,43 @@ AdaptiveSparkPlan (177) +- ^ ProjectExecTransformer (110) +- ^ FlushableHashAggregateExecTransformer (109) +- ^ ProjectExecTransformer (108) - +- ^ ShuffledHashJoinExecTransformer Inner (107) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (107) :- ^ InputIteratorTransformer (98) : +- ^ InputAdapter (97) : +- ^ ShuffleQueryStage (96), Statistics(X) : +- ColumnarExchange (95) : +- ^ ProjectExecTransformer (93) - : +- ^ ShuffledHashJoinExecTransformer Inner (92) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (92) : :- ^ InputIteratorTransformer (83) : : +- ^ InputAdapter (82) : : +- ^ ShuffleQueryStage (81), Statistics(X) : : +- ColumnarExchange (80) : : +- ^ ProjectExecTransformer (78) - : : +- ^ ShuffledHashJoinExecTransformer Inner (77) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) : : :- ^ InputIteratorTransformer (68) : : : +- ^ InputAdapter (67) : : : +- ^ ShuffleQueryStage (66), Statistics(X) : : : +- ColumnarExchange (65) : : : +- ^ ProjectExecTransformer (63) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : : : :- ^ InputIteratorTransformer (53) : : : : +- ^ InputAdapter (52) : : : : +- ^ ShuffleQueryStage (51), Statistics(X) : : : : +- ColumnarExchange (50) : : : : +- ^ ProjectExecTransformer (48) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : : : :- ^ InputIteratorTransformer (38) : : : : : +- ^ InputAdapter (37) : : : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : : : +- ColumnarExchange (35) : : : : : +- ^ ProjectExecTransformer (33) - : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : : : :- ^ InputIteratorTransformer (23) : : : : : : +- ^ InputAdapter (22) : : : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : : : +- ColumnarExchange (20) : : : : : : +- ^ ProjectExecTransformer (18) - : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/9.txt index 08e6c30a8da3..48b91754df6c 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark33/9.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (133) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/10.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/10.txt index 873710be9a02..869bb7de0e36 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/10.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/10.txt @@ -12,19 +12,19 @@ AdaptiveSparkPlan (87) +- ^ ProjectExecTransformer (50) +- ^ FlushableHashAggregateExecTransformer (49) +- ^ ProjectExecTransformer (48) - +- ^ ShuffledHashJoinExecTransformer Inner (47) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) :- ^ InputIteratorTransformer (38) : +- ^ InputAdapter (37) : +- ^ ShuffleQueryStage (36), Statistics(X) : +- ColumnarExchange (35) : +- ^ ProjectExecTransformer (33) - : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : :- ^ InputIteratorTransformer (23) : : +- ^ InputAdapter (22) : : +- ^ ShuffleQueryStage (21), Statistics(X) : : +- ColumnarExchange (20) : : +- ^ ProjectExecTransformer (18) - : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/11.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/11.txt index bfe059a11c11..494978555e23 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/11.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/11.txt @@ -16,13 +16,13 @@ AdaptiveSparkPlan (72) +- ^ ProjectExecTransformer (35) +- ^ FlushableHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21), Statistics(X) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -391,13 +391,13 @@ AdaptiveSparkPlan (120) +- ^ RegularHashAggregateExecTransformer (99) +- ^ RegularHashAggregateExecTransformer (98) +- ^ ProjectExecTransformer (97) - +- ^ ShuffledHashJoinExecTransformer Inner (96) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (96) :- ^ InputIteratorTransformer (91) : +- ^ InputAdapter (90) : +- ^ ShuffleQueryStage (89), Statistics(X) : +- ColumnarExchange (88) : +- ^ ProjectExecTransformer (86) - : +- ^ ShuffledHashJoinExecTransformer Inner (85) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (85) : :- ^ InputIteratorTransformer (80) : : +- ^ InputAdapter (79) : : +- ^ ShuffleQueryStage (78), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/12.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/12.txt index 85c06695e147..6e4c7befbe03 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/12.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/12.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (49) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/13.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/13.txt index c3526c707e4b..ab591d0dceee 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/13.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/13.txt @@ -18,7 +18,7 @@ AdaptiveSparkPlan (52) +- ^ RegularHashAggregateExecTransformer (19) +- ^ RegularHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftOuter (16) + +- ^ ShuffledHashJoinExecTransformer LeftOuter BuildLeft (16) :- ^ InputIteratorTransformer (7) : +- ^ InputAdapter (6) : +- ^ ShuffleQueryStage (5), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/14.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/14.txt index fd8974a5b6cb..76297b4084f8 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/14.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/14.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (35) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/15.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/15.txt index 8fd855a59c42..88f14fb60ce6 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/15.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/15.txt @@ -6,7 +6,7 @@ AdaptiveSparkPlan (42) +- ShuffleQueryStage (25), Statistics(X) +- ColumnarExchange (24) +- ^ ProjectExecTransformer (22) - +- ^ ShuffledHashJoinExecTransformer Inner (21) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (21) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/16.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/16.txt index 498c1e83e15b..cc862d451070 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/16.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/16.txt @@ -22,7 +22,7 @@ AdaptiveSparkPlan (64) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/17.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/17.txt index f15f42b69cd8..a49104ee6fc6 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/17.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/17.txt @@ -6,9 +6,9 @@ AdaptiveSparkPlan (57) +- ^ RegularHashAggregateExecTransformer (34) +- ^ RegularHashAggregateExecTransformer (33) +- ^ ProjectExecTransformer (32) - +- ^ ShuffledHashJoinExecTransformer Inner (31) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (31) :- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/18.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/18.txt index ad97ed4013f0..c599a4c246b3 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/18.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/18.txt @@ -6,13 +6,13 @@ AdaptiveSparkPlan (97) +- ^ RegularHashAggregateExecTransformer (61) +- ^ RegularHashAggregateExecTransformer (60) +- ^ ProjectExecTransformer (59) - +- ^ ShuffledHashJoinExecTransformer Inner (58) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (58) :- ^ InputIteratorTransformer (41) : +- ^ InputAdapter (40) : +- ^ ShuffleQueryStage (39), Statistics(X) : +- ColumnarExchange (38) : +- ^ ProjectExecTransformer (36) - : +- ^ ShuffledHashJoinExecTransformer Inner (35) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (35) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -25,7 +25,7 @@ AdaptiveSparkPlan (97) : +- ^ ShuffleQueryStage (32), Statistics(X) : +- ColumnarExchange (31) : +- ^ ProjectExecTransformer (29) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (28) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (28) : :- ^ InputIteratorTransformer (16) : : +- ^ InputAdapter (15) : : +- ^ ShuffleQueryStage (14), Statistics(X) @@ -43,7 +43,7 @@ AdaptiveSparkPlan (97) : +- ^ ProjectExecTransformer (19) : +- ^ FlushableHashAggregateExecTransformer (18) : +- ^ Scan parquet (17) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (57) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (57) :- ^ InputIteratorTransformer (49) : +- ^ InputAdapter (48) : +- ^ ShuffleQueryStage (47), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/19.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/19.txt index 4b5c20d3a1b1..214230b1bba6 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/19.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/19.txt @@ -5,7 +5,7 @@ AdaptiveSparkPlan (34) +- ^ RegularHashAggregateExecTransformer (20) +- ^ RegularHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer Inner (17) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/20.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/20.txt index 17f48f8ffa72..85eafca643b9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/20.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/20.txt @@ -6,13 +6,13 @@ AdaptiveSparkPlan (123) +- ShuffleQueryStage (81), Statistics(X) +- ColumnarExchange (80) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (62) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (62) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -25,13 +25,13 @@ AdaptiveSparkPlan (123) : +- ^ ShuffleQueryStage (59), Statistics(X) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (55) : :- ^ InputIteratorTransformer (31) : : +- ^ InputAdapter (30) : : +- ^ ShuffleQueryStage (29), Statistics(X) : : +- ColumnarExchange (28) : : +- ^ ProjectExecTransformer (26) - : : +- ^ ShuffledHashJoinExecTransformer LeftSemi (25) + : : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (25) : : :- ^ InputIteratorTransformer (16) : : : +- ^ InputAdapter (15) : : : +- ^ ShuffleQueryStage (14), Statistics(X) @@ -55,7 +55,7 @@ AdaptiveSparkPlan (123) : +- ^ ProjectExecTransformer (47) : +- ^ RegularHashAggregateExecTransformer (46) : +- ^ RegularHashAggregateExecTransformer (45) - : +- ^ ShuffledHashJoinExecTransformer LeftSemi (44) + : +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (44) : :- ^ InputIteratorTransformer (39) : : +- ^ InputAdapter (38) : : +- ^ ShuffleQueryStage (37), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/21.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/21.txt index 7b5d71ec6d26..04a1a76967b9 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/21.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/21.txt @@ -10,19 +10,19 @@ AdaptiveSparkPlan (118) +- ^ ProjectExecTransformer (73) +- ^ FlushableHashAggregateExecTransformer (72) +- ^ ProjectExecTransformer (71) - +- ^ ShuffledHashJoinExecTransformer Inner (70) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (70) :- ^ InputIteratorTransformer (61) : +- ^ InputAdapter (60) : +- ^ ShuffleQueryStage (59), Statistics(X) : +- ColumnarExchange (58) : +- ^ ProjectExecTransformer (56) - : +- ^ ShuffledHashJoinExecTransformer Inner (55) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (55) : :- ^ InputIteratorTransformer (46) : : +- ^ InputAdapter (45) : : +- ^ ShuffleQueryStage (44), Statistics(X) : : +- ColumnarExchange (43) : : +- ^ ProjectExecTransformer (41) - : : +- ^ ShuffledHashJoinExecTransformer Inner (40) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (40) : : :- ^ InputIteratorTransformer (8) : : : +- ^ InputAdapter (7) : : : +- ^ ShuffleQueryStage (6), Statistics(X) @@ -35,8 +35,8 @@ AdaptiveSparkPlan (118) : : +- ^ ShuffleQueryStage (37), Statistics(X) : : +- ColumnarExchange (36) : : +- ^ ProjectExecTransformer (34) - : : +- ^ ShuffledHashJoinExecTransformer LeftAnti (33) - : : :- ^ ShuffledHashJoinExecTransformer LeftSemi (24) + : : +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (33) + : : :- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (24) : : : :- ^ InputIteratorTransformer (16) : : : : +- ^ InputAdapter (15) : : : : +- ^ ShuffleQueryStage (14), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/22.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/22.txt index 86f293b4ff07..864c9a3d40a4 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/22.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/22.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (46) +- ^ ProjectExecTransformer (19) +- ^ FlushableHashAggregateExecTransformer (18) +- ^ ProjectExecTransformer (17) - +- ^ ShuffledHashJoinExecTransformer LeftAnti (16) + +- ^ ShuffledHashJoinExecTransformer LeftAnti BuildRight (16) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/3.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/3.txt index 0c75b0257aba..d25da8196eb2 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/3.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/3.txt @@ -7,13 +7,13 @@ AdaptiveSparkPlan (59) +- ^ RegularHashAggregateExecTransformer (35) +- ^ RegularHashAggregateExecTransformer (34) +- ^ ProjectExecTransformer (33) - +- ^ ShuffledHashJoinExecTransformer Inner (32) + +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) :- ^ InputIteratorTransformer (23) : +- ^ InputAdapter (22) : +- ^ ShuffleQueryStage (21), Statistics(X) : +- ColumnarExchange (20) : +- ^ ProjectExecTransformer (18) - : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : :- ^ InputIteratorTransformer (8) : : +- ^ InputAdapter (7) : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/4.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/4.txt index ee47fca61115..43af17cfcc73 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/4.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/4.txt @@ -15,7 +15,7 @@ AdaptiveSparkPlan (50) +- ^ ProjectExecTransformer (20) +- ^ FlushableHashAggregateExecTransformer (19) +- ^ ProjectExecTransformer (18) - +- ^ ShuffledHashJoinExecTransformer LeftSemi (17) + +- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (17) :- ^ InputIteratorTransformer (8) : +- ^ InputAdapter (7) : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/5.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/5.txt index 39a8f483f639..dd2a2cc31a75 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/5.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/5.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (134) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/7.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/7.txt index 29c3f048b7f8..32199dcf8e1b 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/7.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/7.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (128) +- ^ ProjectExecTransformer (76) +- ^ FlushableHashAggregateExecTransformer (75) +- ^ ProjectExecTransformer (74) - +- ^ ShuffledHashJoinExecTransformer Inner (73) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (73) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/8.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/8.txt index 9c24e9ec5a01..e30d96500f74 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/8.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/8.txt @@ -16,43 +16,43 @@ AdaptiveSparkPlan (177) +- ^ ProjectExecTransformer (110) +- ^ FlushableHashAggregateExecTransformer (109) +- ^ ProjectExecTransformer (108) - +- ^ ShuffledHashJoinExecTransformer Inner (107) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (107) :- ^ InputIteratorTransformer (98) : +- ^ InputAdapter (97) : +- ^ ShuffleQueryStage (96), Statistics(X) : +- ColumnarExchange (95) : +- ^ ProjectExecTransformer (93) - : +- ^ ShuffledHashJoinExecTransformer Inner (92) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (92) : :- ^ InputIteratorTransformer (83) : : +- ^ InputAdapter (82) : : +- ^ ShuffleQueryStage (81), Statistics(X) : : +- ColumnarExchange (80) : : +- ^ ProjectExecTransformer (78) - : : +- ^ ShuffledHashJoinExecTransformer Inner (77) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) : : :- ^ InputIteratorTransformer (68) : : : +- ^ InputAdapter (67) : : : +- ^ ShuffleQueryStage (66), Statistics(X) : : : +- ColumnarExchange (65) : : : +- ^ ProjectExecTransformer (63) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : : : :- ^ InputIteratorTransformer (53) : : : : +- ^ InputAdapter (52) : : : : +- ^ ShuffleQueryStage (51), Statistics(X) : : : : +- ColumnarExchange (50) : : : : +- ^ ProjectExecTransformer (48) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : : : :- ^ InputIteratorTransformer (38) : : : : : +- ^ InputAdapter (37) : : : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : : : +- ColumnarExchange (35) : : : : : +- ^ ProjectExecTransformer (33) - : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : : : :- ^ InputIteratorTransformer (23) : : : : : : +- ^ InputAdapter (22) : : : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : : : +- ColumnarExchange (20) : : : : : : +- ^ ProjectExecTransformer (18) - : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : : : :- ^ InputIteratorTransformer (8) : : : : : : : +- ^ InputAdapter (7) : : : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/9.txt b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/9.txt index aef854c3549e..4f61f99709bb 100644 --- a/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/9.txt +++ b/backends-velox/src/test/resources/tpch-approved-plan/v1/spark34/9.txt @@ -15,31 +15,31 @@ AdaptiveSparkPlan (133) +- ^ ProjectExecTransformer (80) +- ^ FlushableHashAggregateExecTransformer (79) +- ^ ProjectExecTransformer (78) - +- ^ ShuffledHashJoinExecTransformer Inner (77) + +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (77) :- ^ InputIteratorTransformer (68) : +- ^ InputAdapter (67) : +- ^ ShuffleQueryStage (66), Statistics(X) : +- ColumnarExchange (65) : +- ^ ProjectExecTransformer (63) - : +- ^ ShuffledHashJoinExecTransformer Inner (62) + : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (62) : :- ^ InputIteratorTransformer (53) : : +- ^ InputAdapter (52) : : +- ^ ShuffleQueryStage (51), Statistics(X) : : +- ColumnarExchange (50) : : +- ^ ProjectExecTransformer (48) - : : +- ^ ShuffledHashJoinExecTransformer Inner (47) + : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (47) : : :- ^ InputIteratorTransformer (38) : : : +- ^ InputAdapter (37) : : : +- ^ ShuffleQueryStage (36), Statistics(X) : : : +- ColumnarExchange (35) : : : +- ^ ProjectExecTransformer (33) - : : : +- ^ ShuffledHashJoinExecTransformer Inner (32) + : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (32) : : : :- ^ InputIteratorTransformer (23) : : : : +- ^ InputAdapter (22) : : : : +- ^ ShuffleQueryStage (21), Statistics(X) : : : : +- ColumnarExchange (20) : : : : +- ^ ProjectExecTransformer (18) - : : : : +- ^ ShuffledHashJoinExecTransformer Inner (17) + : : : : +- ^ ShuffledHashJoinExecTransformer Inner BuildLeft (17) : : : : :- ^ InputIteratorTransformer (8) : : : : : +- ^ InputAdapter (7) : : : : : +- ^ ShuffleQueryStage (6), Statistics(X) diff --git a/gluten-core/src/main/scala/org/apache/gluten/execution/JoinExecTransformer.scala b/gluten-core/src/main/scala/org/apache/gluten/execution/JoinExecTransformer.scala index 6c707e5aa974..cd22c578594c 100644 --- a/gluten-core/src/main/scala/org/apache/gluten/execution/JoinExecTransformer.scala +++ b/gluten-core/src/main/scala/org/apache/gluten/execution/JoinExecTransformer.scala @@ -31,7 +31,7 @@ import org.apache.spark.sql.catalyst.expressions._ import org.apache.spark.sql.catalyst.optimizer.{BuildLeft, BuildRight, BuildSide} import org.apache.spark.sql.catalyst.plans._ import org.apache.spark.sql.catalyst.plans.physical._ -import org.apache.spark.sql.execution.{ExpandOutputPartitioningShim, SparkPlan} +import org.apache.spark.sql.execution.{ExpandOutputPartitioningShim, ExplainUtils, SparkPlan} import org.apache.spark.sql.execution.joins.{BaseJoinExec, HashedRelationBroadcastMode, HashJoin} import org.apache.spark.sql.execution.metric.SQLMetric import org.apache.spark.sql.types._ @@ -100,6 +100,11 @@ trait HashJoinLikeExecTransformer extends BaseJoinExec with TransformSupport { def joinBuildSide: BuildSide def hashJoinType: JoinType + override def simpleStringWithNodeId(): String = { + val opId = ExplainUtils.getOpId(this) + s"$nodeName $joinType $joinBuildSide ($opId)".trim + } + // Note: "metrics" is made transient to avoid sending driver-side metrics to tasks. @transient override lazy val metrics: Map[String, SQLMetric] = BackendsApiManager.getMetricsApiInstance.genHashJoinTransformerMetrics(sparkContext) diff --git a/gluten-core/src/main/scala/org/apache/gluten/execution/SortMergeJoinExecTransformer.scala b/gluten-core/src/main/scala/org/apache/gluten/execution/SortMergeJoinExecTransformer.scala index 98b3666f84ba..f032c4ca0087 100644 --- a/gluten-core/src/main/scala/org/apache/gluten/execution/SortMergeJoinExecTransformer.scala +++ b/gluten-core/src/main/scala/org/apache/gluten/execution/SortMergeJoinExecTransformer.scala @@ -55,11 +55,6 @@ abstract class SortMergeJoinExecTransformerBase( val (bufferedKeys, streamedKeys, bufferedPlan, streamedPlan) = (rightKeys, leftKeys, right, left) - override def simpleStringWithNodeId(): String = { - val opId = ExplainUtils.getOpId(this) - s"$nodeName $joinType ($opId)".trim - } - override def verboseStringWithOperatorId(): String = { val joinCondStr = if (condition.isDefined) { s"${condition.get}" @@ -255,7 +250,6 @@ case class SortMergeJoinExecTransformer( projectList) { override protected def doValidateInternal(): ValidationResult = { - val substraitContext = new SubstraitContext // Firstly, need to check if the Substrait plan for this operator can be successfully generated. if (substraitJoinType == JoinRel.JoinType.JOIN_TYPE_OUTER) { return ValidationResult