From d4d61b17d051cd9bf3ddee45bfb4caa367b781f6 Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Sun, 19 May 2024 14:40:38 -0700 Subject: [PATCH] Update plan stability --- .../approved-plans-v1_4/q1/explain.txt | 4 +- .../approved-plans-v1_4/q10/explain.txt | 8 +- .../approved-plans-v1_4/q11/explain.txt | 16 +- .../approved-plans-v1_4/q12/explain.txt | 4 +- .../approved-plans-v1_4/q13/explain.txt | 10 +- .../approved-plans-v1_4/q14a/explain.txt | 20 +- .../approved-plans-v1_4/q14b/explain.txt | 20 +- .../approved-plans-v1_4/q15/explain.txt | 6 +- .../approved-plans-v1_4/q17/explain.txt | 14 +- .../approved-plans-v1_4/q18/explain.txt | 12 +- .../approved-plans-v1_4/q19/explain.txt | 10 +- .../approved-plans-v1_4/q2/explain.txt | 2 +- .../approved-plans-v1_4/q20/explain.txt | 4 +- .../approved-plans-v1_4/q21/explain.txt | 6 +- .../approved-plans-v1_4/q22/explain.txt | 6 +- .../approved-plans-v1_4/q23a/explain.txt | 10 +- .../approved-plans-v1_4/q23b/explain.txt | 10 +- .../approved-plans-v1_4/q25/explain.txt | 14 +- .../approved-plans-v1_4/q26/explain.txt | 8 +- .../approved-plans-v1_4/q27/explain.txt | 8 +- .../approved-plans-v1_4/q29/explain.txt | 14 +- .../approved-plans-v1_4/q3/explain.txt | 4 +- .../approved-plans-v1_4/q30/explain.txt | 8 +- .../approved-plans-v1_4/q31/explain.txt | 24 +- .../approved-plans-v1_4/q32/explain.txt | 4 +- .../approved-plans-v1_4/q33/explain.txt | 20 +- .../approved-plans-v1_4/q34/explain.txt | 6 +- .../approved-plans-v1_4/q35/explain.txt | 8 +- .../approved-plans-v1_4/q36/explain.txt | 6 +- .../approved-plans-v1_4/q37/explain.txt | 6 +- .../approved-plans-v1_4/q38/explain.txt | 12 +- .../approved-plans-v1_4/q39a/explain.txt | 12 +- .../approved-plans-v1_4/q39b/explain.txt | 12 +- .../approved-plans-v1_4/q4/explain.txt | 24 +- .../approved-plans-v1_4/q42/explain.txt | 4 +- .../approved-plans-v1_4/q43/explain.txt | 4 +- .../approved-plans-v1_4/q45/explain.txt | 8 +- .../approved-plans-v1_4/q46/explain.txt | 8 +- .../approved-plans-v1_4/q47/explain.txt | 6 +- .../approved-plans-v1_4/q48/explain.txt | 8 +- .../approved-plans-v1_4/q49/explain.txt | 12 +- .../approved-plans-v1_4/q5/explain.txt | 14 +- .../approved-plans-v1_4/q50/explain.txt | 8 +- .../approved-plans-v1_4/q51/explain.txt | 4 +- .../approved-plans-v1_4/q52/explain.txt | 4 +- .../approved-plans-v1_4/q53/explain.txt | 6 +- .../approved-plans-v1_4/q54/explain.txt | 6 +- .../approved-plans-v1_4/q55/explain.txt | 4 +- .../approved-plans-v1_4/q56/explain.txt | 20 +- .../approved-plans-v1_4/q57/explain.txt | 6 +- .../approved-plans-v1_4/q58/explain.txt | 16 +- .../approved-plans-v1_4/q59/explain.txt | 2 +- .../approved-plans-v1_4/q6/explain.txt | 6 +- .../approved-plans-v1_4/q60/explain.txt | 20 +- .../approved-plans-v1_4/q61/explain.txt | 22 +- .../approved-plans-v1_4/q62/explain.txt | 8 +- .../approved-plans-v1_4/q63/explain.txt | 6 +- .../approved-plans-v1_4/q64/explain.txt | 4 +- .../approved-plans-v1_4/q65/explain.txt | 4 +- .../approved-plans-v1_4/q66/explain.txt | 16 +- .../approved-plans-v1_4/q67/explain.txt | 6 +- .../approved-plans-v1_4/q68/explain.txt | 8 +- .../approved-plans-v1_4/q69/explain.txt | 250 ++++++++++-------- .../approved-plans-v1_4/q69/simplified.txt | 78 +++--- .../approved-plans-v1_4/q7/explain.txt | 8 +- .../approved-plans-v1_4/q70/explain.txt | 6 +- .../approved-plans-v1_4/q71/explain.txt | 10 +- .../approved-plans-v1_4/q72/explain.txt | 14 +- .../approved-plans-v1_4/q73/explain.txt | 6 +- .../approved-plans-v1_4/q74/explain.txt | 16 +- .../approved-plans-v1_4/q75/explain.txt | 24 +- .../approved-plans-v1_4/q76/explain.txt | 12 +- .../approved-plans-v1_4/q77/explain.txt | 20 +- .../approved-plans-v1_4/q79/explain.txt | 6 +- .../approved-plans-v1_4/q8/explain.txt | 6 +- .../approved-plans-v1_4/q81/explain.txt | 8 +- .../approved-plans-v1_4/q82/explain.txt | 6 +- .../approved-plans-v1_4/q83/explain.txt | 18 +- .../approved-plans-v1_4/q84/explain.txt | 10 +- .../approved-plans-v1_4/q85/explain.txt | 14 +- .../approved-plans-v1_4/q86/explain.txt | 4 +- .../approved-plans-v1_4/q87/explain.txt | 12 +- .../approved-plans-v1_4/q88/explain.txt | 48 ++-- .../approved-plans-v1_4/q89/explain.txt | 6 +- .../approved-plans-v1_4/q90/explain.txt | 12 +- .../approved-plans-v1_4/q91/explain.txt | 12 +- .../approved-plans-v1_4/q92/explain.txt | 4 +- .../approved-plans-v1_4/q96/explain.txt | 6 +- .../approved-plans-v1_4/q97/explain.txt | 4 +- .../approved-plans-v1_4/q98/explain.txt | 4 +- .../approved-plans-v1_4/q99/explain.txt | 8 +- .../approved-plans-v2_7/q10a/explain.txt | 14 +- .../approved-plans-v2_7/q11/explain.txt | 16 +- .../approved-plans-v2_7/q12/explain.txt | 4 +- .../approved-plans-v2_7/q14/explain.txt | 20 +- .../approved-plans-v2_7/q14a/explain.txt | 20 +- .../approved-plans-v2_7/q18a/explain.txt | 60 ++--- .../approved-plans-v2_7/q20/explain.txt | 4 +- .../approved-plans-v2_7/q22/explain.txt | 4 +- .../approved-plans-v2_7/q22a/explain.txt | 6 +- .../approved-plans-v2_7/q27a/explain.txt | 24 +- .../approved-plans-v2_7/q34/explain.txt | 6 +- .../approved-plans-v2_7/q35/explain.txt | 8 +- .../approved-plans-v2_7/q35a/explain.txt | 14 +- .../approved-plans-v2_7/q36a/explain.txt | 6 +- .../approved-plans-v2_7/q47/explain.txt | 6 +- .../approved-plans-v2_7/q49/explain.txt | 12 +- .../approved-plans-v2_7/q51a/explain.txt | 4 +- .../approved-plans-v2_7/q57/explain.txt | 6 +- .../approved-plans-v2_7/q5a/explain.txt | 14 +- .../approved-plans-v2_7/q6/explain.txt | 6 +- .../approved-plans-v2_7/q64/explain.txt | 4 +- .../approved-plans-v2_7/q67a/explain.txt | 6 +- .../approved-plans-v2_7/q70a/explain.txt | 6 +- .../approved-plans-v2_7/q72/explain.txt | 14 +- .../approved-plans-v2_7/q74/explain.txt | 16 +- .../approved-plans-v2_7/q75/explain.txt | 24 +- .../approved-plans-v2_7/q77a/explain.txt | 20 +- .../approved-plans-v2_7/q86a/explain.txt | 4 +- .../approved-plans-v2_7/q98/explain.txt | 4 +- 120 files changed, 807 insertions(+), 769 deletions(-) diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q1/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q1/explain.txt index bef757674..1e60e40c5 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q1/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q1/explain.txt @@ -78,7 +78,7 @@ Arguments: [d_date_sk#6] (7) CometBroadcastHashJoin Left output [4]: [sr_customer_sk#1, sr_store_sk#2, sr_return_amt#3, sr_returned_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [sr_returned_date_sk#4], [d_date_sk#6], Inner +Arguments: [sr_returned_date_sk#4], [d_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [sr_customer_sk#1, sr_store_sk#2, sr_return_amt#3, sr_returned_date_sk#4, d_date_sk#6] @@ -125,7 +125,7 @@ Output [1]: [d_date_sk#6] (17) CometBroadcastHashJoin Left output [4]: [sr_customer_sk#1, sr_store_sk#2, sr_return_amt#3, sr_returned_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [sr_returned_date_sk#4], [d_date_sk#6], Inner +Arguments: [sr_returned_date_sk#4], [d_date_sk#6], Inner, BuildRight (18) CometProject Input [5]: [sr_customer_sk#1, sr_store_sk#2, sr_return_amt#3, sr_returned_date_sk#4, d_date_sk#6] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q10/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q10/explain.txt index 0f1219387..4a29b7260 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q10/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q10/explain.txt @@ -86,7 +86,7 @@ Arguments: [d_date_sk#9] (8) CometBroadcastHashJoin Left output [2]: [ss_customer_sk#6, ss_sold_date_sk#7] Right output [1]: [d_date_sk#9] -Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner +Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner, BuildRight (9) CometProject Input [3]: [ss_customer_sk#6, ss_sold_date_sk#7, d_date_sk#9] @@ -99,7 +99,7 @@ Arguments: [ss_customer_sk#6] (11) CometBroadcastHashJoin Left output [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5] Right output [1]: [ss_customer_sk#6] -Arguments: [c_customer_sk#3], [ss_customer_sk#6], LeftSemi +Arguments: [c_customer_sk#3], [ss_customer_sk#6], LeftSemi, BuildRight (12) ColumnarToRow [codegen id : 5] Input [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5] @@ -117,7 +117,7 @@ Output [1]: [d_date_sk#15] (15) CometBroadcastHashJoin Left output [2]: [ws_bill_customer_sk#12, ws_sold_date_sk#13] Right output [1]: [d_date_sk#15] -Arguments: [ws_sold_date_sk#13], [d_date_sk#15], Inner +Arguments: [ws_sold_date_sk#13], [d_date_sk#15], Inner, BuildRight (16) CometProject Input [3]: [ws_bill_customer_sk#12, ws_sold_date_sk#13, d_date_sk#15] @@ -149,7 +149,7 @@ Output [1]: [d_date_sk#19] (22) CometBroadcastHashJoin Left output [2]: [cs_ship_customer_sk#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#19] -Arguments: [cs_sold_date_sk#17], [d_date_sk#19], Inner +Arguments: [cs_sold_date_sk#17], [d_date_sk#19], Inner, BuildRight (23) CometProject Input [3]: [cs_ship_customer_sk#16, cs_sold_date_sk#17, d_date_sk#19] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q11/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q11/explain.txt index e403ab61f..1c5d5222e 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q11/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q11/explain.txt @@ -103,7 +103,7 @@ Arguments: [ss_customer_sk#9, ss_ext_discount_amt#10, ss_ext_list_price#11, ss_s (6) CometBroadcastHashJoin Left output [8]: [c_customer_sk#1, c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8] Right output [4]: [ss_customer_sk#9, ss_ext_discount_amt#10, ss_ext_list_price#11, ss_sold_date_sk#12] -Arguments: [c_customer_sk#1], [ss_customer_sk#9], Inner +Arguments: [c_customer_sk#1], [ss_customer_sk#9], Inner, BuildRight (7) CometProject Input [12]: [c_customer_sk#1, c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8, ss_customer_sk#9, ss_ext_discount_amt#10, ss_ext_list_price#11, ss_sold_date_sk#12] @@ -127,7 +127,7 @@ Arguments: [d_date_sk#14, d_year#15] (11) CometBroadcastHashJoin Left output [10]: [c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8, ss_ext_discount_amt#10, ss_ext_list_price#11, ss_sold_date_sk#12] Right output [2]: [d_date_sk#14, d_year#15] -Arguments: [ss_sold_date_sk#12], [d_date_sk#14], Inner +Arguments: [ss_sold_date_sk#12], [d_date_sk#14], Inner, BuildRight (12) CometProject Input [12]: [c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8, ss_ext_discount_amt#10, ss_ext_list_price#11, ss_sold_date_sk#12, d_date_sk#14, d_year#15] @@ -186,7 +186,7 @@ Arguments: [ss_customer_sk#28, ss_ext_discount_amt#29, ss_ext_list_price#30, ss_ (23) CometBroadcastHashJoin Left output [8]: [c_customer_sk#20, c_customer_id#21, c_first_name#22, c_last_name#23, c_preferred_cust_flag#24, c_birth_country#25, c_login#26, c_email_address#27] Right output [4]: [ss_customer_sk#28, ss_ext_discount_amt#29, ss_ext_list_price#30, ss_sold_date_sk#31] -Arguments: [c_customer_sk#20], [ss_customer_sk#28], Inner +Arguments: [c_customer_sk#20], [ss_customer_sk#28], Inner, BuildRight (24) CometProject Input [12]: [c_customer_sk#20, c_customer_id#21, c_first_name#22, c_last_name#23, c_preferred_cust_flag#24, c_birth_country#25, c_login#26, c_email_address#27, ss_customer_sk#28, ss_ext_discount_amt#29, ss_ext_list_price#30, ss_sold_date_sk#31] @@ -210,7 +210,7 @@ Arguments: [d_date_sk#33, d_year#34] (28) CometBroadcastHashJoin Left output [10]: [c_customer_id#21, c_first_name#22, c_last_name#23, c_preferred_cust_flag#24, c_birth_country#25, c_login#26, c_email_address#27, ss_ext_discount_amt#29, ss_ext_list_price#30, ss_sold_date_sk#31] Right output [2]: [d_date_sk#33, d_year#34] -Arguments: [ss_sold_date_sk#31], [d_date_sk#33], Inner +Arguments: [ss_sold_date_sk#31], [d_date_sk#33], Inner, BuildRight (29) CometProject Input [12]: [c_customer_id#21, c_first_name#22, c_last_name#23, c_preferred_cust_flag#24, c_birth_country#25, c_login#26, c_email_address#27, ss_ext_discount_amt#29, ss_ext_list_price#30, ss_sold_date_sk#31, d_date_sk#33, d_year#34] @@ -279,7 +279,7 @@ Arguments: [ws_bill_customer_sk#47, ws_ext_discount_amt#48, ws_ext_list_price#49 (42) CometBroadcastHashJoin Left output [8]: [c_customer_sk#39, c_customer_id#40, c_first_name#41, c_last_name#42, c_preferred_cust_flag#43, c_birth_country#44, c_login#45, c_email_address#46] Right output [4]: [ws_bill_customer_sk#47, ws_ext_discount_amt#48, ws_ext_list_price#49, ws_sold_date_sk#50] -Arguments: [c_customer_sk#39], [ws_bill_customer_sk#47], Inner +Arguments: [c_customer_sk#39], [ws_bill_customer_sk#47], Inner, BuildRight (43) CometProject Input [12]: [c_customer_sk#39, c_customer_id#40, c_first_name#41, c_last_name#42, c_preferred_cust_flag#43, c_birth_country#44, c_login#45, c_email_address#46, ws_bill_customer_sk#47, ws_ext_discount_amt#48, ws_ext_list_price#49, ws_sold_date_sk#50] @@ -291,7 +291,7 @@ Output [2]: [d_date_sk#52, d_year#53] (45) CometBroadcastHashJoin Left output [10]: [c_customer_id#40, c_first_name#41, c_last_name#42, c_preferred_cust_flag#43, c_birth_country#44, c_login#45, c_email_address#46, ws_ext_discount_amt#48, ws_ext_list_price#49, ws_sold_date_sk#50] Right output [2]: [d_date_sk#52, d_year#53] -Arguments: [ws_sold_date_sk#50], [d_date_sk#52], Inner +Arguments: [ws_sold_date_sk#50], [d_date_sk#52], Inner, BuildRight (46) CometProject Input [12]: [c_customer_id#40, c_first_name#41, c_last_name#42, c_preferred_cust_flag#43, c_birth_country#44, c_login#45, c_email_address#46, ws_ext_discount_amt#48, ws_ext_list_price#49, ws_sold_date_sk#50, d_date_sk#52, d_year#53] @@ -364,7 +364,7 @@ Arguments: [ws_bill_customer_sk#66, ws_ext_discount_amt#67, ws_ext_list_price#68 (60) CometBroadcastHashJoin Left output [8]: [c_customer_sk#58, c_customer_id#59, c_first_name#60, c_last_name#61, c_preferred_cust_flag#62, c_birth_country#63, c_login#64, c_email_address#65] Right output [4]: [ws_bill_customer_sk#66, ws_ext_discount_amt#67, ws_ext_list_price#68, ws_sold_date_sk#69] -Arguments: [c_customer_sk#58], [ws_bill_customer_sk#66], Inner +Arguments: [c_customer_sk#58], [ws_bill_customer_sk#66], Inner, BuildRight (61) CometProject Input [12]: [c_customer_sk#58, c_customer_id#59, c_first_name#60, c_last_name#61, c_preferred_cust_flag#62, c_birth_country#63, c_login#64, c_email_address#65, ws_bill_customer_sk#66, ws_ext_discount_amt#67, ws_ext_list_price#68, ws_sold_date_sk#69] @@ -376,7 +376,7 @@ Output [2]: [d_date_sk#71, d_year#72] (63) CometBroadcastHashJoin Left output [10]: [c_customer_id#59, c_first_name#60, c_last_name#61, c_preferred_cust_flag#62, c_birth_country#63, c_login#64, c_email_address#65, ws_ext_discount_amt#67, ws_ext_list_price#68, ws_sold_date_sk#69] Right output [2]: [d_date_sk#71, d_year#72] -Arguments: [ws_sold_date_sk#69], [d_date_sk#71], Inner +Arguments: [ws_sold_date_sk#69], [d_date_sk#71], Inner, BuildRight (64) CometProject Input [12]: [c_customer_id#59, c_first_name#60, c_last_name#61, c_preferred_cust_flag#62, c_birth_country#63, c_login#64, c_email_address#65, ws_ext_discount_amt#67, ws_ext_list_price#68, ws_sold_date_sk#69, d_date_sk#71, d_year#72] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q12/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q12/explain.txt index 89a460ee4..160f0c593 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q12/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q12/explain.txt @@ -53,7 +53,7 @@ Arguments: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class# (6) CometBroadcastHashJoin Left output [3]: [ws_item_sk#1, ws_ext_sales_price#2, ws_sold_date_sk#3] Right output [6]: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] -Arguments: [ws_item_sk#1], [i_item_sk#5], Inner +Arguments: [ws_item_sk#1], [i_item_sk#5], Inner, BuildRight (7) CometProject Input [9]: [ws_item_sk#1, ws_ext_sales_price#2, ws_sold_date_sk#3, i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] @@ -81,7 +81,7 @@ Arguments: [d_date_sk#11] (12) CometBroadcastHashJoin Left output [7]: [ws_ext_sales_price#2, ws_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] Right output [1]: [d_date_sk#11] -Arguments: [ws_sold_date_sk#3], [d_date_sk#11], Inner +Arguments: [ws_sold_date_sk#3], [d_date_sk#11], Inner, BuildRight (13) CometProject Input [8]: [ws_ext_sales_price#2, ws_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10, d_date_sk#11] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q13/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q13/explain.txt index dff403a2a..1cda12261 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q13/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q13/explain.txt @@ -64,7 +64,7 @@ Arguments: [s_store_sk#12] (6) CometBroadcastHashJoin Left output [10]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_net_profit#9, ss_sold_date_sk#10] Right output [1]: [s_store_sk#12] -Arguments: [ss_store_sk#4], [s_store_sk#12], Inner +Arguments: [ss_store_sk#4], [s_store_sk#12], Inner, BuildRight (7) CometProject Input [11]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_net_profit#9, ss_sold_date_sk#10, s_store_sk#12] @@ -92,7 +92,7 @@ Arguments: [ca_address_sk#13, ca_state#14] (12) CometBroadcastHashJoin Left output [9]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_net_profit#9, ss_sold_date_sk#10] Right output [2]: [ca_address_sk#13, ca_state#14] -Arguments: [ss_addr_sk#3], [ca_address_sk#13], Inner, ((((ca_state#14 IN (TX,OH) AND (ss_net_profit#9 >= 100.00)) AND (ss_net_profit#9 <= 200.00)) OR ((ca_state#14 IN (OR,NM,KY) AND (ss_net_profit#9 >= 150.00)) AND (ss_net_profit#9 <= 300.00))) OR ((ca_state#14 IN (VA,TX,MS) AND (ss_net_profit#9 >= 50.00)) AND (ss_net_profit#9 <= 250.00))) +Arguments: [ss_addr_sk#3], [ca_address_sk#13], Inner, ((((ca_state#14 IN (TX,OH) AND (ss_net_profit#9 >= 100.00)) AND (ss_net_profit#9 <= 200.00)) OR ((ca_state#14 IN (OR,NM,KY) AND (ss_net_profit#9 >= 150.00)) AND (ss_net_profit#9 <= 300.00))) OR ((ca_state#14 IN (VA,TX,MS) AND (ss_net_profit#9 >= 50.00)) AND (ss_net_profit#9 <= 250.00))), BuildRight (13) CometProject Input [11]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_net_profit#9, ss_sold_date_sk#10, ca_address_sk#13, ca_state#14] @@ -120,7 +120,7 @@ Arguments: [d_date_sk#16] (18) CometBroadcastHashJoin Left output [7]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_sold_date_sk#10] Right output [1]: [d_date_sk#16] -Arguments: [ss_sold_date_sk#10], [d_date_sk#16], Inner +Arguments: [ss_sold_date_sk#10], [d_date_sk#16], Inner, BuildRight (19) CometProject Input [8]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, ss_sold_date_sk#10, d_date_sk#16] @@ -144,7 +144,7 @@ Arguments: [cd_demo_sk#18, cd_marital_status#19, cd_education_status#20] (23) CometBroadcastHashJoin Left output [6]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8] Right output [3]: [cd_demo_sk#18, cd_marital_status#19, cd_education_status#20] -Arguments: [ss_cdemo_sk#1], [cd_demo_sk#18], Inner, ((((((cd_marital_status#19 = M) AND (cd_education_status#20 = Advanced Degree )) AND (ss_sales_price#6 >= 100.00)) AND (ss_sales_price#6 <= 150.00)) OR ((((cd_marital_status#19 = S) AND (cd_education_status#20 = College )) AND (ss_sales_price#6 >= 50.00)) AND (ss_sales_price#6 <= 100.00))) OR ((((cd_marital_status#19 = W) AND (cd_education_status#20 = 2 yr Degree )) AND (ss_sales_price#6 >= 150.00)) AND (ss_sales_price#6 <= 200.00))) +Arguments: [ss_cdemo_sk#1], [cd_demo_sk#18], Inner, ((((((cd_marital_status#19 = M) AND (cd_education_status#20 = Advanced Degree )) AND (ss_sales_price#6 >= 100.00)) AND (ss_sales_price#6 <= 150.00)) OR ((((cd_marital_status#19 = S) AND (cd_education_status#20 = College )) AND (ss_sales_price#6 >= 50.00)) AND (ss_sales_price#6 <= 100.00))) OR ((((cd_marital_status#19 = W) AND (cd_education_status#20 = 2 yr Degree )) AND (ss_sales_price#6 >= 150.00)) AND (ss_sales_price#6 <= 200.00))), BuildRight (24) CometProject Input [9]: [ss_cdemo_sk#1, ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, cd_demo_sk#18, cd_marital_status#19, cd_education_status#20] @@ -168,7 +168,7 @@ Arguments: [hd_demo_sk#21, hd_dep_count#22] (28) CometBroadcastHashJoin Left output [7]: [ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, cd_marital_status#19, cd_education_status#20] Right output [2]: [hd_demo_sk#21, hd_dep_count#22] -Arguments: [ss_hdemo_sk#2], [hd_demo_sk#21], Inner, (((((((cd_marital_status#19 = M) AND (cd_education_status#20 = Advanced Degree )) AND (ss_sales_price#6 >= 100.00)) AND (ss_sales_price#6 <= 150.00)) AND (hd_dep_count#22 = 3)) OR (((((cd_marital_status#19 = S) AND (cd_education_status#20 = College )) AND (ss_sales_price#6 >= 50.00)) AND (ss_sales_price#6 <= 100.00)) AND (hd_dep_count#22 = 1))) OR (((((cd_marital_status#19 = W) AND (cd_education_status#20 = 2 yr Degree )) AND (ss_sales_price#6 >= 150.00)) AND (ss_sales_price#6 <= 200.00)) AND (hd_dep_count#22 = 1))) +Arguments: [ss_hdemo_sk#2], [hd_demo_sk#21], Inner, (((((((cd_marital_status#19 = M) AND (cd_education_status#20 = Advanced Degree )) AND (ss_sales_price#6 >= 100.00)) AND (ss_sales_price#6 <= 150.00)) AND (hd_dep_count#22 = 3)) OR (((((cd_marital_status#19 = S) AND (cd_education_status#20 = College )) AND (ss_sales_price#6 >= 50.00)) AND (ss_sales_price#6 <= 100.00)) AND (hd_dep_count#22 = 1))) OR (((((cd_marital_status#19 = W) AND (cd_education_status#20 = 2 yr Degree )) AND (ss_sales_price#6 >= 150.00)) AND (ss_sales_price#6 <= 200.00)) AND (hd_dep_count#22 = 1))), BuildRight (29) CometProject Input [9]: [ss_hdemo_sk#2, ss_quantity#5, ss_sales_price#6, ss_ext_sales_price#7, ss_ext_wholesale_cost#8, cd_marital_status#19, cd_education_status#20, hd_demo_sk#21, hd_dep_count#22] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q14a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q14a/explain.txt index b38a8fb26..0b4712fc0 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q14a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q14a/explain.txt @@ -188,7 +188,7 @@ Arguments: [i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] (16) CometBroadcastHashJoin Left output [2]: [cs_item_sk#17, cs_sold_date_sk#18] Right output [4]: [i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] -Arguments: [cs_item_sk#17], [i_item_sk#20], Inner +Arguments: [cs_item_sk#17], [i_item_sk#20], Inner, BuildRight (17) CometProject Input [6]: [cs_item_sk#17, cs_sold_date_sk#18, i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] @@ -216,7 +216,7 @@ Arguments: [d_date_sk#24] (22) CometBroadcastHashJoin Left output [4]: [cs_sold_date_sk#18, i_brand_id#21, i_class_id#22, i_category_id#23] Right output [1]: [d_date_sk#24] -Arguments: [cs_sold_date_sk#18], [d_date_sk#24], Inner +Arguments: [cs_sold_date_sk#18], [d_date_sk#24], Inner, BuildRight (23) CometProject Input [5]: [cs_sold_date_sk#18, i_brand_id#21, i_class_id#22, i_category_id#23, d_date_sk#24] @@ -229,7 +229,7 @@ Arguments: [i_brand_id#21, i_class_id#22, i_category_id#23] (25) CometBroadcastHashJoin Left output [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] Right output [3]: [i_brand_id#21, i_class_id#22, i_category_id#23] -Arguments: [coalesce(i_brand_id#14, 0), isnull(i_brand_id#14), coalesce(i_class_id#15, 0), isnull(i_class_id#15), coalesce(i_category_id#16, 0), isnull(i_category_id#16)], [coalesce(i_brand_id#21, 0), isnull(i_brand_id#21), coalesce(i_class_id#22, 0), isnull(i_class_id#22), coalesce(i_category_id#23, 0), isnull(i_category_id#23)], LeftSemi +Arguments: [coalesce(i_brand_id#14, 0), isnull(i_brand_id#14), coalesce(i_class_id#15, 0), isnull(i_class_id#15), coalesce(i_category_id#16, 0), isnull(i_category_id#16)], [coalesce(i_brand_id#21, 0), isnull(i_brand_id#21), coalesce(i_class_id#22, 0), isnull(i_class_id#22), coalesce(i_category_id#23, 0), isnull(i_category_id#23)], LeftSemi, BuildRight (26) CometBroadcastExchange Input [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] @@ -238,7 +238,7 @@ Arguments: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] (27) CometBroadcastHashJoin Left output [2]: [ss_item_sk#10, ss_sold_date_sk#11] Right output [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] -Arguments: [ss_item_sk#10], [i_item_sk#13], Inner +Arguments: [ss_item_sk#10], [i_item_sk#13], Inner, BuildRight (28) CometProject Input [6]: [ss_item_sk#10, ss_sold_date_sk#11, i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] @@ -250,7 +250,7 @@ Output [1]: [d_date_sk#26] (30) CometBroadcastHashJoin Left output [4]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16] Right output [1]: [d_date_sk#26] -Arguments: [ss_sold_date_sk#11], [d_date_sk#26], Inner +Arguments: [ss_sold_date_sk#11], [d_date_sk#26], Inner, BuildRight (31) CometProject Input [5]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16, d_date_sk#26] @@ -293,7 +293,7 @@ Output [4]: [i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] (39) CometBroadcastHashJoin Left output [2]: [ws_item_sk#30, ws_sold_date_sk#31] Right output [4]: [i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] -Arguments: [ws_item_sk#30], [i_item_sk#33], Inner +Arguments: [ws_item_sk#30], [i_item_sk#33], Inner, BuildRight (40) CometProject Input [6]: [ws_item_sk#30, ws_sold_date_sk#31, i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] @@ -305,7 +305,7 @@ Output [1]: [d_date_sk#37] (42) CometBroadcastHashJoin Left output [4]: [ws_sold_date_sk#31, i_brand_id#34, i_class_id#35, i_category_id#36] Right output [1]: [d_date_sk#37] -Arguments: [ws_sold_date_sk#31], [d_date_sk#37], Inner +Arguments: [ws_sold_date_sk#31], [d_date_sk#37], Inner, BuildRight (43) CometProject Input [5]: [ws_sold_date_sk#31, i_brand_id#34, i_class_id#35, i_category_id#36, d_date_sk#37] @@ -639,7 +639,7 @@ Output [1]: [d_date_sk#121] (108) CometBroadcastHashJoin Left output [3]: [ss_quantity#117, ss_list_price#118, ss_sold_date_sk#119] Right output [1]: [d_date_sk#121] -Arguments: [ss_sold_date_sk#119], [d_date_sk#121], Inner +Arguments: [ss_sold_date_sk#119], [d_date_sk#121], Inner, BuildRight (109) CometProject Input [4]: [ss_quantity#117, ss_list_price#118, ss_sold_date_sk#119, d_date_sk#121] @@ -658,7 +658,7 @@ Output [1]: [d_date_sk#128] (112) CometBroadcastHashJoin Left output [3]: [cs_quantity#124, cs_list_price#125, cs_sold_date_sk#126] Right output [1]: [d_date_sk#128] -Arguments: [cs_sold_date_sk#126], [d_date_sk#128], Inner +Arguments: [cs_sold_date_sk#126], [d_date_sk#128], Inner, BuildRight (113) CometProject Input [4]: [cs_quantity#124, cs_list_price#125, cs_sold_date_sk#126, d_date_sk#128] @@ -677,7 +677,7 @@ Output [1]: [d_date_sk#135] (116) CometBroadcastHashJoin Left output [3]: [ws_quantity#131, ws_list_price#132, ws_sold_date_sk#133] Right output [1]: [d_date_sk#135] -Arguments: [ws_sold_date_sk#133], [d_date_sk#135], Inner +Arguments: [ws_sold_date_sk#133], [d_date_sk#135], Inner, BuildRight (117) CometProject Input [4]: [ws_quantity#131, ws_list_price#132, ws_sold_date_sk#133, d_date_sk#135] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q14b/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q14b/explain.txt index 72879a2a9..38ffcaa3a 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q14b/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q14b/explain.txt @@ -167,7 +167,7 @@ Arguments: [i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] (16) CometBroadcastHashJoin Left output [2]: [cs_item_sk#17, cs_sold_date_sk#18] Right output [4]: [i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] -Arguments: [cs_item_sk#17], [i_item_sk#20], Inner +Arguments: [cs_item_sk#17], [i_item_sk#20], Inner, BuildRight (17) CometProject Input [6]: [cs_item_sk#17, cs_sold_date_sk#18, i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] @@ -195,7 +195,7 @@ Arguments: [d_date_sk#24] (22) CometBroadcastHashJoin Left output [4]: [cs_sold_date_sk#18, i_brand_id#21, i_class_id#22, i_category_id#23] Right output [1]: [d_date_sk#24] -Arguments: [cs_sold_date_sk#18], [d_date_sk#24], Inner +Arguments: [cs_sold_date_sk#18], [d_date_sk#24], Inner, BuildRight (23) CometProject Input [5]: [cs_sold_date_sk#18, i_brand_id#21, i_class_id#22, i_category_id#23, d_date_sk#24] @@ -208,7 +208,7 @@ Arguments: [i_brand_id#21, i_class_id#22, i_category_id#23] (25) CometBroadcastHashJoin Left output [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] Right output [3]: [i_brand_id#21, i_class_id#22, i_category_id#23] -Arguments: [coalesce(i_brand_id#14, 0), isnull(i_brand_id#14), coalesce(i_class_id#15, 0), isnull(i_class_id#15), coalesce(i_category_id#16, 0), isnull(i_category_id#16)], [coalesce(i_brand_id#21, 0), isnull(i_brand_id#21), coalesce(i_class_id#22, 0), isnull(i_class_id#22), coalesce(i_category_id#23, 0), isnull(i_category_id#23)], LeftSemi +Arguments: [coalesce(i_brand_id#14, 0), isnull(i_brand_id#14), coalesce(i_class_id#15, 0), isnull(i_class_id#15), coalesce(i_category_id#16, 0), isnull(i_category_id#16)], [coalesce(i_brand_id#21, 0), isnull(i_brand_id#21), coalesce(i_class_id#22, 0), isnull(i_class_id#22), coalesce(i_category_id#23, 0), isnull(i_category_id#23)], LeftSemi, BuildRight (26) CometBroadcastExchange Input [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] @@ -217,7 +217,7 @@ Arguments: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] (27) CometBroadcastHashJoin Left output [2]: [ss_item_sk#10, ss_sold_date_sk#11] Right output [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] -Arguments: [ss_item_sk#10], [i_item_sk#13], Inner +Arguments: [ss_item_sk#10], [i_item_sk#13], Inner, BuildRight (28) CometProject Input [6]: [ss_item_sk#10, ss_sold_date_sk#11, i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] @@ -229,7 +229,7 @@ Output [1]: [d_date_sk#26] (30) CometBroadcastHashJoin Left output [4]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16] Right output [1]: [d_date_sk#26] -Arguments: [ss_sold_date_sk#11], [d_date_sk#26], Inner +Arguments: [ss_sold_date_sk#11], [d_date_sk#26], Inner, BuildRight (31) CometProject Input [5]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16, d_date_sk#26] @@ -272,7 +272,7 @@ Output [4]: [i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] (39) CometBroadcastHashJoin Left output [2]: [ws_item_sk#30, ws_sold_date_sk#31] Right output [4]: [i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] -Arguments: [ws_item_sk#30], [i_item_sk#33], Inner +Arguments: [ws_item_sk#30], [i_item_sk#33], Inner, BuildRight (40) CometProject Input [6]: [ws_item_sk#30, ws_sold_date_sk#31, i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] @@ -284,7 +284,7 @@ Output [1]: [d_date_sk#37] (42) CometBroadcastHashJoin Left output [4]: [ws_sold_date_sk#31, i_brand_id#34, i_class_id#35, i_category_id#36] Right output [1]: [d_date_sk#37] -Arguments: [ws_sold_date_sk#31], [d_date_sk#37], Inner +Arguments: [ws_sold_date_sk#31], [d_date_sk#37], Inner, BuildRight (43) CometProject Input [5]: [ws_sold_date_sk#31, i_brand_id#34, i_class_id#35, i_category_id#36, d_date_sk#37] @@ -520,7 +520,7 @@ Output [1]: [d_date_sk#82] (87) CometBroadcastHashJoin Left output [3]: [ss_quantity#78, ss_list_price#79, ss_sold_date_sk#80] Right output [1]: [d_date_sk#82] -Arguments: [ss_sold_date_sk#80], [d_date_sk#82], Inner +Arguments: [ss_sold_date_sk#80], [d_date_sk#82], Inner, BuildRight (88) CometProject Input [4]: [ss_quantity#78, ss_list_price#79, ss_sold_date_sk#80, d_date_sk#82] @@ -539,7 +539,7 @@ Output [1]: [d_date_sk#89] (91) CometBroadcastHashJoin Left output [3]: [cs_quantity#85, cs_list_price#86, cs_sold_date_sk#87] Right output [1]: [d_date_sk#89] -Arguments: [cs_sold_date_sk#87], [d_date_sk#89], Inner +Arguments: [cs_sold_date_sk#87], [d_date_sk#89], Inner, BuildRight (92) CometProject Input [4]: [cs_quantity#85, cs_list_price#86, cs_sold_date_sk#87, d_date_sk#89] @@ -558,7 +558,7 @@ Output [1]: [d_date_sk#96] (95) CometBroadcastHashJoin Left output [3]: [ws_quantity#92, ws_list_price#93, ws_sold_date_sk#94] Right output [1]: [d_date_sk#96] -Arguments: [ws_sold_date_sk#94], [d_date_sk#96], Inner +Arguments: [ws_sold_date_sk#94], [d_date_sk#96], Inner, BuildRight (96) CometProject Input [4]: [ws_quantity#92, ws_list_price#93, ws_sold_date_sk#94, d_date_sk#96] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q15/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q15/explain.txt index 2206625fd..c4772ea80 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q15/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q15/explain.txt @@ -54,7 +54,7 @@ Arguments: [c_customer_sk#5, c_current_addr_sk#6] (6) CometBroadcastHashJoin Left output [3]: [cs_bill_customer_sk#1, cs_sales_price#2, cs_sold_date_sk#3] Right output [2]: [c_customer_sk#5, c_current_addr_sk#6] -Arguments: [cs_bill_customer_sk#1], [c_customer_sk#5], Inner +Arguments: [cs_bill_customer_sk#1], [c_customer_sk#5], Inner, BuildRight (7) CometProject Input [5]: [cs_bill_customer_sk#1, cs_sales_price#2, cs_sold_date_sk#3, c_customer_sk#5, c_current_addr_sk#6] @@ -78,7 +78,7 @@ Arguments: [ca_address_sk#7, ca_state#8, ca_zip#9] (11) CometBroadcastHashJoin Left output [3]: [cs_sales_price#2, cs_sold_date_sk#3, c_current_addr_sk#6] Right output [3]: [ca_address_sk#7, ca_state#8, ca_zip#9] -Arguments: [c_current_addr_sk#6], [ca_address_sk#7], Inner, ((substr(ca_zip#9, 1, 5) IN (85669,86197,88274,83405,86475,85392,85460,80348,81792) OR ca_state#8 IN (CA,WA,GA)) OR (cs_sales_price#2 > 500.00)) +Arguments: [c_current_addr_sk#6], [ca_address_sk#7], Inner, ((substr(ca_zip#9, 1, 5) IN (85669,86197,88274,83405,86475,85392,85460,80348,81792) OR ca_state#8 IN (CA,WA,GA)) OR (cs_sales_price#2 > 500.00)), BuildRight (12) CometProject Input [6]: [cs_sales_price#2, cs_sold_date_sk#3, c_current_addr_sk#6, ca_address_sk#7, ca_state#8, ca_zip#9] @@ -106,7 +106,7 @@ Arguments: [d_date_sk#10] (17) CometBroadcastHashJoin Left output [3]: [cs_sales_price#2, cs_sold_date_sk#3, ca_zip#9] Right output [1]: [d_date_sk#10] -Arguments: [cs_sold_date_sk#3], [d_date_sk#10], Inner +Arguments: [cs_sold_date_sk#3], [d_date_sk#10], Inner, BuildRight (18) CometProject Input [4]: [cs_sales_price#2, cs_sold_date_sk#3, ca_zip#9, d_date_sk#10] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q17/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q17/explain.txt index c19fde749..8d9edc0a0 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q17/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q17/explain.txt @@ -74,7 +74,7 @@ Arguments: [sr_item_sk#8, sr_customer_sk#9, sr_ticket_number#10, sr_return_quant (6) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_customer_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_quantity#5, ss_sold_date_sk#6] Right output [5]: [sr_item_sk#8, sr_customer_sk#9, sr_ticket_number#10, sr_return_quantity#11, sr_returned_date_sk#12] -Arguments: [ss_customer_sk#2, ss_item_sk#1, ss_ticket_number#4], [sr_customer_sk#9, sr_item_sk#8, sr_ticket_number#10], Inner +Arguments: [ss_customer_sk#2, ss_item_sk#1, ss_ticket_number#4], [sr_customer_sk#9, sr_item_sk#8, sr_ticket_number#10], Inner, BuildRight (7) CometProject Input [11]: [ss_item_sk#1, ss_customer_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_quantity#5, ss_sold_date_sk#6, sr_item_sk#8, sr_customer_sk#9, sr_ticket_number#10, sr_return_quantity#11, sr_returned_date_sk#12] @@ -99,7 +99,7 @@ Arguments: [cs_bill_customer_sk#14, cs_item_sk#15, cs_quantity#16, cs_sold_date_ (11) CometBroadcastHashJoin Left output [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, ss_sold_date_sk#6, sr_item_sk#8, sr_customer_sk#9, sr_return_quantity#11, sr_returned_date_sk#12] Right output [4]: [cs_bill_customer_sk#14, cs_item_sk#15, cs_quantity#16, cs_sold_date_sk#17] -Arguments: [sr_customer_sk#9, sr_item_sk#8], [cs_bill_customer_sk#14, cs_item_sk#15], Inner +Arguments: [sr_customer_sk#9, sr_item_sk#8], [cs_bill_customer_sk#14, cs_item_sk#15], Inner, BuildRight (12) CometProject Input [12]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, ss_sold_date_sk#6, sr_item_sk#8, sr_customer_sk#9, sr_return_quantity#11, sr_returned_date_sk#12, cs_bill_customer_sk#14, cs_item_sk#15, cs_quantity#16, cs_sold_date_sk#17] @@ -127,7 +127,7 @@ Arguments: [d_date_sk#19] (17) CometBroadcastHashJoin Left output [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, ss_sold_date_sk#6, sr_return_quantity#11, sr_returned_date_sk#12, cs_quantity#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#19] -Arguments: [ss_sold_date_sk#6], [d_date_sk#19], Inner +Arguments: [ss_sold_date_sk#6], [d_date_sk#19], Inner, BuildRight (18) CometProject Input [9]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, ss_sold_date_sk#6, sr_return_quantity#11, sr_returned_date_sk#12, cs_quantity#16, cs_sold_date_sk#17, d_date_sk#19] @@ -155,7 +155,7 @@ Arguments: [d_date_sk#21] (23) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, sr_returned_date_sk#12, cs_quantity#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#21] -Arguments: [sr_returned_date_sk#12], [d_date_sk#21], Inner +Arguments: [sr_returned_date_sk#12], [d_date_sk#21], Inner, BuildRight (24) CometProject Input [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, sr_returned_date_sk#12, cs_quantity#16, cs_sold_date_sk#17, d_date_sk#21] @@ -167,7 +167,7 @@ Output [1]: [d_date_sk#23] (26) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, cs_quantity#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#23] -Arguments: [cs_sold_date_sk#17], [d_date_sk#23], Inner +Arguments: [cs_sold_date_sk#17], [d_date_sk#23], Inner, BuildRight (27) CometProject Input [7]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, cs_quantity#16, cs_sold_date_sk#17, d_date_sk#23] @@ -191,7 +191,7 @@ Arguments: [s_store_sk#24, s_state#25] (31) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, cs_quantity#16] Right output [2]: [s_store_sk#24, s_state#25] -Arguments: [ss_store_sk#3], [s_store_sk#24], Inner +Arguments: [ss_store_sk#3], [s_store_sk#24], Inner, BuildRight (32) CometProject Input [7]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, cs_quantity#16, s_store_sk#24, s_state#25] @@ -215,7 +215,7 @@ Arguments: [i_item_sk#26, i_item_id#27, i_item_desc#28] (36) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_quantity#5, sr_return_quantity#11, cs_quantity#16, s_state#25] Right output [3]: [i_item_sk#26, i_item_id#27, i_item_desc#28] -Arguments: [ss_item_sk#1], [i_item_sk#26], Inner +Arguments: [ss_item_sk#1], [i_item_sk#26], Inner, BuildRight (37) CometProject Input [8]: [ss_item_sk#1, ss_quantity#5, sr_return_quantity#11, cs_quantity#16, s_state#25, i_item_sk#26, i_item_id#27, i_item_desc#28] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q18/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q18/explain.txt index b88e615a0..c09ef1445 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q18/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q18/explain.txt @@ -76,7 +76,7 @@ Arguments: [cd_demo_sk#11, cd_dep_count#14] (7) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9] Right output [2]: [cd_demo_sk#11, cd_dep_count#14] -Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner +Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner, BuildRight (8) CometProject Input [11]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_demo_sk#11, cd_dep_count#14] @@ -104,7 +104,7 @@ Arguments: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_bir (13) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14] Right output [4]: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] -Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner +Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner, BuildRight (14) CometProject Input [13]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] @@ -128,7 +128,7 @@ Arguments: [cd_demo_sk#20] (18) CometBroadcastHashJoin Left output [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] Right output [1]: [cd_demo_sk#20] -Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner +Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner, BuildRight (19) CometProject Input [12]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19, cd_demo_sk#20] @@ -152,7 +152,7 @@ Arguments: [ca_address_sk#21, ca_county#22, ca_state#23, ca_country#24] (23) CometBroadcastHashJoin Left output [10]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19] Right output [4]: [ca_address_sk#21, ca_county#22, ca_state#23, ca_country#24] -Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner +Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner, BuildRight (24) CometProject Input [14]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19, ca_address_sk#21, ca_county#22, ca_state#23, ca_country#24] @@ -180,7 +180,7 @@ Arguments: [d_date_sk#25] (29) CometBroadcastHashJoin Left output [12]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19, ca_county#22, ca_state#23, ca_country#24] Right output [1]: [d_date_sk#25] -Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner +Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner, BuildRight (30) CometProject Input [13]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19, ca_county#22, ca_state#23, ca_country#24, d_date_sk#25] @@ -204,7 +204,7 @@ Arguments: [i_item_sk#27, i_item_id#28] (34) CometBroadcastHashJoin Left output [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19, ca_county#22, ca_state#23, ca_country#24] Right output [2]: [i_item_sk#27, i_item_id#28] -Arguments: [cs_item_sk#3], [i_item_sk#27], Inner +Arguments: [cs_item_sk#3], [i_item_sk#27], Inner, BuildRight (35) CometProject Input [13]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19, ca_county#22, ca_state#23, ca_country#24, i_item_sk#27, i_item_id#28] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q19/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q19/explain.txt index d8a2f24f6..a00474bee 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q19/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q19/explain.txt @@ -69,7 +69,7 @@ Arguments: [ss_item_sk#4, ss_customer_sk#5, ss_store_sk#6, ss_ext_sales_price#7, (7) CometBroadcastHashJoin Left output [1]: [d_date_sk#1] Right output [5]: [ss_item_sk#4, ss_customer_sk#5, ss_store_sk#6, ss_ext_sales_price#7, ss_sold_date_sk#8] -Arguments: [d_date_sk#1], [ss_sold_date_sk#8], Inner +Arguments: [d_date_sk#1], [ss_sold_date_sk#8], Inner, BuildRight (8) CometProject Input [6]: [d_date_sk#1, ss_item_sk#4, ss_customer_sk#5, ss_store_sk#6, ss_ext_sales_price#7, ss_sold_date_sk#8] @@ -97,7 +97,7 @@ Arguments: [i_item_sk#9, i_brand_id#10, i_brand#11, i_manufact_id#12, i_manufact (13) CometBroadcastHashJoin Left output [4]: [ss_item_sk#4, ss_customer_sk#5, ss_store_sk#6, ss_ext_sales_price#7] Right output [5]: [i_item_sk#9, i_brand_id#10, i_brand#11, i_manufact_id#12, i_manufact#13] -Arguments: [ss_item_sk#4], [i_item_sk#9], Inner +Arguments: [ss_item_sk#4], [i_item_sk#9], Inner, BuildRight (14) CometProject Input [9]: [ss_item_sk#4, ss_customer_sk#5, ss_store_sk#6, ss_ext_sales_price#7, i_item_sk#9, i_brand_id#10, i_brand#11, i_manufact_id#12, i_manufact#13] @@ -121,7 +121,7 @@ Arguments: [c_customer_sk#15, c_current_addr_sk#16] (18) CometBroadcastHashJoin Left output [7]: [ss_customer_sk#5, ss_store_sk#6, ss_ext_sales_price#7, i_brand_id#10, i_brand#11, i_manufact_id#12, i_manufact#13] Right output [2]: [c_customer_sk#15, c_current_addr_sk#16] -Arguments: [ss_customer_sk#5], [c_customer_sk#15], Inner +Arguments: [ss_customer_sk#5], [c_customer_sk#15], Inner, BuildRight (19) CometProject Input [9]: [ss_customer_sk#5, ss_store_sk#6, ss_ext_sales_price#7, i_brand_id#10, i_brand#11, i_manufact_id#12, i_manufact#13, c_customer_sk#15, c_current_addr_sk#16] @@ -145,7 +145,7 @@ Arguments: [ca_address_sk#17, ca_zip#18] (23) CometBroadcastHashJoin Left output [7]: [ss_store_sk#6, ss_ext_sales_price#7, i_brand_id#10, i_brand#11, i_manufact_id#12, i_manufact#13, c_current_addr_sk#16] Right output [2]: [ca_address_sk#17, ca_zip#18] -Arguments: [c_current_addr_sk#16], [ca_address_sk#17], Inner +Arguments: [c_current_addr_sk#16], [ca_address_sk#17], Inner, BuildRight (24) CometProject Input [9]: [ss_store_sk#6, ss_ext_sales_price#7, i_brand_id#10, i_brand#11, i_manufact_id#12, i_manufact#13, c_current_addr_sk#16, ca_address_sk#17, ca_zip#18] @@ -169,7 +169,7 @@ Arguments: [s_store_sk#19, s_zip#20] (28) CometBroadcastHashJoin Left output [7]: [ss_store_sk#6, ss_ext_sales_price#7, i_brand_id#10, i_brand#11, i_manufact_id#12, i_manufact#13, ca_zip#18] Right output [2]: [s_store_sk#19, s_zip#20] -Arguments: [ss_store_sk#6], [s_store_sk#19], Inner, NOT (substr(ca_zip#18, 1, 5) = substr(s_zip#20, 1, 5)) +Arguments: [ss_store_sk#6], [s_store_sk#19], Inner, NOT (substr(ca_zip#18, 1, 5) = substr(s_zip#20, 1, 5)), BuildRight (29) CometProject Input [9]: [ss_store_sk#6, ss_ext_sales_price#7, i_brand_id#10, i_brand#11, i_manufact_id#12, i_manufact#13, ca_zip#18, s_store_sk#19, s_zip#20] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q2/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q2/explain.txt index 1862fec5c..5c6b73c4c 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q2/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q2/explain.txt @@ -80,7 +80,7 @@ Arguments: [d_date_sk#9, d_week_seq#10, d_day_name#11] (9) CometBroadcastHashJoin Left output [2]: [sold_date_sk#3, sales_price#4] Right output [3]: [d_date_sk#9, d_week_seq#10, d_day_name#11] -Arguments: [sold_date_sk#3], [d_date_sk#9], Inner +Arguments: [sold_date_sk#3], [d_date_sk#9], Inner, BuildRight (10) CometProject Input [5]: [sold_date_sk#3, sales_price#4, d_date_sk#9, d_week_seq#10, d_day_name#11] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q20/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q20/explain.txt index 3875e1328..7c29ff218 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q20/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q20/explain.txt @@ -53,7 +53,7 @@ Arguments: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class# (6) CometBroadcastHashJoin Left output [3]: [cs_item_sk#1, cs_ext_sales_price#2, cs_sold_date_sk#3] Right output [6]: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] -Arguments: [cs_item_sk#1], [i_item_sk#5], Inner +Arguments: [cs_item_sk#1], [i_item_sk#5], Inner, BuildRight (7) CometProject Input [9]: [cs_item_sk#1, cs_ext_sales_price#2, cs_sold_date_sk#3, i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] @@ -81,7 +81,7 @@ Arguments: [d_date_sk#11] (12) CometBroadcastHashJoin Left output [7]: [cs_ext_sales_price#2, cs_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] Right output [1]: [d_date_sk#11] -Arguments: [cs_sold_date_sk#3], [d_date_sk#11], Inner +Arguments: [cs_sold_date_sk#3], [d_date_sk#11], Inner, BuildRight (13) CometProject Input [8]: [cs_ext_sales_price#2, cs_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10, d_date_sk#11] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q21/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q21/explain.txt index ef9cce967..21c979264 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q21/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q21/explain.txt @@ -55,7 +55,7 @@ Arguments: [w_warehouse_sk#6, w_warehouse_name#7] (6) CometBroadcastHashJoin Left output [4]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4] Right output [2]: [w_warehouse_sk#6, w_warehouse_name#7] -Arguments: [inv_warehouse_sk#2], [w_warehouse_sk#6], Inner +Arguments: [inv_warehouse_sk#2], [w_warehouse_sk#6], Inner, BuildRight (7) CometProject Input [6]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4, w_warehouse_sk#6, w_warehouse_name#7] @@ -83,7 +83,7 @@ Arguments: [i_item_sk#8, i_item_id#9] (12) CometBroadcastHashJoin Left output [4]: [inv_item_sk#1, inv_quantity_on_hand#3, inv_date_sk#4, w_warehouse_name#7] Right output [2]: [i_item_sk#8, i_item_id#9] -Arguments: [inv_item_sk#1], [i_item_sk#8], Inner +Arguments: [inv_item_sk#1], [i_item_sk#8], Inner, BuildRight (13) CometProject Input [6]: [inv_item_sk#1, inv_quantity_on_hand#3, inv_date_sk#4, w_warehouse_name#7, i_item_sk#8, i_item_id#9] @@ -107,7 +107,7 @@ Arguments: [d_date_sk#11, d_date#12] (17) CometBroadcastHashJoin Left output [4]: [inv_quantity_on_hand#3, inv_date_sk#4, w_warehouse_name#7, i_item_id#9] Right output [2]: [d_date_sk#11, d_date#12] -Arguments: [inv_date_sk#4], [d_date_sk#11], Inner +Arguments: [inv_date_sk#4], [d_date_sk#11], Inner, BuildRight (18) CometProject Input [6]: [inv_quantity_on_hand#3, inv_date_sk#4, w_warehouse_name#7, i_item_id#9, d_date_sk#11, d_date#12] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q22/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q22/explain.txt index cbded289d..df6a80179 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q22/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q22/explain.txt @@ -59,7 +59,7 @@ Arguments: [d_date_sk#6] (7) CometBroadcastHashJoin Left output [4]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [inv_date_sk#4], [d_date_sk#6], Inner +Arguments: [inv_date_sk#4], [d_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4, d_date_sk#6] @@ -83,7 +83,7 @@ Arguments: [i_item_sk#8, i_brand#9, i_class#10, i_category#11, i_product_name#12 (12) CometBroadcastHashJoin Left output [3]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3] Right output [5]: [i_item_sk#8, i_brand#9, i_class#10, i_category#11, i_product_name#12] -Arguments: [inv_item_sk#1], [i_item_sk#8], Inner +Arguments: [inv_item_sk#1], [i_item_sk#8], Inner, BuildRight (13) CometProject Input [8]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, i_item_sk#8, i_brand#9, i_class#10, i_category#11, i_product_name#12] @@ -107,7 +107,7 @@ Arguments: [w_warehouse_sk#13] (17) CometBroadcastHashJoin Left output [6]: [inv_warehouse_sk#2, inv_quantity_on_hand#3, i_brand#9, i_class#10, i_category#11, i_product_name#12] Right output [1]: [w_warehouse_sk#13] -Arguments: [inv_warehouse_sk#2], [w_warehouse_sk#13], Inner +Arguments: [inv_warehouse_sk#2], [w_warehouse_sk#13], Inner, BuildRight (18) CometProject Input [7]: [inv_warehouse_sk#2, inv_quantity_on_hand#3, i_brand#9, i_class#10, i_category#11, i_product_name#12, w_warehouse_sk#13] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q23a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q23a/explain.txt index 9c5d52d55..560a05db9 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q23a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q23a/explain.txt @@ -112,7 +112,7 @@ Arguments: [d_date_sk#10, d_date#11] (9) CometBroadcastHashJoin Left output [2]: [ss_item_sk#7, ss_sold_date_sk#8] Right output [2]: [d_date_sk#10, d_date#11] -Arguments: [ss_sold_date_sk#8], [d_date_sk#10], Inner +Arguments: [ss_sold_date_sk#8], [d_date_sk#10], Inner, BuildRight (10) CometProject Input [4]: [ss_item_sk#7, ss_sold_date_sk#8, d_date_sk#10, d_date#11] @@ -136,7 +136,7 @@ Arguments: [i_item_sk#13, i_item_desc#14] (14) CometBroadcastHashJoin Left output [2]: [ss_item_sk#7, d_date#11] Right output [2]: [i_item_sk#13, i_item_desc#14] -Arguments: [ss_item_sk#7], [i_item_sk#13], Inner +Arguments: [ss_item_sk#7], [i_item_sk#13], Inner, BuildRight (15) CometProject Input [4]: [ss_item_sk#7, d_date#11, i_item_sk#13, i_item_desc#14] @@ -224,7 +224,7 @@ Arguments: [c_customer_sk#24] (33) CometBroadcastHashJoin Left output [3]: [ss_customer_sk#20, ss_quantity#21, ss_sales_price#22] Right output [1]: [c_customer_sk#24] -Arguments: [ss_customer_sk#20], [c_customer_sk#24], Inner +Arguments: [ss_customer_sk#20], [c_customer_sk#24], Inner, BuildRight (34) CometProject Input [4]: [ss_customer_sk#20, ss_quantity#21, ss_sales_price#22, c_customer_sk#24] @@ -481,7 +481,7 @@ Output [1]: [c_customer_sk#54] (81) CometBroadcastHashJoin Left output [4]: [ss_customer_sk#49, ss_quantity#50, ss_sales_price#51, ss_sold_date_sk#52] Right output [1]: [c_customer_sk#54] -Arguments: [ss_customer_sk#49], [c_customer_sk#54], Inner +Arguments: [ss_customer_sk#49], [c_customer_sk#54], Inner, BuildRight (82) CometProject Input [5]: [ss_customer_sk#49, ss_quantity#50, ss_sales_price#51, ss_sold_date_sk#52, c_customer_sk#54] @@ -509,7 +509,7 @@ Arguments: [d_date_sk#55] (87) CometBroadcastHashJoin Left output [4]: [ss_quantity#50, ss_sales_price#51, ss_sold_date_sk#52, c_customer_sk#54] Right output [1]: [d_date_sk#55] -Arguments: [ss_sold_date_sk#52], [d_date_sk#55], Inner +Arguments: [ss_sold_date_sk#52], [d_date_sk#55], Inner, BuildRight (88) CometProject Input [5]: [ss_quantity#50, ss_sales_price#51, ss_sold_date_sk#52, c_customer_sk#54, d_date_sk#55] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q23b/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q23b/explain.txt index 6411f9eab..beb975753 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q23b/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q23b/explain.txt @@ -138,7 +138,7 @@ Arguments: [d_date_sk#10, d_date#11] (10) CometBroadcastHashJoin Left output [2]: [ss_item_sk#7, ss_sold_date_sk#8] Right output [2]: [d_date_sk#10, d_date#11] -Arguments: [ss_sold_date_sk#8], [d_date_sk#10], Inner +Arguments: [ss_sold_date_sk#8], [d_date_sk#10], Inner, BuildRight (11) CometProject Input [4]: [ss_item_sk#7, ss_sold_date_sk#8, d_date_sk#10, d_date#11] @@ -162,7 +162,7 @@ Arguments: [i_item_sk#13, i_item_desc#14] (15) CometBroadcastHashJoin Left output [2]: [ss_item_sk#7, d_date#11] Right output [2]: [i_item_sk#13, i_item_desc#14] -Arguments: [ss_item_sk#7], [i_item_sk#13], Inner +Arguments: [ss_item_sk#7], [i_item_sk#13], Inner, BuildRight (16) CometProject Input [4]: [ss_item_sk#7, d_date#11, i_item_sk#13, i_item_desc#14] @@ -250,7 +250,7 @@ Arguments: [c_customer_sk#24] (34) CometBroadcastHashJoin Left output [3]: [ss_customer_sk#20, ss_quantity#21, ss_sales_price#22] Right output [1]: [c_customer_sk#24] -Arguments: [ss_customer_sk#20], [c_customer_sk#24], Inner +Arguments: [ss_customer_sk#20], [c_customer_sk#24], Inner, BuildRight (35) CometProject Input [4]: [ss_customer_sk#20, ss_quantity#21, ss_sales_price#22, c_customer_sk#24] @@ -603,7 +603,7 @@ Output [1]: [c_customer_sk#64] (102) CometBroadcastHashJoin Left output [4]: [ss_customer_sk#59, ss_quantity#60, ss_sales_price#61, ss_sold_date_sk#62] Right output [1]: [c_customer_sk#64] -Arguments: [ss_customer_sk#59], [c_customer_sk#64], Inner +Arguments: [ss_customer_sk#59], [c_customer_sk#64], Inner, BuildRight (103) CometProject Input [5]: [ss_customer_sk#59, ss_quantity#60, ss_sales_price#61, ss_sold_date_sk#62, c_customer_sk#64] @@ -631,7 +631,7 @@ Arguments: [d_date_sk#65] (108) CometBroadcastHashJoin Left output [4]: [ss_quantity#60, ss_sales_price#61, ss_sold_date_sk#62, c_customer_sk#64] Right output [1]: [d_date_sk#65] -Arguments: [ss_sold_date_sk#62], [d_date_sk#65], Inner +Arguments: [ss_sold_date_sk#62], [d_date_sk#65], Inner, BuildRight (109) CometProject Input [5]: [ss_quantity#60, ss_sales_price#61, ss_sold_date_sk#62, c_customer_sk#64, d_date_sk#65] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q25/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q25/explain.txt index bba2d61d9..daff22064 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q25/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q25/explain.txt @@ -74,7 +74,7 @@ Arguments: [sr_item_sk#8, sr_customer_sk#9, sr_ticket_number#10, sr_net_loss#11, (6) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_customer_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_net_profit#5, ss_sold_date_sk#6] Right output [5]: [sr_item_sk#8, sr_customer_sk#9, sr_ticket_number#10, sr_net_loss#11, sr_returned_date_sk#12] -Arguments: [ss_customer_sk#2, ss_item_sk#1, ss_ticket_number#4], [sr_customer_sk#9, sr_item_sk#8, sr_ticket_number#10], Inner +Arguments: [ss_customer_sk#2, ss_item_sk#1, ss_ticket_number#4], [sr_customer_sk#9, sr_item_sk#8, sr_ticket_number#10], Inner, BuildRight (7) CometProject Input [11]: [ss_item_sk#1, ss_customer_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_net_profit#5, ss_sold_date_sk#6, sr_item_sk#8, sr_customer_sk#9, sr_ticket_number#10, sr_net_loss#11, sr_returned_date_sk#12] @@ -99,7 +99,7 @@ Arguments: [cs_bill_customer_sk#14, cs_item_sk#15, cs_net_profit#16, cs_sold_dat (11) CometBroadcastHashJoin Left output [8]: [ss_item_sk#1, ss_store_sk#3, ss_net_profit#5, ss_sold_date_sk#6, sr_item_sk#8, sr_customer_sk#9, sr_net_loss#11, sr_returned_date_sk#12] Right output [4]: [cs_bill_customer_sk#14, cs_item_sk#15, cs_net_profit#16, cs_sold_date_sk#17] -Arguments: [sr_customer_sk#9, sr_item_sk#8], [cs_bill_customer_sk#14, cs_item_sk#15], Inner +Arguments: [sr_customer_sk#9, sr_item_sk#8], [cs_bill_customer_sk#14, cs_item_sk#15], Inner, BuildRight (12) CometProject Input [12]: [ss_item_sk#1, ss_store_sk#3, ss_net_profit#5, ss_sold_date_sk#6, sr_item_sk#8, sr_customer_sk#9, sr_net_loss#11, sr_returned_date_sk#12, cs_bill_customer_sk#14, cs_item_sk#15, cs_net_profit#16, cs_sold_date_sk#17] @@ -127,7 +127,7 @@ Arguments: [d_date_sk#19] (17) CometBroadcastHashJoin Left output [8]: [ss_item_sk#1, ss_store_sk#3, ss_net_profit#5, ss_sold_date_sk#6, sr_net_loss#11, sr_returned_date_sk#12, cs_net_profit#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#19] -Arguments: [ss_sold_date_sk#6], [d_date_sk#19], Inner +Arguments: [ss_sold_date_sk#6], [d_date_sk#19], Inner, BuildRight (18) CometProject Input [9]: [ss_item_sk#1, ss_store_sk#3, ss_net_profit#5, ss_sold_date_sk#6, sr_net_loss#11, sr_returned_date_sk#12, cs_net_profit#16, cs_sold_date_sk#17, d_date_sk#19] @@ -155,7 +155,7 @@ Arguments: [d_date_sk#22] (23) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_store_sk#3, ss_net_profit#5, sr_net_loss#11, sr_returned_date_sk#12, cs_net_profit#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#22] -Arguments: [sr_returned_date_sk#12], [d_date_sk#22], Inner +Arguments: [sr_returned_date_sk#12], [d_date_sk#22], Inner, BuildRight (24) CometProject Input [8]: [ss_item_sk#1, ss_store_sk#3, ss_net_profit#5, sr_net_loss#11, sr_returned_date_sk#12, cs_net_profit#16, cs_sold_date_sk#17, d_date_sk#22] @@ -167,7 +167,7 @@ Output [1]: [d_date_sk#25] (26) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_store_sk#3, ss_net_profit#5, sr_net_loss#11, cs_net_profit#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#25] -Arguments: [cs_sold_date_sk#17], [d_date_sk#25], Inner +Arguments: [cs_sold_date_sk#17], [d_date_sk#25], Inner, BuildRight (27) CometProject Input [7]: [ss_item_sk#1, ss_store_sk#3, ss_net_profit#5, sr_net_loss#11, cs_net_profit#16, cs_sold_date_sk#17, d_date_sk#25] @@ -191,7 +191,7 @@ Arguments: [s_store_sk#26, s_store_id#27, s_store_name#28] (31) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_store_sk#3, ss_net_profit#5, sr_net_loss#11, cs_net_profit#16] Right output [3]: [s_store_sk#26, s_store_id#27, s_store_name#28] -Arguments: [ss_store_sk#3], [s_store_sk#26], Inner +Arguments: [ss_store_sk#3], [s_store_sk#26], Inner, BuildRight (32) CometProject Input [8]: [ss_item_sk#1, ss_store_sk#3, ss_net_profit#5, sr_net_loss#11, cs_net_profit#16, s_store_sk#26, s_store_id#27, s_store_name#28] @@ -215,7 +215,7 @@ Arguments: [i_item_sk#29, i_item_id#30, i_item_desc#31] (36) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_net_profit#5, sr_net_loss#11, cs_net_profit#16, s_store_id#27, s_store_name#28] Right output [3]: [i_item_sk#29, i_item_id#30, i_item_desc#31] -Arguments: [ss_item_sk#1], [i_item_sk#29], Inner +Arguments: [ss_item_sk#1], [i_item_sk#29], Inner, BuildRight (37) CometProject Input [9]: [ss_item_sk#1, ss_net_profit#5, sr_net_loss#11, cs_net_profit#16, s_store_id#27, s_store_name#28, i_item_sk#29, i_item_id#30, i_item_desc#31] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q26/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q26/explain.txt index d88e25d1c..1369927fe 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q26/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q26/explain.txt @@ -65,7 +65,7 @@ Arguments: [cd_demo_sk#10] (7) CometBroadcastHashJoin Left output [8]: [cs_bill_cdemo_sk#1, cs_item_sk#2, cs_promo_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_sold_date_sk#8] Right output [1]: [cd_demo_sk#10] -Arguments: [cs_bill_cdemo_sk#1], [cd_demo_sk#10], Inner +Arguments: [cs_bill_cdemo_sk#1], [cd_demo_sk#10], Inner, BuildRight (8) CometProject Input [9]: [cs_bill_cdemo_sk#1, cs_item_sk#2, cs_promo_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_sold_date_sk#8, cd_demo_sk#10] @@ -93,7 +93,7 @@ Arguments: [d_date_sk#14] (13) CometBroadcastHashJoin Left output [7]: [cs_item_sk#2, cs_promo_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_sold_date_sk#8] Right output [1]: [d_date_sk#14] -Arguments: [cs_sold_date_sk#8], [d_date_sk#14], Inner +Arguments: [cs_sold_date_sk#8], [d_date_sk#14], Inner, BuildRight (14) CometProject Input [8]: [cs_item_sk#2, cs_promo_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_sold_date_sk#8, d_date_sk#14] @@ -117,7 +117,7 @@ Arguments: [i_item_sk#16, i_item_id#17] (18) CometBroadcastHashJoin Left output [6]: [cs_item_sk#2, cs_promo_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7] Right output [2]: [i_item_sk#16, i_item_id#17] -Arguments: [cs_item_sk#2], [i_item_sk#16], Inner +Arguments: [cs_item_sk#2], [i_item_sk#16], Inner, BuildRight (19) CometProject Input [8]: [cs_item_sk#2, cs_promo_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, i_item_sk#16, i_item_id#17] @@ -145,7 +145,7 @@ Arguments: [p_promo_sk#18] (24) CometBroadcastHashJoin Left output [6]: [cs_promo_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, i_item_id#17] Right output [1]: [p_promo_sk#18] -Arguments: [cs_promo_sk#3], [p_promo_sk#18], Inner +Arguments: [cs_promo_sk#3], [p_promo_sk#18], Inner, BuildRight (25) CometProject Input [7]: [cs_promo_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, i_item_id#17, p_promo_sk#18] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q27/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q27/explain.txt index 700095960..1692965c6 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q27/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q27/explain.txt @@ -65,7 +65,7 @@ Arguments: [cd_demo_sk#10] (7) CometBroadcastHashJoin Left output [8]: [ss_item_sk#1, ss_cdemo_sk#2, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8] Right output [1]: [cd_demo_sk#10] -Arguments: [ss_cdemo_sk#2], [cd_demo_sk#10], Inner +Arguments: [ss_cdemo_sk#2], [cd_demo_sk#10], Inner, BuildRight (8) CometProject Input [9]: [ss_item_sk#1, ss_cdemo_sk#2, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8, cd_demo_sk#10] @@ -93,7 +93,7 @@ Arguments: [d_date_sk#14] (13) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8] Right output [1]: [d_date_sk#14] -Arguments: [ss_sold_date_sk#8], [d_date_sk#14], Inner +Arguments: [ss_sold_date_sk#8], [d_date_sk#14], Inner, BuildRight (14) CometProject Input [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8, d_date_sk#14] @@ -117,7 +117,7 @@ Arguments: [s_store_sk#16, s_state#17] (18) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7] Right output [2]: [s_store_sk#16, s_state#17] -Arguments: [ss_store_sk#3], [s_store_sk#16], Inner +Arguments: [ss_store_sk#3], [s_store_sk#16], Inner, BuildRight (19) CometProject Input [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, s_store_sk#16, s_state#17] @@ -141,7 +141,7 @@ Arguments: [i_item_sk#18, i_item_id#19] (23) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, s_state#17] Right output [2]: [i_item_sk#18, i_item_id#19] -Arguments: [ss_item_sk#1], [i_item_sk#18], Inner +Arguments: [ss_item_sk#1], [i_item_sk#18], Inner, BuildRight (24) CometProject Input [8]: [ss_item_sk#1, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, s_state#17, i_item_sk#18, i_item_id#19] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q29/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q29/explain.txt index fbd47fa87..3c350ad07 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q29/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q29/explain.txt @@ -77,7 +77,7 @@ Arguments: [sr_item_sk#8, sr_customer_sk#9, sr_ticket_number#10, sr_return_quant (6) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_customer_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_quantity#5, ss_sold_date_sk#6] Right output [5]: [sr_item_sk#8, sr_customer_sk#9, sr_ticket_number#10, sr_return_quantity#11, sr_returned_date_sk#12] -Arguments: [ss_customer_sk#2, ss_item_sk#1, ss_ticket_number#4], [sr_customer_sk#9, sr_item_sk#8, sr_ticket_number#10], Inner +Arguments: [ss_customer_sk#2, ss_item_sk#1, ss_ticket_number#4], [sr_customer_sk#9, sr_item_sk#8, sr_ticket_number#10], Inner, BuildRight (7) CometProject Input [11]: [ss_item_sk#1, ss_customer_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_quantity#5, ss_sold_date_sk#6, sr_item_sk#8, sr_customer_sk#9, sr_ticket_number#10, sr_return_quantity#11, sr_returned_date_sk#12] @@ -102,7 +102,7 @@ Arguments: [cs_bill_customer_sk#14, cs_item_sk#15, cs_quantity#16, cs_sold_date_ (11) CometBroadcastHashJoin Left output [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, ss_sold_date_sk#6, sr_item_sk#8, sr_customer_sk#9, sr_return_quantity#11, sr_returned_date_sk#12] Right output [4]: [cs_bill_customer_sk#14, cs_item_sk#15, cs_quantity#16, cs_sold_date_sk#17] -Arguments: [sr_customer_sk#9, sr_item_sk#8], [cs_bill_customer_sk#14, cs_item_sk#15], Inner +Arguments: [sr_customer_sk#9, sr_item_sk#8], [cs_bill_customer_sk#14, cs_item_sk#15], Inner, BuildRight (12) CometProject Input [12]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, ss_sold_date_sk#6, sr_item_sk#8, sr_customer_sk#9, sr_return_quantity#11, sr_returned_date_sk#12, cs_bill_customer_sk#14, cs_item_sk#15, cs_quantity#16, cs_sold_date_sk#17] @@ -130,7 +130,7 @@ Arguments: [d_date_sk#19] (17) CometBroadcastHashJoin Left output [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, ss_sold_date_sk#6, sr_return_quantity#11, sr_returned_date_sk#12, cs_quantity#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#19] -Arguments: [ss_sold_date_sk#6], [d_date_sk#19], Inner +Arguments: [ss_sold_date_sk#6], [d_date_sk#19], Inner, BuildRight (18) CometProject Input [9]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, ss_sold_date_sk#6, sr_return_quantity#11, sr_returned_date_sk#12, cs_quantity#16, cs_sold_date_sk#17, d_date_sk#19] @@ -158,7 +158,7 @@ Arguments: [d_date_sk#22] (23) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, sr_returned_date_sk#12, cs_quantity#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#22] -Arguments: [sr_returned_date_sk#12], [d_date_sk#22], Inner +Arguments: [sr_returned_date_sk#12], [d_date_sk#22], Inner, BuildRight (24) CometProject Input [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, sr_returned_date_sk#12, cs_quantity#16, cs_sold_date_sk#17, d_date_sk#22] @@ -186,7 +186,7 @@ Arguments: [d_date_sk#25] (29) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, cs_quantity#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#25] -Arguments: [cs_sold_date_sk#17], [d_date_sk#25], Inner +Arguments: [cs_sold_date_sk#17], [d_date_sk#25], Inner, BuildRight (30) CometProject Input [7]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, cs_quantity#16, cs_sold_date_sk#17, d_date_sk#25] @@ -210,7 +210,7 @@ Arguments: [s_store_sk#27, s_store_id#28, s_store_name#29] (34) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, cs_quantity#16] Right output [3]: [s_store_sk#27, s_store_id#28, s_store_name#29] -Arguments: [ss_store_sk#3], [s_store_sk#27], Inner +Arguments: [ss_store_sk#3], [s_store_sk#27], Inner, BuildRight (35) CometProject Input [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#5, sr_return_quantity#11, cs_quantity#16, s_store_sk#27, s_store_id#28, s_store_name#29] @@ -234,7 +234,7 @@ Arguments: [i_item_sk#30, i_item_id#31, i_item_desc#32] (39) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_quantity#5, sr_return_quantity#11, cs_quantity#16, s_store_id#28, s_store_name#29] Right output [3]: [i_item_sk#30, i_item_id#31, i_item_desc#32] -Arguments: [ss_item_sk#1], [i_item_sk#30], Inner +Arguments: [ss_item_sk#1], [i_item_sk#30], Inner, BuildRight (40) CometProject Input [9]: [ss_item_sk#1, ss_quantity#5, sr_return_quantity#11, cs_quantity#16, s_store_id#28, s_store_name#29, i_item_sk#30, i_item_id#31, i_item_desc#32] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q3/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q3/explain.txt index 1e7010520..98092ef29 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q3/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q3/explain.txt @@ -54,7 +54,7 @@ Arguments: [ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] (7) CometBroadcastHashJoin Left output [2]: [d_date_sk#1, d_year#2] Right output [3]: [ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] -Arguments: [d_date_sk#1], [ss_sold_date_sk#6], Inner +Arguments: [d_date_sk#1], [ss_sold_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [d_date_sk#1, d_year#2, ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] @@ -82,7 +82,7 @@ Arguments: [i_item_sk#7, i_brand_id#8, i_brand#9] (13) CometBroadcastHashJoin Left output [3]: [d_year#2, ss_item_sk#4, ss_ext_sales_price#5] Right output [3]: [i_item_sk#7, i_brand_id#8, i_brand#9] -Arguments: [ss_item_sk#4], [i_item_sk#7], Inner +Arguments: [ss_item_sk#4], [i_item_sk#7], Inner, BuildRight (14) CometProject Input [6]: [d_year#2, ss_item_sk#4, ss_ext_sales_price#5, i_item_sk#7, i_brand_id#8, i_brand#9] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q30/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q30/explain.txt index ba20db123..55c49d828 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q30/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q30/explain.txt @@ -86,7 +86,7 @@ Arguments: [d_date_sk#6] (7) CometBroadcastHashJoin Left output [4]: [wr_returning_customer_sk#1, wr_returning_addr_sk#2, wr_return_amt#3, wr_returned_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [wr_returned_date_sk#4], [d_date_sk#6], Inner +Arguments: [wr_returned_date_sk#4], [d_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [wr_returning_customer_sk#1, wr_returning_addr_sk#2, wr_return_amt#3, wr_returned_date_sk#4, d_date_sk#6] @@ -110,7 +110,7 @@ Arguments: [ca_address_sk#8, ca_state#9] (12) CometBroadcastHashJoin Left output [3]: [wr_returning_customer_sk#1, wr_returning_addr_sk#2, wr_return_amt#3] Right output [2]: [ca_address_sk#8, ca_state#9] -Arguments: [wr_returning_addr_sk#2], [ca_address_sk#8], Inner +Arguments: [wr_returning_addr_sk#2], [ca_address_sk#8], Inner, BuildRight (13) CometProject Input [5]: [wr_returning_customer_sk#1, wr_returning_addr_sk#2, wr_return_amt#3, ca_address_sk#8, ca_state#9] @@ -157,7 +157,7 @@ Output [1]: [d_date_sk#6] (22) CometBroadcastHashJoin Left output [4]: [wr_returning_customer_sk#1, wr_returning_addr_sk#2, wr_return_amt#3, wr_returned_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [wr_returned_date_sk#4], [d_date_sk#6], Inner +Arguments: [wr_returned_date_sk#4], [d_date_sk#6], Inner, BuildRight (23) CometProject Input [5]: [wr_returning_customer_sk#1, wr_returning_addr_sk#2, wr_return_amt#3, wr_returned_date_sk#4, d_date_sk#6] @@ -169,7 +169,7 @@ Output [2]: [ca_address_sk#8, ca_state#9] (25) CometBroadcastHashJoin Left output [3]: [wr_returning_customer_sk#1, wr_returning_addr_sk#2, wr_return_amt#3] Right output [2]: [ca_address_sk#8, ca_state#9] -Arguments: [wr_returning_addr_sk#2], [ca_address_sk#8], Inner +Arguments: [wr_returning_addr_sk#2], [ca_address_sk#8], Inner, BuildRight (26) CometProject Input [5]: [wr_returning_customer_sk#1, wr_returning_addr_sk#2, wr_return_amt#3, ca_address_sk#8, ca_state#9] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q31/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q31/explain.txt index 83b71232a..d63ab7356 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q31/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q31/explain.txt @@ -126,7 +126,7 @@ Arguments: [d_date_sk#5, d_year#6, d_qoy#7] (6) CometBroadcastHashJoin Left output [3]: [ss_addr_sk#1, ss_ext_sales_price#2, ss_sold_date_sk#3] Right output [3]: [d_date_sk#5, d_year#6, d_qoy#7] -Arguments: [ss_sold_date_sk#3], [d_date_sk#5], Inner +Arguments: [ss_sold_date_sk#3], [d_date_sk#5], Inner, BuildRight (7) CometProject Input [6]: [ss_addr_sk#1, ss_ext_sales_price#2, ss_sold_date_sk#3, d_date_sk#5, d_year#6, d_qoy#7] @@ -150,7 +150,7 @@ Arguments: [ca_address_sk#8, ca_county#9] (11) CometBroadcastHashJoin Left output [4]: [ss_addr_sk#1, ss_ext_sales_price#2, d_year#6, d_qoy#7] Right output [2]: [ca_address_sk#8, ca_county#9] -Arguments: [ss_addr_sk#1], [ca_address_sk#8], Inner +Arguments: [ss_addr_sk#1], [ca_address_sk#8], Inner, BuildRight (12) CometProject Input [6]: [ss_addr_sk#1, ss_ext_sales_price#2, d_year#6, d_qoy#7, ca_address_sk#8, ca_county#9] @@ -205,7 +205,7 @@ Arguments: [d_date_sk#17, d_year#18, d_qoy#19] (22) CometBroadcastHashJoin Left output [3]: [ss_addr_sk#13, ss_ext_sales_price#14, ss_sold_date_sk#15] Right output [3]: [d_date_sk#17, d_year#18, d_qoy#19] -Arguments: [ss_sold_date_sk#15], [d_date_sk#17], Inner +Arguments: [ss_sold_date_sk#15], [d_date_sk#17], Inner, BuildRight (23) CometProject Input [6]: [ss_addr_sk#13, ss_ext_sales_price#14, ss_sold_date_sk#15, d_date_sk#17, d_year#18, d_qoy#19] @@ -217,7 +217,7 @@ Output [2]: [ca_address_sk#20, ca_county#21] (25) CometBroadcastHashJoin Left output [4]: [ss_addr_sk#13, ss_ext_sales_price#14, d_year#18, d_qoy#19] Right output [2]: [ca_address_sk#20, ca_county#21] -Arguments: [ss_addr_sk#13], [ca_address_sk#20], Inner +Arguments: [ss_addr_sk#13], [ca_address_sk#20], Inner, BuildRight (26) CometProject Input [6]: [ss_addr_sk#13, ss_ext_sales_price#14, d_year#18, d_qoy#19, ca_address_sk#20, ca_county#21] @@ -282,7 +282,7 @@ Arguments: [d_date_sk#28, d_year#29, d_qoy#30] (38) CometBroadcastHashJoin Left output [3]: [ss_addr_sk#24, ss_ext_sales_price#25, ss_sold_date_sk#26] Right output [3]: [d_date_sk#28, d_year#29, d_qoy#30] -Arguments: [ss_sold_date_sk#26], [d_date_sk#28], Inner +Arguments: [ss_sold_date_sk#26], [d_date_sk#28], Inner, BuildRight (39) CometProject Input [6]: [ss_addr_sk#24, ss_ext_sales_price#25, ss_sold_date_sk#26, d_date_sk#28, d_year#29, d_qoy#30] @@ -294,7 +294,7 @@ Output [2]: [ca_address_sk#31, ca_county#32] (41) CometBroadcastHashJoin Left output [4]: [ss_addr_sk#24, ss_ext_sales_price#25, d_year#29, d_qoy#30] Right output [2]: [ca_address_sk#31, ca_county#32] -Arguments: [ss_addr_sk#24], [ca_address_sk#31], Inner +Arguments: [ss_addr_sk#24], [ca_address_sk#31], Inner, BuildRight (42) CometProject Input [6]: [ss_addr_sk#24, ss_ext_sales_price#25, d_year#29, d_qoy#30, ca_address_sk#31, ca_county#32] @@ -351,7 +351,7 @@ Output [3]: [d_date_sk#39, d_year#40, d_qoy#41] (53) CometBroadcastHashJoin Left output [3]: [ws_bill_addr_sk#35, ws_ext_sales_price#36, ws_sold_date_sk#37] Right output [3]: [d_date_sk#39, d_year#40, d_qoy#41] -Arguments: [ws_sold_date_sk#37], [d_date_sk#39], Inner +Arguments: [ws_sold_date_sk#37], [d_date_sk#39], Inner, BuildRight (54) CometProject Input [6]: [ws_bill_addr_sk#35, ws_ext_sales_price#36, ws_sold_date_sk#37, d_date_sk#39, d_year#40, d_qoy#41] @@ -363,7 +363,7 @@ Output [2]: [ca_address_sk#42, ca_county#43] (56) CometBroadcastHashJoin Left output [4]: [ws_bill_addr_sk#35, ws_ext_sales_price#36, d_year#40, d_qoy#41] Right output [2]: [ca_address_sk#42, ca_county#43] -Arguments: [ws_bill_addr_sk#35], [ca_address_sk#42], Inner +Arguments: [ws_bill_addr_sk#35], [ca_address_sk#42], Inner, BuildRight (57) CometProject Input [6]: [ws_bill_addr_sk#35, ws_ext_sales_price#36, d_year#40, d_qoy#41, ca_address_sk#42, ca_county#43] @@ -416,7 +416,7 @@ Output [3]: [d_date_sk#51, d_year#52, d_qoy#53] (67) CometBroadcastHashJoin Left output [3]: [ws_bill_addr_sk#47, ws_ext_sales_price#48, ws_sold_date_sk#49] Right output [3]: [d_date_sk#51, d_year#52, d_qoy#53] -Arguments: [ws_sold_date_sk#49], [d_date_sk#51], Inner +Arguments: [ws_sold_date_sk#49], [d_date_sk#51], Inner, BuildRight (68) CometProject Input [6]: [ws_bill_addr_sk#47, ws_ext_sales_price#48, ws_sold_date_sk#49, d_date_sk#51, d_year#52, d_qoy#53] @@ -428,7 +428,7 @@ Output [2]: [ca_address_sk#54, ca_county#55] (70) CometBroadcastHashJoin Left output [4]: [ws_bill_addr_sk#47, ws_ext_sales_price#48, d_year#52, d_qoy#53] Right output [2]: [ca_address_sk#54, ca_county#55] -Arguments: [ws_bill_addr_sk#47], [ca_address_sk#54], Inner +Arguments: [ws_bill_addr_sk#47], [ca_address_sk#54], Inner, BuildRight (71) CometProject Input [6]: [ws_bill_addr_sk#47, ws_ext_sales_price#48, d_year#52, d_qoy#53, ca_address_sk#54, ca_county#55] @@ -485,7 +485,7 @@ Output [3]: [d_date_sk#62, d_year#63, d_qoy#64] (82) CometBroadcastHashJoin Left output [3]: [ws_bill_addr_sk#58, ws_ext_sales_price#59, ws_sold_date_sk#60] Right output [3]: [d_date_sk#62, d_year#63, d_qoy#64] -Arguments: [ws_sold_date_sk#60], [d_date_sk#62], Inner +Arguments: [ws_sold_date_sk#60], [d_date_sk#62], Inner, BuildRight (83) CometProject Input [6]: [ws_bill_addr_sk#58, ws_ext_sales_price#59, ws_sold_date_sk#60, d_date_sk#62, d_year#63, d_qoy#64] @@ -497,7 +497,7 @@ Output [2]: [ca_address_sk#65, ca_county#66] (85) CometBroadcastHashJoin Left output [4]: [ws_bill_addr_sk#58, ws_ext_sales_price#59, d_year#63, d_qoy#64] Right output [2]: [ca_address_sk#65, ca_county#66] -Arguments: [ws_bill_addr_sk#58], [ca_address_sk#65], Inner +Arguments: [ws_bill_addr_sk#58], [ca_address_sk#65], Inner, BuildRight (86) CometProject Input [6]: [ws_bill_addr_sk#58, ws_ext_sales_price#59, d_year#63, d_qoy#64, ca_address_sk#65, ca_county#66] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q32/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q32/explain.txt index c6d6e0f21..b7eee60b1 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q32/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q32/explain.txt @@ -66,7 +66,7 @@ Arguments: [i_item_sk#5] (7) CometBroadcastHashJoin Left output [3]: [cs_item_sk#1, cs_ext_discount_amt#2, cs_sold_date_sk#3] Right output [1]: [i_item_sk#5] -Arguments: [cs_item_sk#1], [i_item_sk#5], Inner +Arguments: [cs_item_sk#1], [i_item_sk#5], Inner, BuildRight (8) CometProject Input [4]: [cs_item_sk#1, cs_ext_discount_amt#2, cs_sold_date_sk#3, i_item_sk#5] @@ -109,7 +109,7 @@ Arguments: [d_date_sk#11] (16) CometBroadcastHashJoin Left output [3]: [cs_item_sk#7, cs_ext_discount_amt#8, cs_sold_date_sk#9] Right output [1]: [d_date_sk#11] -Arguments: [cs_sold_date_sk#9], [d_date_sk#11], Inner +Arguments: [cs_sold_date_sk#9], [d_date_sk#11], Inner, BuildRight (17) CometProject Input [4]: [cs_item_sk#7, cs_ext_discount_amt#8, cs_sold_date_sk#9, d_date_sk#11] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q33/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q33/explain.txt index 7b5048ce7..8e385ed4e 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q33/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q33/explain.txt @@ -98,7 +98,7 @@ Arguments: [d_date_sk#6] (7) CometBroadcastHashJoin Left output [4]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3, ss_sold_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [ss_sold_date_sk#4], [d_date_sk#6], Inner +Arguments: [ss_sold_date_sk#4], [d_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3, ss_sold_date_sk#4, d_date_sk#6] @@ -126,7 +126,7 @@ Arguments: [ca_address_sk#9] (13) CometBroadcastHashJoin Left output [3]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3] Right output [1]: [ca_address_sk#9] -Arguments: [ss_addr_sk#2], [ca_address_sk#9], Inner +Arguments: [ss_addr_sk#2], [ca_address_sk#9], Inner, BuildRight (14) CometProject Input [4]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3, ca_address_sk#9] @@ -165,7 +165,7 @@ Arguments: [i_manufact_id#14] (21) CometBroadcastHashJoin Left output [2]: [i_item_sk#11, i_manufact_id#12] Right output [1]: [i_manufact_id#14] -Arguments: [i_manufact_id#12], [i_manufact_id#14], LeftSemi +Arguments: [i_manufact_id#12], [i_manufact_id#14], LeftSemi, BuildRight (22) CometBroadcastExchange Input [2]: [i_item_sk#11, i_manufact_id#12] @@ -174,7 +174,7 @@ Arguments: [i_item_sk#11, i_manufact_id#12] (23) CometBroadcastHashJoin Left output [2]: [ss_item_sk#1, ss_ext_sales_price#3] Right output [2]: [i_item_sk#11, i_manufact_id#12] -Arguments: [ss_item_sk#1], [i_item_sk#11], Inner +Arguments: [ss_item_sk#1], [i_item_sk#11], Inner, BuildRight (24) CometProject Input [4]: [ss_item_sk#1, ss_ext_sales_price#3, i_item_sk#11, i_manufact_id#12] @@ -217,7 +217,7 @@ Output [1]: [d_date_sk#23] (32) CometBroadcastHashJoin Left output [4]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20, cs_sold_date_sk#21] Right output [1]: [d_date_sk#23] -Arguments: [cs_sold_date_sk#21], [d_date_sk#23], Inner +Arguments: [cs_sold_date_sk#21], [d_date_sk#23], Inner, BuildRight (33) CometProject Input [5]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20, cs_sold_date_sk#21, d_date_sk#23] @@ -229,7 +229,7 @@ Output [1]: [ca_address_sk#24] (35) CometBroadcastHashJoin Left output [3]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20] Right output [1]: [ca_address_sk#24] -Arguments: [cs_bill_addr_sk#18], [ca_address_sk#24], Inner +Arguments: [cs_bill_addr_sk#18], [ca_address_sk#24], Inner, BuildRight (36) CometProject Input [4]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20, ca_address_sk#24] @@ -241,7 +241,7 @@ Output [2]: [i_item_sk#25, i_manufact_id#26] (38) CometBroadcastHashJoin Left output [2]: [cs_item_sk#19, cs_ext_sales_price#20] Right output [2]: [i_item_sk#25, i_manufact_id#26] -Arguments: [cs_item_sk#19], [i_item_sk#25], Inner +Arguments: [cs_item_sk#19], [i_item_sk#25], Inner, BuildRight (39) CometProject Input [4]: [cs_item_sk#19, cs_ext_sales_price#20, i_item_sk#25, i_manufact_id#26] @@ -284,7 +284,7 @@ Output [1]: [d_date_sk#35] (47) CometBroadcastHashJoin Left output [4]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32, ws_sold_date_sk#33] Right output [1]: [d_date_sk#35] -Arguments: [ws_sold_date_sk#33], [d_date_sk#35], Inner +Arguments: [ws_sold_date_sk#33], [d_date_sk#35], Inner, BuildRight (48) CometProject Input [5]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32, ws_sold_date_sk#33, d_date_sk#35] @@ -296,7 +296,7 @@ Output [1]: [ca_address_sk#36] (50) CometBroadcastHashJoin Left output [3]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32] Right output [1]: [ca_address_sk#36] -Arguments: [ws_bill_addr_sk#31], [ca_address_sk#36], Inner +Arguments: [ws_bill_addr_sk#31], [ca_address_sk#36], Inner, BuildRight (51) CometProject Input [4]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32, ca_address_sk#36] @@ -308,7 +308,7 @@ Output [2]: [i_item_sk#37, i_manufact_id#38] (53) CometBroadcastHashJoin Left output [2]: [ws_item_sk#30, ws_ext_sales_price#32] Right output [2]: [i_item_sk#37, i_manufact_id#38] -Arguments: [ws_item_sk#30], [i_item_sk#37], Inner +Arguments: [ws_item_sk#30], [i_item_sk#37], Inner, BuildRight (54) CometProject Input [4]: [ws_item_sk#30, ws_ext_sales_price#32, i_item_sk#37, i_manufact_id#38] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q34/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q34/explain.txt index bd38bc882..5609dc11c 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q34/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q34/explain.txt @@ -68,7 +68,7 @@ Arguments: [d_date_sk#7] (7) CometBroadcastHashJoin Left output [5]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_sold_date_sk#5] Right output [1]: [d_date_sk#7] -Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner, BuildRight (8) CometProject Input [6]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_sold_date_sk#5, d_date_sk#7] @@ -96,7 +96,7 @@ Arguments: [s_store_sk#10] (13) CometBroadcastHashJoin Left output [4]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4] Right output [1]: [s_store_sk#10] -Arguments: [ss_store_sk#3], [s_store_sk#10], Inner +Arguments: [ss_store_sk#3], [s_store_sk#10], Inner, BuildRight (14) CometProject Input [5]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4, s_store_sk#10] @@ -124,7 +124,7 @@ Arguments: [hd_demo_sk#12] (19) CometBroadcastHashJoin Left output [3]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_ticket_number#4] Right output [1]: [hd_demo_sk#12] -Arguments: [ss_hdemo_sk#2], [hd_demo_sk#12], Inner +Arguments: [ss_hdemo_sk#2], [hd_demo_sk#12], Inner, BuildRight (20) CometProject Input [4]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_ticket_number#4, hd_demo_sk#12] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q35/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q35/explain.txt index 884ef2eda..c06c1dd16 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q35/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q35/explain.txt @@ -85,7 +85,7 @@ Arguments: [d_date_sk#9] (8) CometBroadcastHashJoin Left output [2]: [ss_customer_sk#6, ss_sold_date_sk#7] Right output [1]: [d_date_sk#9] -Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner +Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner, BuildRight (9) CometProject Input [3]: [ss_customer_sk#6, ss_sold_date_sk#7, d_date_sk#9] @@ -98,7 +98,7 @@ Arguments: [ss_customer_sk#6] (11) CometBroadcastHashJoin Left output [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5] Right output [1]: [ss_customer_sk#6] -Arguments: [c_customer_sk#3], [ss_customer_sk#6], LeftSemi +Arguments: [c_customer_sk#3], [ss_customer_sk#6], LeftSemi, BuildRight (12) ColumnarToRow [codegen id : 5] Input [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5] @@ -116,7 +116,7 @@ Output [1]: [d_date_sk#15] (15) CometBroadcastHashJoin Left output [2]: [ws_bill_customer_sk#12, ws_sold_date_sk#13] Right output [1]: [d_date_sk#15] -Arguments: [ws_sold_date_sk#13], [d_date_sk#15], Inner +Arguments: [ws_sold_date_sk#13], [d_date_sk#15], Inner, BuildRight (16) CometProject Input [3]: [ws_bill_customer_sk#12, ws_sold_date_sk#13, d_date_sk#15] @@ -148,7 +148,7 @@ Output [1]: [d_date_sk#19] (22) CometBroadcastHashJoin Left output [2]: [cs_ship_customer_sk#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#19] -Arguments: [cs_sold_date_sk#17], [d_date_sk#19], Inner +Arguments: [cs_sold_date_sk#17], [d_date_sk#19], Inner, BuildRight (23) CometProject Input [3]: [cs_ship_customer_sk#16, cs_sold_date_sk#17, d_date_sk#19] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q36/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q36/explain.txt index 136bc88f9..33b572ff6 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q36/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q36/explain.txt @@ -64,7 +64,7 @@ Arguments: [d_date_sk#7] (7) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4, ss_sold_date_sk#5] Right output [1]: [d_date_sk#7] -Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner, BuildRight (8) CometProject Input [6]: [ss_item_sk#1, ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4, ss_sold_date_sk#5, d_date_sk#7] @@ -88,7 +88,7 @@ Arguments: [i_item_sk#9, i_class#10, i_category#11] (12) CometBroadcastHashJoin Left output [4]: [ss_item_sk#1, ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4] Right output [3]: [i_item_sk#9, i_class#10, i_category#11] -Arguments: [ss_item_sk#1], [i_item_sk#9], Inner +Arguments: [ss_item_sk#1], [i_item_sk#9], Inner, BuildRight (13) CometProject Input [7]: [ss_item_sk#1, ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4, i_item_sk#9, i_class#10, i_category#11] @@ -116,7 +116,7 @@ Arguments: [s_store_sk#12] (18) CometBroadcastHashJoin Left output [5]: [ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4, i_class#10, i_category#11] Right output [1]: [s_store_sk#12] -Arguments: [ss_store_sk#2], [s_store_sk#12], Inner +Arguments: [ss_store_sk#2], [s_store_sk#12], Inner, BuildRight (19) CometProject Input [6]: [ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4, i_class#10, i_category#11, s_store_sk#12] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q37/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q37/explain.txt index 8a7312cd5..6eb0f14b1 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q37/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q37/explain.txt @@ -65,7 +65,7 @@ Arguments: [inv_item_sk#6, inv_date_sk#8] (8) CometBroadcastHashJoin Left output [4]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4] Right output [2]: [inv_item_sk#6, inv_date_sk#8] -Arguments: [i_item_sk#1], [inv_item_sk#6], Inner +Arguments: [i_item_sk#1], [inv_item_sk#6], Inner, BuildRight (9) CometProject Input [6]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4, inv_item_sk#6, inv_date_sk#8] @@ -93,7 +93,7 @@ Arguments: [d_date_sk#10] (14) CometBroadcastHashJoin Left output [5]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4, inv_date_sk#8] Right output [1]: [d_date_sk#10] -Arguments: [inv_date_sk#8], [d_date_sk#10], Inner +Arguments: [inv_date_sk#8], [d_date_sk#10], Inner, BuildRight (15) CometProject Input [6]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4, inv_date_sk#8, d_date_sk#10] @@ -121,7 +121,7 @@ Arguments: [cs_item_sk#12], [cs_item_sk#12] (20) CometBroadcastHashJoin Left output [4]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4] Right output [1]: [cs_item_sk#12] -Arguments: [i_item_sk#1], [cs_item_sk#12], Inner +Arguments: [i_item_sk#1], [cs_item_sk#12], Inner, BuildLeft (21) CometProject Input [5]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4, cs_item_sk#12] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q38/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q38/explain.txt index b1e58ca83..b6b11827d 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q38/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q38/explain.txt @@ -84,7 +84,7 @@ Arguments: [d_date_sk#4, d_date#5] (7) CometBroadcastHashJoin Left output [2]: [ss_customer_sk#1, ss_sold_date_sk#2] Right output [2]: [d_date_sk#4, d_date#5] -Arguments: [ss_sold_date_sk#2], [d_date_sk#4], Inner +Arguments: [ss_sold_date_sk#2], [d_date_sk#4], Inner, BuildRight (8) CometProject Input [4]: [ss_customer_sk#1, ss_sold_date_sk#2, d_date_sk#4, d_date#5] @@ -108,7 +108,7 @@ Arguments: [c_customer_sk#7, c_first_name#8, c_last_name#9] (12) CometBroadcastHashJoin Left output [2]: [ss_customer_sk#1, d_date#5] Right output [3]: [c_customer_sk#7, c_first_name#8, c_last_name#9] -Arguments: [ss_customer_sk#1], [c_customer_sk#7], Inner +Arguments: [ss_customer_sk#1], [c_customer_sk#7], Inner, BuildRight (13) CometProject Input [5]: [ss_customer_sk#1, d_date#5, c_customer_sk#7, c_first_name#8, c_last_name#9] @@ -151,7 +151,7 @@ Output [2]: [d_date_sk#13, d_date#14] (21) CometBroadcastHashJoin Left output [2]: [cs_bill_customer_sk#10, cs_sold_date_sk#11] Right output [2]: [d_date_sk#13, d_date#14] -Arguments: [cs_sold_date_sk#11], [d_date_sk#13], Inner +Arguments: [cs_sold_date_sk#11], [d_date_sk#13], Inner, BuildRight (22) CometProject Input [4]: [cs_bill_customer_sk#10, cs_sold_date_sk#11, d_date_sk#13, d_date#14] @@ -163,7 +163,7 @@ Output [3]: [c_customer_sk#15, c_first_name#16, c_last_name#17] (24) CometBroadcastHashJoin Left output [2]: [cs_bill_customer_sk#10, d_date#14] Right output [3]: [c_customer_sk#15, c_first_name#16, c_last_name#17] -Arguments: [cs_bill_customer_sk#10], [c_customer_sk#15], Inner +Arguments: [cs_bill_customer_sk#10], [c_customer_sk#15], Inner, BuildRight (25) CometProject Input [5]: [cs_bill_customer_sk#10, d_date#14, c_customer_sk#15, c_first_name#16, c_last_name#17] @@ -216,7 +216,7 @@ Output [2]: [d_date_sk#21, d_date#22] (35) CometBroadcastHashJoin Left output [2]: [ws_bill_customer_sk#18, ws_sold_date_sk#19] Right output [2]: [d_date_sk#21, d_date#22] -Arguments: [ws_sold_date_sk#19], [d_date_sk#21], Inner +Arguments: [ws_sold_date_sk#19], [d_date_sk#21], Inner, BuildRight (36) CometProject Input [4]: [ws_bill_customer_sk#18, ws_sold_date_sk#19, d_date_sk#21, d_date#22] @@ -228,7 +228,7 @@ Output [3]: [c_customer_sk#23, c_first_name#24, c_last_name#25] (38) CometBroadcastHashJoin Left output [2]: [ws_bill_customer_sk#18, d_date#22] Right output [3]: [c_customer_sk#23, c_first_name#24, c_last_name#25] -Arguments: [ws_bill_customer_sk#18], [c_customer_sk#23], Inner +Arguments: [ws_bill_customer_sk#18], [c_customer_sk#23], Inner, BuildRight (39) CometProject Input [5]: [ws_bill_customer_sk#18, d_date#22, c_customer_sk#23, c_first_name#24, c_last_name#25] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q39a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q39a/explain.txt index 7bf41b1ef..6b6272590 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q39a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q39a/explain.txt @@ -79,7 +79,7 @@ Arguments: [i_item_sk#6] (6) CometBroadcastHashJoin Left output [4]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4] Right output [1]: [i_item_sk#6] -Arguments: [inv_item_sk#1], [i_item_sk#6], Inner +Arguments: [inv_item_sk#1], [i_item_sk#6], Inner, BuildRight (7) CometProject Input [5]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4, i_item_sk#6] @@ -103,7 +103,7 @@ Arguments: [w_warehouse_sk#7, w_warehouse_name#8] (11) CometBroadcastHashJoin Left output [4]: [inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4, i_item_sk#6] Right output [2]: [w_warehouse_sk#7, w_warehouse_name#8] -Arguments: [inv_warehouse_sk#2], [w_warehouse_sk#7], Inner +Arguments: [inv_warehouse_sk#2], [w_warehouse_sk#7], Inner, BuildRight (12) CometProject Input [6]: [inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4, i_item_sk#6, w_warehouse_sk#7, w_warehouse_name#8] @@ -131,7 +131,7 @@ Arguments: [d_date_sk#9, d_moy#11] (17) CometBroadcastHashJoin Left output [5]: [inv_quantity_on_hand#3, inv_date_sk#4, i_item_sk#6, w_warehouse_sk#7, w_warehouse_name#8] Right output [2]: [d_date_sk#9, d_moy#11] -Arguments: [inv_date_sk#4], [d_date_sk#9], Inner +Arguments: [inv_date_sk#4], [d_date_sk#9], Inner, BuildRight (18) CometProject Input [7]: [inv_quantity_on_hand#3, inv_date_sk#4, i_item_sk#6, w_warehouse_sk#7, w_warehouse_name#8, d_date_sk#9, d_moy#11] @@ -182,7 +182,7 @@ Output [1]: [i_item_sk#27] (28) CometBroadcastHashJoin Left output [4]: [inv_item_sk#22, inv_warehouse_sk#23, inv_quantity_on_hand#24, inv_date_sk#25] Right output [1]: [i_item_sk#27] -Arguments: [inv_item_sk#22], [i_item_sk#27], Inner +Arguments: [inv_item_sk#22], [i_item_sk#27], Inner, BuildRight (29) CometProject Input [5]: [inv_item_sk#22, inv_warehouse_sk#23, inv_quantity_on_hand#24, inv_date_sk#25, i_item_sk#27] @@ -194,7 +194,7 @@ Output [2]: [w_warehouse_sk#28, w_warehouse_name#29] (31) CometBroadcastHashJoin Left output [4]: [inv_warehouse_sk#23, inv_quantity_on_hand#24, inv_date_sk#25, i_item_sk#27] Right output [2]: [w_warehouse_sk#28, w_warehouse_name#29] -Arguments: [inv_warehouse_sk#23], [w_warehouse_sk#28], Inner +Arguments: [inv_warehouse_sk#23], [w_warehouse_sk#28], Inner, BuildRight (32) CometProject Input [6]: [inv_warehouse_sk#23, inv_quantity_on_hand#24, inv_date_sk#25, i_item_sk#27, w_warehouse_sk#28, w_warehouse_name#29] @@ -222,7 +222,7 @@ Arguments: [d_date_sk#30, d_moy#32] (37) CometBroadcastHashJoin Left output [5]: [inv_quantity_on_hand#24, inv_date_sk#25, i_item_sk#27, w_warehouse_sk#28, w_warehouse_name#29] Right output [2]: [d_date_sk#30, d_moy#32] -Arguments: [inv_date_sk#25], [d_date_sk#30], Inner +Arguments: [inv_date_sk#25], [d_date_sk#30], Inner, BuildRight (38) CometProject Input [7]: [inv_quantity_on_hand#24, inv_date_sk#25, i_item_sk#27, w_warehouse_sk#28, w_warehouse_name#29, d_date_sk#30, d_moy#32] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q39b/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q39b/explain.txt index e0e2d82fe..85590bf81 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q39b/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q39b/explain.txt @@ -79,7 +79,7 @@ Arguments: [i_item_sk#6] (6) CometBroadcastHashJoin Left output [4]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4] Right output [1]: [i_item_sk#6] -Arguments: [inv_item_sk#1], [i_item_sk#6], Inner +Arguments: [inv_item_sk#1], [i_item_sk#6], Inner, BuildRight (7) CometProject Input [5]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4, i_item_sk#6] @@ -103,7 +103,7 @@ Arguments: [w_warehouse_sk#7, w_warehouse_name#8] (11) CometBroadcastHashJoin Left output [4]: [inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4, i_item_sk#6] Right output [2]: [w_warehouse_sk#7, w_warehouse_name#8] -Arguments: [inv_warehouse_sk#2], [w_warehouse_sk#7], Inner +Arguments: [inv_warehouse_sk#2], [w_warehouse_sk#7], Inner, BuildRight (12) CometProject Input [6]: [inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4, i_item_sk#6, w_warehouse_sk#7, w_warehouse_name#8] @@ -131,7 +131,7 @@ Arguments: [d_date_sk#9, d_moy#11] (17) CometBroadcastHashJoin Left output [5]: [inv_quantity_on_hand#3, inv_date_sk#4, i_item_sk#6, w_warehouse_sk#7, w_warehouse_name#8] Right output [2]: [d_date_sk#9, d_moy#11] -Arguments: [inv_date_sk#4], [d_date_sk#9], Inner +Arguments: [inv_date_sk#4], [d_date_sk#9], Inner, BuildRight (18) CometProject Input [7]: [inv_quantity_on_hand#3, inv_date_sk#4, i_item_sk#6, w_warehouse_sk#7, w_warehouse_name#8, d_date_sk#9, d_moy#11] @@ -182,7 +182,7 @@ Output [1]: [i_item_sk#27] (28) CometBroadcastHashJoin Left output [4]: [inv_item_sk#22, inv_warehouse_sk#23, inv_quantity_on_hand#24, inv_date_sk#25] Right output [1]: [i_item_sk#27] -Arguments: [inv_item_sk#22], [i_item_sk#27], Inner +Arguments: [inv_item_sk#22], [i_item_sk#27], Inner, BuildRight (29) CometProject Input [5]: [inv_item_sk#22, inv_warehouse_sk#23, inv_quantity_on_hand#24, inv_date_sk#25, i_item_sk#27] @@ -194,7 +194,7 @@ Output [2]: [w_warehouse_sk#28, w_warehouse_name#29] (31) CometBroadcastHashJoin Left output [4]: [inv_warehouse_sk#23, inv_quantity_on_hand#24, inv_date_sk#25, i_item_sk#27] Right output [2]: [w_warehouse_sk#28, w_warehouse_name#29] -Arguments: [inv_warehouse_sk#23], [w_warehouse_sk#28], Inner +Arguments: [inv_warehouse_sk#23], [w_warehouse_sk#28], Inner, BuildRight (32) CometProject Input [6]: [inv_warehouse_sk#23, inv_quantity_on_hand#24, inv_date_sk#25, i_item_sk#27, w_warehouse_sk#28, w_warehouse_name#29] @@ -222,7 +222,7 @@ Arguments: [d_date_sk#30, d_moy#32] (37) CometBroadcastHashJoin Left output [5]: [inv_quantity_on_hand#24, inv_date_sk#25, i_item_sk#27, w_warehouse_sk#28, w_warehouse_name#29] Right output [2]: [d_date_sk#30, d_moy#32] -Arguments: [inv_date_sk#25], [d_date_sk#30], Inner +Arguments: [inv_date_sk#25], [d_date_sk#30], Inner, BuildRight (38) CometProject Input [7]: [inv_quantity_on_hand#24, inv_date_sk#25, i_item_sk#27, w_warehouse_sk#28, w_warehouse_name#29, d_date_sk#30, d_moy#32] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q4/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q4/explain.txt index ce89b5e68..4aea5922b 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q4/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q4/explain.txt @@ -137,7 +137,7 @@ Arguments: [ss_customer_sk#9, ss_ext_discount_amt#10, ss_ext_sales_price#11, ss_ (6) CometBroadcastHashJoin Left output [8]: [c_customer_sk#1, c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8] Right output [6]: [ss_customer_sk#9, ss_ext_discount_amt#10, ss_ext_sales_price#11, ss_ext_wholesale_cost#12, ss_ext_list_price#13, ss_sold_date_sk#14] -Arguments: [c_customer_sk#1], [ss_customer_sk#9], Inner +Arguments: [c_customer_sk#1], [ss_customer_sk#9], Inner, BuildRight (7) CometProject Input [14]: [c_customer_sk#1, c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8, ss_customer_sk#9, ss_ext_discount_amt#10, ss_ext_sales_price#11, ss_ext_wholesale_cost#12, ss_ext_list_price#13, ss_sold_date_sk#14] @@ -161,7 +161,7 @@ Arguments: [d_date_sk#16, d_year#17] (11) CometBroadcastHashJoin Left output [12]: [c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8, ss_ext_discount_amt#10, ss_ext_sales_price#11, ss_ext_wholesale_cost#12, ss_ext_list_price#13, ss_sold_date_sk#14] Right output [2]: [d_date_sk#16, d_year#17] -Arguments: [ss_sold_date_sk#14], [d_date_sk#16], Inner +Arguments: [ss_sold_date_sk#14], [d_date_sk#16], Inner, BuildRight (12) CometProject Input [14]: [c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8, ss_ext_discount_amt#10, ss_ext_sales_price#11, ss_ext_wholesale_cost#12, ss_ext_list_price#13, ss_sold_date_sk#14, d_date_sk#16, d_year#17] @@ -220,7 +220,7 @@ Arguments: [ss_customer_sk#31, ss_ext_discount_amt#32, ss_ext_sales_price#33, ss (23) CometBroadcastHashJoin Left output [8]: [c_customer_sk#23, c_customer_id#24, c_first_name#25, c_last_name#26, c_preferred_cust_flag#27, c_birth_country#28, c_login#29, c_email_address#30] Right output [6]: [ss_customer_sk#31, ss_ext_discount_amt#32, ss_ext_sales_price#33, ss_ext_wholesale_cost#34, ss_ext_list_price#35, ss_sold_date_sk#36] -Arguments: [c_customer_sk#23], [ss_customer_sk#31], Inner +Arguments: [c_customer_sk#23], [ss_customer_sk#31], Inner, BuildRight (24) CometProject Input [14]: [c_customer_sk#23, c_customer_id#24, c_first_name#25, c_last_name#26, c_preferred_cust_flag#27, c_birth_country#28, c_login#29, c_email_address#30, ss_customer_sk#31, ss_ext_discount_amt#32, ss_ext_sales_price#33, ss_ext_wholesale_cost#34, ss_ext_list_price#35, ss_sold_date_sk#36] @@ -244,7 +244,7 @@ Arguments: [d_date_sk#38, d_year#39] (28) CometBroadcastHashJoin Left output [12]: [c_customer_id#24, c_first_name#25, c_last_name#26, c_preferred_cust_flag#27, c_birth_country#28, c_login#29, c_email_address#30, ss_ext_discount_amt#32, ss_ext_sales_price#33, ss_ext_wholesale_cost#34, ss_ext_list_price#35, ss_sold_date_sk#36] Right output [2]: [d_date_sk#38, d_year#39] -Arguments: [ss_sold_date_sk#36], [d_date_sk#38], Inner +Arguments: [ss_sold_date_sk#36], [d_date_sk#38], Inner, BuildRight (29) CometProject Input [14]: [c_customer_id#24, c_first_name#25, c_last_name#26, c_preferred_cust_flag#27, c_birth_country#28, c_login#29, c_email_address#30, ss_ext_discount_amt#32, ss_ext_sales_price#33, ss_ext_wholesale_cost#34, ss_ext_list_price#35, ss_sold_date_sk#36, d_date_sk#38, d_year#39] @@ -309,7 +309,7 @@ Arguments: [cs_bill_customer_sk#58, cs_ext_discount_amt#59, cs_ext_sales_price#6 (41) CometBroadcastHashJoin Left output [8]: [c_customer_sk#50, c_customer_id#51, c_first_name#52, c_last_name#53, c_preferred_cust_flag#54, c_birth_country#55, c_login#56, c_email_address#57] Right output [6]: [cs_bill_customer_sk#58, cs_ext_discount_amt#59, cs_ext_sales_price#60, cs_ext_wholesale_cost#61, cs_ext_list_price#62, cs_sold_date_sk#63] -Arguments: [c_customer_sk#50], [cs_bill_customer_sk#58], Inner +Arguments: [c_customer_sk#50], [cs_bill_customer_sk#58], Inner, BuildRight (42) CometProject Input [14]: [c_customer_sk#50, c_customer_id#51, c_first_name#52, c_last_name#53, c_preferred_cust_flag#54, c_birth_country#55, c_login#56, c_email_address#57, cs_bill_customer_sk#58, cs_ext_discount_amt#59, cs_ext_sales_price#60, cs_ext_wholesale_cost#61, cs_ext_list_price#62, cs_sold_date_sk#63] @@ -321,7 +321,7 @@ Output [2]: [d_date_sk#65, d_year#66] (44) CometBroadcastHashJoin Left output [12]: [c_customer_id#51, c_first_name#52, c_last_name#53, c_preferred_cust_flag#54, c_birth_country#55, c_login#56, c_email_address#57, cs_ext_discount_amt#59, cs_ext_sales_price#60, cs_ext_wholesale_cost#61, cs_ext_list_price#62, cs_sold_date_sk#63] Right output [2]: [d_date_sk#65, d_year#66] -Arguments: [cs_sold_date_sk#63], [d_date_sk#65], Inner +Arguments: [cs_sold_date_sk#63], [d_date_sk#65], Inner, BuildRight (45) CometProject Input [14]: [c_customer_id#51, c_first_name#52, c_last_name#53, c_preferred_cust_flag#54, c_birth_country#55, c_login#56, c_email_address#57, cs_ext_discount_amt#59, cs_ext_sales_price#60, cs_ext_wholesale_cost#61, cs_ext_list_price#62, cs_sold_date_sk#63, d_date_sk#65, d_year#66] @@ -394,7 +394,7 @@ Arguments: [cs_bill_customer_sk#80, cs_ext_discount_amt#81, cs_ext_sales_price#8 (59) CometBroadcastHashJoin Left output [8]: [c_customer_sk#72, c_customer_id#73, c_first_name#74, c_last_name#75, c_preferred_cust_flag#76, c_birth_country#77, c_login#78, c_email_address#79] Right output [6]: [cs_bill_customer_sk#80, cs_ext_discount_amt#81, cs_ext_sales_price#82, cs_ext_wholesale_cost#83, cs_ext_list_price#84, cs_sold_date_sk#85] -Arguments: [c_customer_sk#72], [cs_bill_customer_sk#80], Inner +Arguments: [c_customer_sk#72], [cs_bill_customer_sk#80], Inner, BuildRight (60) CometProject Input [14]: [c_customer_sk#72, c_customer_id#73, c_first_name#74, c_last_name#75, c_preferred_cust_flag#76, c_birth_country#77, c_login#78, c_email_address#79, cs_bill_customer_sk#80, cs_ext_discount_amt#81, cs_ext_sales_price#82, cs_ext_wholesale_cost#83, cs_ext_list_price#84, cs_sold_date_sk#85] @@ -406,7 +406,7 @@ Output [2]: [d_date_sk#87, d_year#88] (62) CometBroadcastHashJoin Left output [12]: [c_customer_id#73, c_first_name#74, c_last_name#75, c_preferred_cust_flag#76, c_birth_country#77, c_login#78, c_email_address#79, cs_ext_discount_amt#81, cs_ext_sales_price#82, cs_ext_wholesale_cost#83, cs_ext_list_price#84, cs_sold_date_sk#85] Right output [2]: [d_date_sk#87, d_year#88] -Arguments: [cs_sold_date_sk#85], [d_date_sk#87], Inner +Arguments: [cs_sold_date_sk#85], [d_date_sk#87], Inner, BuildRight (63) CometProject Input [14]: [c_customer_id#73, c_first_name#74, c_last_name#75, c_preferred_cust_flag#76, c_birth_country#77, c_login#78, c_email_address#79, cs_ext_discount_amt#81, cs_ext_sales_price#82, cs_ext_wholesale_cost#83, cs_ext_list_price#84, cs_sold_date_sk#85, d_date_sk#87, d_year#88] @@ -475,7 +475,7 @@ Arguments: [ws_bill_customer_sk#101, ws_ext_discount_amt#102, ws_ext_sales_price (76) CometBroadcastHashJoin Left output [8]: [c_customer_sk#93, c_customer_id#94, c_first_name#95, c_last_name#96, c_preferred_cust_flag#97, c_birth_country#98, c_login#99, c_email_address#100] Right output [6]: [ws_bill_customer_sk#101, ws_ext_discount_amt#102, ws_ext_sales_price#103, ws_ext_wholesale_cost#104, ws_ext_list_price#105, ws_sold_date_sk#106] -Arguments: [c_customer_sk#93], [ws_bill_customer_sk#101], Inner +Arguments: [c_customer_sk#93], [ws_bill_customer_sk#101], Inner, BuildRight (77) CometProject Input [14]: [c_customer_sk#93, c_customer_id#94, c_first_name#95, c_last_name#96, c_preferred_cust_flag#97, c_birth_country#98, c_login#99, c_email_address#100, ws_bill_customer_sk#101, ws_ext_discount_amt#102, ws_ext_sales_price#103, ws_ext_wholesale_cost#104, ws_ext_list_price#105, ws_sold_date_sk#106] @@ -487,7 +487,7 @@ Output [2]: [d_date_sk#108, d_year#109] (79) CometBroadcastHashJoin Left output [12]: [c_customer_id#94, c_first_name#95, c_last_name#96, c_preferred_cust_flag#97, c_birth_country#98, c_login#99, c_email_address#100, ws_ext_discount_amt#102, ws_ext_sales_price#103, ws_ext_wholesale_cost#104, ws_ext_list_price#105, ws_sold_date_sk#106] Right output [2]: [d_date_sk#108, d_year#109] -Arguments: [ws_sold_date_sk#106], [d_date_sk#108], Inner +Arguments: [ws_sold_date_sk#106], [d_date_sk#108], Inner, BuildRight (80) CometProject Input [14]: [c_customer_id#94, c_first_name#95, c_last_name#96, c_preferred_cust_flag#97, c_birth_country#98, c_login#99, c_email_address#100, ws_ext_discount_amt#102, ws_ext_sales_price#103, ws_ext_wholesale_cost#104, ws_ext_list_price#105, ws_sold_date_sk#106, d_date_sk#108, d_year#109] @@ -560,7 +560,7 @@ Arguments: [ws_bill_customer_sk#123, ws_ext_discount_amt#124, ws_ext_sales_price (94) CometBroadcastHashJoin Left output [8]: [c_customer_sk#115, c_customer_id#116, c_first_name#117, c_last_name#118, c_preferred_cust_flag#119, c_birth_country#120, c_login#121, c_email_address#122] Right output [6]: [ws_bill_customer_sk#123, ws_ext_discount_amt#124, ws_ext_sales_price#125, ws_ext_wholesale_cost#126, ws_ext_list_price#127, ws_sold_date_sk#128] -Arguments: [c_customer_sk#115], [ws_bill_customer_sk#123], Inner +Arguments: [c_customer_sk#115], [ws_bill_customer_sk#123], Inner, BuildRight (95) CometProject Input [14]: [c_customer_sk#115, c_customer_id#116, c_first_name#117, c_last_name#118, c_preferred_cust_flag#119, c_birth_country#120, c_login#121, c_email_address#122, ws_bill_customer_sk#123, ws_ext_discount_amt#124, ws_ext_sales_price#125, ws_ext_wholesale_cost#126, ws_ext_list_price#127, ws_sold_date_sk#128] @@ -572,7 +572,7 @@ Output [2]: [d_date_sk#130, d_year#131] (97) CometBroadcastHashJoin Left output [12]: [c_customer_id#116, c_first_name#117, c_last_name#118, c_preferred_cust_flag#119, c_birth_country#120, c_login#121, c_email_address#122, ws_ext_discount_amt#124, ws_ext_sales_price#125, ws_ext_wholesale_cost#126, ws_ext_list_price#127, ws_sold_date_sk#128] Right output [2]: [d_date_sk#130, d_year#131] -Arguments: [ws_sold_date_sk#128], [d_date_sk#130], Inner +Arguments: [ws_sold_date_sk#128], [d_date_sk#130], Inner, BuildRight (98) CometProject Input [14]: [c_customer_id#116, c_first_name#117, c_last_name#118, c_preferred_cust_flag#119, c_birth_country#120, c_login#121, c_email_address#122, ws_ext_discount_amt#124, ws_ext_sales_price#125, ws_ext_wholesale_cost#126, ws_ext_list_price#127, ws_sold_date_sk#128, d_date_sk#130, d_year#131] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q42/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q42/explain.txt index 06b271e43..565b30e9a 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q42/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q42/explain.txt @@ -54,7 +54,7 @@ Arguments: [ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] (7) CometBroadcastHashJoin Left output [2]: [d_date_sk#1, d_year#2] Right output [3]: [ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] -Arguments: [d_date_sk#1], [ss_sold_date_sk#6], Inner +Arguments: [d_date_sk#1], [ss_sold_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [d_date_sk#1, d_year#2, ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] @@ -82,7 +82,7 @@ Arguments: [i_item_sk#7, i_category_id#8, i_category#9] (13) CometBroadcastHashJoin Left output [3]: [d_year#2, ss_item_sk#4, ss_ext_sales_price#5] Right output [3]: [i_item_sk#7, i_category_id#8, i_category#9] -Arguments: [ss_item_sk#4], [i_item_sk#7], Inner +Arguments: [ss_item_sk#4], [i_item_sk#7], Inner, BuildRight (14) CometProject Input [6]: [d_year#2, ss_item_sk#4, ss_ext_sales_price#5, i_item_sk#7, i_category_id#8, i_category#9] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q43/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q43/explain.txt index 7aabb139f..a2cfe7898 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q43/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q43/explain.txt @@ -54,7 +54,7 @@ Arguments: [ss_store_sk#4, ss_sales_price#5, ss_sold_date_sk#6] (7) CometBroadcastHashJoin Left output [2]: [d_date_sk#1, d_day_name#3] Right output [3]: [ss_store_sk#4, ss_sales_price#5, ss_sold_date_sk#6] -Arguments: [d_date_sk#1], [ss_sold_date_sk#6], Inner +Arguments: [d_date_sk#1], [ss_sold_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [d_date_sk#1, d_day_name#3, ss_store_sk#4, ss_sales_price#5, ss_sold_date_sk#6] @@ -82,7 +82,7 @@ Arguments: [s_store_sk#7, s_store_id#8, s_store_name#9] (13) CometBroadcastHashJoin Left output [3]: [d_day_name#3, ss_store_sk#4, ss_sales_price#5] Right output [3]: [s_store_sk#7, s_store_id#8, s_store_name#9] -Arguments: [ss_store_sk#4], [s_store_sk#7], Inner +Arguments: [ss_store_sk#4], [s_store_sk#7], Inner, BuildRight (14) CometProject Input [6]: [d_day_name#3, ss_store_sk#4, ss_sales_price#5, s_store_sk#7, s_store_id#8, s_store_name#9] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q45/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q45/explain.txt index e7d08f6a8..f128499e3 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q45/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q45/explain.txt @@ -67,7 +67,7 @@ Arguments: [c_customer_sk#7, c_current_addr_sk#8] (6) CometBroadcastHashJoin Left output [4]: [ws_item_sk#2, ws_bill_customer_sk#3, ws_sales_price#4, ws_sold_date_sk#5] Right output [2]: [c_customer_sk#7, c_current_addr_sk#8] -Arguments: [ws_bill_customer_sk#3], [c_customer_sk#7], Inner +Arguments: [ws_bill_customer_sk#3], [c_customer_sk#7], Inner, BuildRight (7) CometProject Input [6]: [ws_item_sk#2, ws_bill_customer_sk#3, ws_sales_price#4, ws_sold_date_sk#5, c_customer_sk#7, c_current_addr_sk#8] @@ -91,7 +91,7 @@ Arguments: [ca_address_sk#9, ca_city#10, ca_zip#11] (11) CometBroadcastHashJoin Left output [4]: [ws_item_sk#2, ws_sales_price#4, ws_sold_date_sk#5, c_current_addr_sk#8] Right output [3]: [ca_address_sk#9, ca_city#10, ca_zip#11] -Arguments: [c_current_addr_sk#8], [ca_address_sk#9], Inner +Arguments: [c_current_addr_sk#8], [ca_address_sk#9], Inner, BuildRight (12) CometProject Input [7]: [ws_item_sk#2, ws_sales_price#4, ws_sold_date_sk#5, c_current_addr_sk#8, ca_address_sk#9, ca_city#10, ca_zip#11] @@ -119,7 +119,7 @@ Arguments: [d_date_sk#12] (17) CometBroadcastHashJoin Left output [5]: [ws_item_sk#2, ws_sales_price#4, ws_sold_date_sk#5, ca_city#10, ca_zip#11] Right output [1]: [d_date_sk#12] -Arguments: [ws_sold_date_sk#5], [d_date_sk#12], Inner +Arguments: [ws_sold_date_sk#5], [d_date_sk#12], Inner, BuildRight (18) CometProject Input [6]: [ws_item_sk#2, ws_sales_price#4, ws_sold_date_sk#5, ca_city#10, ca_zip#11, d_date_sk#12] @@ -143,7 +143,7 @@ Arguments: [i_item_sk#15, i_item_id#16] (22) CometBroadcastHashJoin Left output [4]: [ws_item_sk#2, ws_sales_price#4, ca_city#10, ca_zip#11] Right output [2]: [i_item_sk#15, i_item_id#16] -Arguments: [ws_item_sk#2], [i_item_sk#15], Inner +Arguments: [ws_item_sk#2], [i_item_sk#15], Inner, BuildRight (23) CometProject Input [6]: [ws_item_sk#2, ws_sales_price#4, ca_city#10, ca_zip#11, i_item_sk#15, i_item_id#16] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q46/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q46/explain.txt index 689e892c4..fb99351a5 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q46/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q46/explain.txt @@ -77,7 +77,7 @@ Arguments: [d_date_sk#10] (7) CometBroadcastHashJoin Left output [8]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7, ss_sold_date_sk#8] Right output [1]: [d_date_sk#10] -Arguments: [ss_sold_date_sk#8], [d_date_sk#10], Inner +Arguments: [ss_sold_date_sk#8], [d_date_sk#10], Inner, BuildRight (8) CometProject Input [9]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7, ss_sold_date_sk#8, d_date_sk#10] @@ -105,7 +105,7 @@ Arguments: [s_store_sk#13] (13) CometBroadcastHashJoin Left output [7]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7] Right output [1]: [s_store_sk#13] -Arguments: [ss_store_sk#4], [s_store_sk#13], Inner +Arguments: [ss_store_sk#4], [s_store_sk#13], Inner, BuildRight (14) CometProject Input [8]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7, s_store_sk#13] @@ -133,7 +133,7 @@ Arguments: [hd_demo_sk#15] (19) CometBroadcastHashJoin Left output [6]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7] Right output [1]: [hd_demo_sk#15] -Arguments: [ss_hdemo_sk#2], [hd_demo_sk#15], Inner +Arguments: [ss_hdemo_sk#2], [hd_demo_sk#15], Inner, BuildRight (20) CometProject Input [7]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7, hd_demo_sk#15] @@ -157,7 +157,7 @@ Arguments: [ca_address_sk#18, ca_city#19] (24) CometBroadcastHashJoin Left output [5]: [ss_customer_sk#1, ss_addr_sk#3, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7] Right output [2]: [ca_address_sk#18, ca_city#19] -Arguments: [ss_addr_sk#3], [ca_address_sk#18], Inner +Arguments: [ss_addr_sk#3], [ca_address_sk#18], Inner, BuildRight (25) CometProject Input [7]: [ss_customer_sk#1, ss_addr_sk#3, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7, ca_address_sk#18, ca_city#19] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q47/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q47/explain.txt index 1bcda9481..ce5faa952 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q47/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q47/explain.txt @@ -76,7 +76,7 @@ Arguments: [ss_item_sk#4, ss_store_sk#5, ss_sales_price#6, ss_sold_date_sk#7] (6) CometBroadcastHashJoin Left output [3]: [i_item_sk#1, i_brand#2, i_category#3] Right output [4]: [ss_item_sk#4, ss_store_sk#5, ss_sales_price#6, ss_sold_date_sk#7] -Arguments: [i_item_sk#1], [ss_item_sk#4], Inner +Arguments: [i_item_sk#1], [ss_item_sk#4], Inner, BuildRight (7) CometProject Input [7]: [i_item_sk#1, i_brand#2, i_category#3, ss_item_sk#4, ss_store_sk#5, ss_sales_price#6, ss_sold_date_sk#7] @@ -100,7 +100,7 @@ Arguments: [d_date_sk#9, d_year#10, d_moy#11] (11) CometBroadcastHashJoin Left output [5]: [i_brand#2, i_category#3, ss_store_sk#5, ss_sales_price#6, ss_sold_date_sk#7] Right output [3]: [d_date_sk#9, d_year#10, d_moy#11] -Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner +Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner, BuildRight (12) CometProject Input [8]: [i_brand#2, i_category#3, ss_store_sk#5, ss_sales_price#6, ss_sold_date_sk#7, d_date_sk#9, d_year#10, d_moy#11] @@ -124,7 +124,7 @@ Arguments: [s_store_sk#12, s_store_name#13, s_company_name#14] (16) CometBroadcastHashJoin Left output [6]: [i_brand#2, i_category#3, ss_store_sk#5, ss_sales_price#6, d_year#10, d_moy#11] Right output [3]: [s_store_sk#12, s_store_name#13, s_company_name#14] -Arguments: [ss_store_sk#5], [s_store_sk#12], Inner +Arguments: [ss_store_sk#5], [s_store_sk#12], Inner, BuildRight (17) CometProject Input [9]: [i_brand#2, i_category#3, ss_store_sk#5, ss_sales_price#6, d_year#10, d_moy#11, s_store_sk#12, s_store_name#13, s_company_name#14] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q48/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q48/explain.txt index 4f5f490e9..6b4d61a5e 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q48/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q48/explain.txt @@ -59,7 +59,7 @@ Arguments: [s_store_sk#9] (6) CometBroadcastHashJoin Left output [7]: [ss_cdemo_sk#1, ss_addr_sk#2, ss_store_sk#3, ss_quantity#4, ss_sales_price#5, ss_net_profit#6, ss_sold_date_sk#7] Right output [1]: [s_store_sk#9] -Arguments: [ss_store_sk#3], [s_store_sk#9], Inner +Arguments: [ss_store_sk#3], [s_store_sk#9], Inner, BuildRight (7) CometProject Input [8]: [ss_cdemo_sk#1, ss_addr_sk#2, ss_store_sk#3, ss_quantity#4, ss_sales_price#5, ss_net_profit#6, ss_sold_date_sk#7, s_store_sk#9] @@ -83,7 +83,7 @@ Arguments: [cd_demo_sk#10, cd_marital_status#11, cd_education_status#12] (11) CometBroadcastHashJoin Left output [6]: [ss_cdemo_sk#1, ss_addr_sk#2, ss_quantity#4, ss_sales_price#5, ss_net_profit#6, ss_sold_date_sk#7] Right output [3]: [cd_demo_sk#10, cd_marital_status#11, cd_education_status#12] -Arguments: [ss_cdemo_sk#1], [cd_demo_sk#10], Inner, ((((((cd_marital_status#11 = M) AND (cd_education_status#12 = 4 yr Degree )) AND (ss_sales_price#5 >= 100.00)) AND (ss_sales_price#5 <= 150.00)) OR ((((cd_marital_status#11 = D) AND (cd_education_status#12 = 2 yr Degree )) AND (ss_sales_price#5 >= 50.00)) AND (ss_sales_price#5 <= 100.00))) OR ((((cd_marital_status#11 = S) AND (cd_education_status#12 = College )) AND (ss_sales_price#5 >= 150.00)) AND (ss_sales_price#5 <= 200.00))) +Arguments: [ss_cdemo_sk#1], [cd_demo_sk#10], Inner, ((((((cd_marital_status#11 = M) AND (cd_education_status#12 = 4 yr Degree )) AND (ss_sales_price#5 >= 100.00)) AND (ss_sales_price#5 <= 150.00)) OR ((((cd_marital_status#11 = D) AND (cd_education_status#12 = 2 yr Degree )) AND (ss_sales_price#5 >= 50.00)) AND (ss_sales_price#5 <= 100.00))) OR ((((cd_marital_status#11 = S) AND (cd_education_status#12 = College )) AND (ss_sales_price#5 >= 150.00)) AND (ss_sales_price#5 <= 200.00))), BuildRight (12) CometProject Input [9]: [ss_cdemo_sk#1, ss_addr_sk#2, ss_quantity#4, ss_sales_price#5, ss_net_profit#6, ss_sold_date_sk#7, cd_demo_sk#10, cd_marital_status#11, cd_education_status#12] @@ -111,7 +111,7 @@ Arguments: [ca_address_sk#13, ca_state#14] (17) CometBroadcastHashJoin Left output [4]: [ss_addr_sk#2, ss_quantity#4, ss_net_profit#6, ss_sold_date_sk#7] Right output [2]: [ca_address_sk#13, ca_state#14] -Arguments: [ss_addr_sk#2], [ca_address_sk#13], Inner, ((((ca_state#14 IN (CO,OH,TX) AND (ss_net_profit#6 >= 0.00)) AND (ss_net_profit#6 <= 2000.00)) OR ((ca_state#14 IN (OR,MN,KY) AND (ss_net_profit#6 >= 150.00)) AND (ss_net_profit#6 <= 3000.00))) OR ((ca_state#14 IN (VA,CA,MS) AND (ss_net_profit#6 >= 50.00)) AND (ss_net_profit#6 <= 25000.00))) +Arguments: [ss_addr_sk#2], [ca_address_sk#13], Inner, ((((ca_state#14 IN (CO,OH,TX) AND (ss_net_profit#6 >= 0.00)) AND (ss_net_profit#6 <= 2000.00)) OR ((ca_state#14 IN (OR,MN,KY) AND (ss_net_profit#6 >= 150.00)) AND (ss_net_profit#6 <= 3000.00))) OR ((ca_state#14 IN (VA,CA,MS) AND (ss_net_profit#6 >= 50.00)) AND (ss_net_profit#6 <= 25000.00))), BuildRight (18) CometProject Input [6]: [ss_addr_sk#2, ss_quantity#4, ss_net_profit#6, ss_sold_date_sk#7, ca_address_sk#13, ca_state#14] @@ -139,7 +139,7 @@ Arguments: [d_date_sk#16] (23) CometBroadcastHashJoin Left output [2]: [ss_quantity#4, ss_sold_date_sk#7] Right output [1]: [d_date_sk#16] -Arguments: [ss_sold_date_sk#7], [d_date_sk#16], Inner +Arguments: [ss_sold_date_sk#7], [d_date_sk#16], Inner, BuildRight (24) CometProject Input [3]: [ss_quantity#4, ss_sold_date_sk#7, d_date_sk#16] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q49/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q49/explain.txt index 2445a3ee6..7df26543a 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q49/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q49/explain.txt @@ -116,7 +116,7 @@ Arguments: [wr_item_sk#8, wr_order_number#9, wr_return_quantity#10, wr_return_am (8) CometBroadcastHashJoin Left output [5]: [ws_item_sk#1, ws_order_number#2, ws_quantity#3, ws_net_paid#4, ws_sold_date_sk#6] Right output [4]: [wr_item_sk#8, wr_order_number#9, wr_return_quantity#10, wr_return_amt#11] -Arguments: [ws_order_number#2, ws_item_sk#1], [wr_order_number#9, wr_item_sk#8], Inner +Arguments: [ws_order_number#2, ws_item_sk#1], [wr_order_number#9, wr_item_sk#8], Inner, BuildLeft (9) CometProject Input [9]: [ws_item_sk#1, ws_order_number#2, ws_quantity#3, ws_net_paid#4, ws_sold_date_sk#6, wr_item_sk#8, wr_order_number#9, wr_return_quantity#10, wr_return_amt#11] @@ -144,7 +144,7 @@ Arguments: [d_date_sk#13] (14) CometBroadcastHashJoin Left output [6]: [ws_item_sk#1, ws_quantity#3, ws_net_paid#4, ws_sold_date_sk#6, wr_return_quantity#10, wr_return_amt#11] Right output [1]: [d_date_sk#13] -Arguments: [ws_sold_date_sk#6], [d_date_sk#13], Inner +Arguments: [ws_sold_date_sk#6], [d_date_sk#13], Inner, BuildRight (15) CometProject Input [7]: [ws_item_sk#1, ws_quantity#3, ws_net_paid#4, ws_sold_date_sk#6, wr_return_quantity#10, wr_return_amt#11, d_date_sk#13] @@ -235,7 +235,7 @@ Arguments: [cr_item_sk#39, cr_order_number#40, cr_return_quantity#41, cr_return_ (34) CometBroadcastHashJoin Left output [5]: [cs_item_sk#32, cs_order_number#33, cs_quantity#34, cs_net_paid#35, cs_sold_date_sk#37] Right output [4]: [cr_item_sk#39, cr_order_number#40, cr_return_quantity#41, cr_return_amount#42] -Arguments: [cs_order_number#33, cs_item_sk#32], [cr_order_number#40, cr_item_sk#39], Inner +Arguments: [cs_order_number#33, cs_item_sk#32], [cr_order_number#40, cr_item_sk#39], Inner, BuildLeft (35) CometProject Input [9]: [cs_item_sk#32, cs_order_number#33, cs_quantity#34, cs_net_paid#35, cs_sold_date_sk#37, cr_item_sk#39, cr_order_number#40, cr_return_quantity#41, cr_return_amount#42] @@ -247,7 +247,7 @@ Output [1]: [d_date_sk#44] (37) CometBroadcastHashJoin Left output [6]: [cs_item_sk#32, cs_quantity#34, cs_net_paid#35, cs_sold_date_sk#37, cr_return_quantity#41, cr_return_amount#42] Right output [1]: [d_date_sk#44] -Arguments: [cs_sold_date_sk#37], [d_date_sk#44], Inner +Arguments: [cs_sold_date_sk#37], [d_date_sk#44], Inner, BuildRight (38) CometProject Input [7]: [cs_item_sk#32, cs_quantity#34, cs_net_paid#35, cs_sold_date_sk#37, cr_return_quantity#41, cr_return_amount#42, d_date_sk#44] @@ -338,7 +338,7 @@ Arguments: [sr_item_sk#68, sr_ticket_number#69, sr_return_quantity#70, sr_return (57) CometBroadcastHashJoin Left output [5]: [ss_item_sk#61, ss_ticket_number#62, ss_quantity#63, ss_net_paid#64, ss_sold_date_sk#66] Right output [4]: [sr_item_sk#68, sr_ticket_number#69, sr_return_quantity#70, sr_return_amt#71] -Arguments: [ss_ticket_number#62, ss_item_sk#61], [sr_ticket_number#69, sr_item_sk#68], Inner +Arguments: [ss_ticket_number#62, ss_item_sk#61], [sr_ticket_number#69, sr_item_sk#68], Inner, BuildLeft (58) CometProject Input [9]: [ss_item_sk#61, ss_ticket_number#62, ss_quantity#63, ss_net_paid#64, ss_sold_date_sk#66, sr_item_sk#68, sr_ticket_number#69, sr_return_quantity#70, sr_return_amt#71] @@ -350,7 +350,7 @@ Output [1]: [d_date_sk#73] (60) CometBroadcastHashJoin Left output [6]: [ss_item_sk#61, ss_quantity#63, ss_net_paid#64, ss_sold_date_sk#66, sr_return_quantity#70, sr_return_amt#71] Right output [1]: [d_date_sk#73] -Arguments: [ss_sold_date_sk#66], [d_date_sk#73], Inner +Arguments: [ss_sold_date_sk#66], [d_date_sk#73], Inner, BuildRight (61) CometProject Input [7]: [ss_item_sk#61, ss_quantity#63, ss_net_paid#64, ss_sold_date_sk#66, sr_return_quantity#70, sr_return_amt#71, d_date_sk#73] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q5/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q5/explain.txt index 4e887f93a..07bd5f03a 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q5/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q5/explain.txt @@ -129,7 +129,7 @@ Arguments: [d_date_sk#22] (12) CometBroadcastHashJoin Left output [6]: [store_sk#6, date_sk#7, sales_price#8, profit#9, return_amt#10, net_loss#11] Right output [1]: [d_date_sk#22] -Arguments: [date_sk#7], [d_date_sk#22], Inner +Arguments: [date_sk#7], [d_date_sk#22], Inner, BuildRight (13) CometProject Input [7]: [store_sk#6, date_sk#7, sales_price#8, profit#9, return_amt#10, net_loss#11, d_date_sk#22] @@ -153,7 +153,7 @@ Arguments: [s_store_sk#24, s_store_id#25] (17) CometBroadcastHashJoin Left output [5]: [store_sk#6, sales_price#8, profit#9, return_amt#10, net_loss#11] Right output [2]: [s_store_sk#24, s_store_id#25] -Arguments: [store_sk#6], [s_store_sk#24], Inner +Arguments: [store_sk#6], [s_store_sk#24], Inner, BuildRight (18) CometProject Input [7]: [store_sk#6, sales_price#8, profit#9, return_amt#10, net_loss#11, s_store_sk#24, s_store_id#25] @@ -220,7 +220,7 @@ Output [1]: [d_date_sk#60] (31) CometBroadcastHashJoin Left output [6]: [page_sk#44, date_sk#45, sales_price#46, profit#47, return_amt#48, net_loss#49] Right output [1]: [d_date_sk#60] -Arguments: [date_sk#45], [d_date_sk#60], Inner +Arguments: [date_sk#45], [d_date_sk#60], Inner, BuildRight (32) CometProject Input [7]: [page_sk#44, date_sk#45, sales_price#46, profit#47, return_amt#48, net_loss#49, d_date_sk#60] @@ -244,7 +244,7 @@ Arguments: [cp_catalog_page_sk#61, cp_catalog_page_id#62] (36) CometBroadcastHashJoin Left output [5]: [page_sk#44, sales_price#46, profit#47, return_amt#48, net_loss#49] Right output [2]: [cp_catalog_page_sk#61, cp_catalog_page_id#62] -Arguments: [page_sk#44], [cp_catalog_page_sk#61], Inner +Arguments: [page_sk#44], [cp_catalog_page_sk#61], Inner, BuildRight (37) CometProject Input [7]: [page_sk#44, sales_price#46, profit#47, return_amt#48, net_loss#49, cp_catalog_page_sk#61, cp_catalog_page_id#62] @@ -314,7 +314,7 @@ Arguments: [ws_item_sk#92, ws_web_site_sk#93, ws_order_number#94], [ws_item_sk#9 (50) CometBroadcastHashJoin Left output [5]: [wr_item_sk#87, wr_order_number#88, wr_return_amt#89, wr_net_loss#90, wr_returned_date_sk#91] Right output [3]: [ws_item_sk#92, ws_web_site_sk#93, ws_order_number#94] -Arguments: [wr_item_sk#87, wr_order_number#88], [ws_item_sk#92, ws_order_number#94], Inner +Arguments: [wr_item_sk#87, wr_order_number#88], [ws_item_sk#92, ws_order_number#94], Inner, BuildLeft (51) CometProject Input [8]: [wr_item_sk#87, wr_order_number#88, wr_return_amt#89, wr_net_loss#90, wr_returned_date_sk#91, ws_item_sk#92, ws_web_site_sk#93, ws_order_number#94] @@ -330,7 +330,7 @@ Output [1]: [d_date_sk#102] (54) CometBroadcastHashJoin Left output [6]: [wsr_web_site_sk#81, date_sk#82, sales_price#83, profit#84, return_amt#85, net_loss#86] Right output [1]: [d_date_sk#102] -Arguments: [date_sk#82], [d_date_sk#102], Inner +Arguments: [date_sk#82], [d_date_sk#102], Inner, BuildRight (55) CometProject Input [7]: [wsr_web_site_sk#81, date_sk#82, sales_price#83, profit#84, return_amt#85, net_loss#86, d_date_sk#102] @@ -354,7 +354,7 @@ Arguments: [web_site_sk#103, web_site_id#104] (59) CometBroadcastHashJoin Left output [5]: [wsr_web_site_sk#81, sales_price#83, profit#84, return_amt#85, net_loss#86] Right output [2]: [web_site_sk#103, web_site_id#104] -Arguments: [wsr_web_site_sk#81], [web_site_sk#103], Inner +Arguments: [wsr_web_site_sk#81], [web_site_sk#103], Inner, BuildRight (60) CometProject Input [7]: [wsr_web_site_sk#81, sales_price#83, profit#84, return_amt#85, net_loss#86, web_site_sk#103, web_site_id#104] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q50/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q50/explain.txt index ac24eac43..c1c7074be 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q50/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q50/explain.txt @@ -60,7 +60,7 @@ Arguments: [sr_item_sk#6, sr_customer_sk#7, sr_ticket_number#8, sr_returned_date (6) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_customer_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_sold_date_sk#5] Right output [4]: [sr_item_sk#6, sr_customer_sk#7, sr_ticket_number#8, sr_returned_date_sk#9] -Arguments: [ss_ticket_number#4, ss_item_sk#1, ss_customer_sk#2], [sr_ticket_number#8, sr_item_sk#6, sr_customer_sk#7], Inner +Arguments: [ss_ticket_number#4, ss_item_sk#1, ss_customer_sk#2], [sr_ticket_number#8, sr_item_sk#6, sr_customer_sk#7], Inner, BuildRight (7) CometProject Input [9]: [ss_item_sk#1, ss_customer_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_sold_date_sk#5, sr_item_sk#6, sr_customer_sk#7, sr_ticket_number#8, sr_returned_date_sk#9] @@ -84,7 +84,7 @@ Arguments: [s_store_sk#11, s_store_name#12, s_company_id#13, s_street_number#14, (11) CometBroadcastHashJoin Left output [3]: [ss_store_sk#3, ss_sold_date_sk#5, sr_returned_date_sk#9] Right output [11]: [s_store_sk#11, s_store_name#12, s_company_id#13, s_street_number#14, s_street_name#15, s_street_type#16, s_suite_number#17, s_city#18, s_county#19, s_state#20, s_zip#21] -Arguments: [ss_store_sk#3], [s_store_sk#11], Inner +Arguments: [ss_store_sk#3], [s_store_sk#11], Inner, BuildRight (12) CometProject Input [14]: [ss_store_sk#3, ss_sold_date_sk#5, sr_returned_date_sk#9, s_store_sk#11, s_store_name#12, s_company_id#13, s_street_number#14, s_street_name#15, s_street_type#16, s_suite_number#17, s_city#18, s_county#19, s_state#20, s_zip#21] @@ -108,7 +108,7 @@ Arguments: [d_date_sk#22] (16) CometBroadcastHashJoin Left output [12]: [ss_sold_date_sk#5, sr_returned_date_sk#9, s_store_name#12, s_company_id#13, s_street_number#14, s_street_name#15, s_street_type#16, s_suite_number#17, s_city#18, s_county#19, s_state#20, s_zip#21] Right output [1]: [d_date_sk#22] -Arguments: [ss_sold_date_sk#5], [d_date_sk#22], Inner +Arguments: [ss_sold_date_sk#5], [d_date_sk#22], Inner, BuildRight (17) CometProject Input [13]: [ss_sold_date_sk#5, sr_returned_date_sk#9, s_store_name#12, s_company_id#13, s_street_number#14, s_street_name#15, s_street_type#16, s_suite_number#17, s_city#18, s_county#19, s_state#20, s_zip#21, d_date_sk#22] @@ -136,7 +136,7 @@ Arguments: [d_date_sk#23] (22) CometBroadcastHashJoin Left output [12]: [ss_sold_date_sk#5, sr_returned_date_sk#9, s_store_name#12, s_company_id#13, s_street_number#14, s_street_name#15, s_street_type#16, s_suite_number#17, s_city#18, s_county#19, s_state#20, s_zip#21] Right output [1]: [d_date_sk#23] -Arguments: [sr_returned_date_sk#9], [d_date_sk#23], Inner +Arguments: [sr_returned_date_sk#9], [d_date_sk#23], Inner, BuildRight (23) CometProject Input [13]: [ss_sold_date_sk#5, sr_returned_date_sk#9, s_store_name#12, s_company_id#13, s_street_number#14, s_street_name#15, s_street_type#16, s_suite_number#17, s_city#18, s_county#19, s_state#20, s_zip#21, d_date_sk#23] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q51/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q51/explain.txt index ed52d859e..bc106394c 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q51/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q51/explain.txt @@ -75,7 +75,7 @@ Arguments: [d_date_sk#5, d_date#6] (7) CometBroadcastHashJoin Left output [3]: [ws_item_sk#1, ws_sales_price#2, ws_sold_date_sk#3] Right output [2]: [d_date_sk#5, d_date#6] -Arguments: [ws_sold_date_sk#3], [d_date_sk#5], Inner +Arguments: [ws_sold_date_sk#3], [d_date_sk#5], Inner, BuildRight (8) CometProject Input [5]: [ws_item_sk#1, ws_sales_price#2, ws_sold_date_sk#3, d_date_sk#5, d_date#6] @@ -142,7 +142,7 @@ Output [2]: [d_date_sk#17, d_date#18] (22) CometBroadcastHashJoin Left output [3]: [ss_item_sk#13, ss_sales_price#14, ss_sold_date_sk#15] Right output [2]: [d_date_sk#17, d_date#18] -Arguments: [ss_sold_date_sk#15], [d_date_sk#17], Inner +Arguments: [ss_sold_date_sk#15], [d_date_sk#17], Inner, BuildRight (23) CometProject Input [5]: [ss_item_sk#13, ss_sales_price#14, ss_sold_date_sk#15, d_date_sk#17, d_date#18] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q52/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q52/explain.txt index 5226ad2ab..65c777125 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q52/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q52/explain.txt @@ -54,7 +54,7 @@ Arguments: [ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] (7) CometBroadcastHashJoin Left output [2]: [d_date_sk#1, d_year#2] Right output [3]: [ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] -Arguments: [d_date_sk#1], [ss_sold_date_sk#6], Inner +Arguments: [d_date_sk#1], [ss_sold_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [d_date_sk#1, d_year#2, ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] @@ -82,7 +82,7 @@ Arguments: [i_item_sk#7, i_brand_id#8, i_brand#9] (13) CometBroadcastHashJoin Left output [3]: [d_year#2, ss_item_sk#4, ss_ext_sales_price#5] Right output [3]: [i_item_sk#7, i_brand_id#8, i_brand#9] -Arguments: [ss_item_sk#4], [i_item_sk#7], Inner +Arguments: [ss_item_sk#4], [i_item_sk#7], Inner, BuildRight (14) CometProject Input [6]: [d_year#2, ss_item_sk#4, ss_ext_sales_price#5, i_item_sk#7, i_brand_id#8, i_brand#9] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q53/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q53/explain.txt index 195d977ae..76d80c043 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q53/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q53/explain.txt @@ -64,7 +64,7 @@ Arguments: [ss_item_sk#10, ss_store_sk#11, ss_sales_price#12, ss_sold_date_sk#13 (7) CometBroadcastHashJoin Left output [2]: [i_item_sk#1, i_manufact_id#5] Right output [4]: [ss_item_sk#10, ss_store_sk#11, ss_sales_price#12, ss_sold_date_sk#13] -Arguments: [i_item_sk#1], [ss_item_sk#10], Inner +Arguments: [i_item_sk#1], [ss_item_sk#10], Inner, BuildRight (8) CometProject Input [6]: [i_item_sk#1, i_manufact_id#5, ss_item_sk#10, ss_store_sk#11, ss_sales_price#12, ss_sold_date_sk#13] @@ -92,7 +92,7 @@ Arguments: [d_date_sk#15, d_qoy#17] (13) CometBroadcastHashJoin Left output [4]: [i_manufact_id#5, ss_store_sk#11, ss_sales_price#12, ss_sold_date_sk#13] Right output [2]: [d_date_sk#15, d_qoy#17] -Arguments: [ss_sold_date_sk#13], [d_date_sk#15], Inner +Arguments: [ss_sold_date_sk#13], [d_date_sk#15], Inner, BuildRight (14) CometProject Input [6]: [i_manufact_id#5, ss_store_sk#11, ss_sales_price#12, ss_sold_date_sk#13, d_date_sk#15, d_qoy#17] @@ -116,7 +116,7 @@ Arguments: [s_store_sk#18] (18) CometBroadcastHashJoin Left output [4]: [i_manufact_id#5, ss_store_sk#11, ss_sales_price#12, d_qoy#17] Right output [1]: [s_store_sk#18] -Arguments: [ss_store_sk#11], [s_store_sk#18], Inner +Arguments: [ss_store_sk#11], [s_store_sk#18], Inner, BuildRight (19) CometProject Input [5]: [i_manufact_id#5, ss_store_sk#11, ss_sales_price#12, d_qoy#17, s_store_sk#18] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q54/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q54/explain.txt index f94516c7a..9eca5ceea 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q54/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q54/explain.txt @@ -115,7 +115,7 @@ Arguments: [i_item_sk#14] (12) CometBroadcastHashJoin Left output [3]: [sold_date_sk#5, customer_sk#6, item_sk#7] Right output [1]: [i_item_sk#14] -Arguments: [item_sk#7], [i_item_sk#14], Inner +Arguments: [item_sk#7], [i_item_sk#14], Inner, BuildRight (13) CometProject Input [4]: [sold_date_sk#5, customer_sk#6, item_sk#7, i_item_sk#14] @@ -143,7 +143,7 @@ Arguments: [d_date_sk#17] (18) CometBroadcastHashJoin Left output [2]: [sold_date_sk#5, customer_sk#6] Right output [1]: [d_date_sk#17] -Arguments: [sold_date_sk#5], [d_date_sk#17], Inner +Arguments: [sold_date_sk#5], [d_date_sk#17], Inner, BuildRight (19) CometProject Input [3]: [sold_date_sk#5, customer_sk#6, d_date_sk#17] @@ -167,7 +167,7 @@ Arguments: [c_customer_sk#20, c_current_addr_sk#21] (23) CometBroadcastHashJoin Left output [1]: [customer_sk#6] Right output [2]: [c_customer_sk#20, c_current_addr_sk#21] -Arguments: [customer_sk#6], [c_customer_sk#20], Inner +Arguments: [customer_sk#6], [c_customer_sk#20], Inner, BuildRight (24) CometProject Input [3]: [customer_sk#6, c_customer_sk#20, c_current_addr_sk#21] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q55/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q55/explain.txt index 9df31f48b..00b14b96b 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q55/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q55/explain.txt @@ -54,7 +54,7 @@ Arguments: [ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] (7) CometBroadcastHashJoin Left output [1]: [d_date_sk#1] Right output [3]: [ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] -Arguments: [d_date_sk#1], [ss_sold_date_sk#6], Inner +Arguments: [d_date_sk#1], [ss_sold_date_sk#6], Inner, BuildRight (8) CometProject Input [4]: [d_date_sk#1, ss_item_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] @@ -82,7 +82,7 @@ Arguments: [i_item_sk#7, i_brand_id#8, i_brand#9] (13) CometBroadcastHashJoin Left output [2]: [ss_item_sk#4, ss_ext_sales_price#5] Right output [3]: [i_item_sk#7, i_brand_id#8, i_brand#9] -Arguments: [ss_item_sk#4], [i_item_sk#7], Inner +Arguments: [ss_item_sk#4], [i_item_sk#7], Inner, BuildRight (14) CometProject Input [5]: [ss_item_sk#4, ss_ext_sales_price#5, i_item_sk#7, i_brand_id#8, i_brand#9] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q56/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q56/explain.txt index a0c4b7286..74977244e 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q56/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q56/explain.txt @@ -98,7 +98,7 @@ Arguments: [d_date_sk#6] (7) CometBroadcastHashJoin Left output [4]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3, ss_sold_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [ss_sold_date_sk#4], [d_date_sk#6], Inner +Arguments: [ss_sold_date_sk#4], [d_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3, ss_sold_date_sk#4, d_date_sk#6] @@ -126,7 +126,7 @@ Arguments: [ca_address_sk#9] (13) CometBroadcastHashJoin Left output [3]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3] Right output [1]: [ca_address_sk#9] -Arguments: [ss_addr_sk#2], [ca_address_sk#9], Inner +Arguments: [ss_addr_sk#2], [ca_address_sk#9], Inner, BuildRight (14) CometProject Input [4]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3, ca_address_sk#9] @@ -165,7 +165,7 @@ Arguments: [i_item_id#13] (21) CometBroadcastHashJoin Left output [2]: [i_item_sk#11, i_item_id#12] Right output [1]: [i_item_id#13] -Arguments: [i_item_id#12], [i_item_id#13], LeftSemi +Arguments: [i_item_id#12], [i_item_id#13], LeftSemi, BuildRight (22) CometBroadcastExchange Input [2]: [i_item_sk#11, i_item_id#12] @@ -174,7 +174,7 @@ Arguments: [i_item_sk#11, i_item_id#12] (23) CometBroadcastHashJoin Left output [2]: [ss_item_sk#1, ss_ext_sales_price#3] Right output [2]: [i_item_sk#11, i_item_id#12] -Arguments: [ss_item_sk#1], [i_item_sk#11], Inner +Arguments: [ss_item_sk#1], [i_item_sk#11], Inner, BuildRight (24) CometProject Input [4]: [ss_item_sk#1, ss_ext_sales_price#3, i_item_sk#11, i_item_id#12] @@ -217,7 +217,7 @@ Output [1]: [d_date_sk#23] (32) CometBroadcastHashJoin Left output [4]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20, cs_sold_date_sk#21] Right output [1]: [d_date_sk#23] -Arguments: [cs_sold_date_sk#21], [d_date_sk#23], Inner +Arguments: [cs_sold_date_sk#21], [d_date_sk#23], Inner, BuildRight (33) CometProject Input [5]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20, cs_sold_date_sk#21, d_date_sk#23] @@ -229,7 +229,7 @@ Output [1]: [ca_address_sk#24] (35) CometBroadcastHashJoin Left output [3]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20] Right output [1]: [ca_address_sk#24] -Arguments: [cs_bill_addr_sk#18], [ca_address_sk#24], Inner +Arguments: [cs_bill_addr_sk#18], [ca_address_sk#24], Inner, BuildRight (36) CometProject Input [4]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20, ca_address_sk#24] @@ -241,7 +241,7 @@ Output [2]: [i_item_sk#25, i_item_id#26] (38) CometBroadcastHashJoin Left output [2]: [cs_item_sk#19, cs_ext_sales_price#20] Right output [2]: [i_item_sk#25, i_item_id#26] -Arguments: [cs_item_sk#19], [i_item_sk#25], Inner +Arguments: [cs_item_sk#19], [i_item_sk#25], Inner, BuildRight (39) CometProject Input [4]: [cs_item_sk#19, cs_ext_sales_price#20, i_item_sk#25, i_item_id#26] @@ -284,7 +284,7 @@ Output [1]: [d_date_sk#35] (47) CometBroadcastHashJoin Left output [4]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32, ws_sold_date_sk#33] Right output [1]: [d_date_sk#35] -Arguments: [ws_sold_date_sk#33], [d_date_sk#35], Inner +Arguments: [ws_sold_date_sk#33], [d_date_sk#35], Inner, BuildRight (48) CometProject Input [5]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32, ws_sold_date_sk#33, d_date_sk#35] @@ -296,7 +296,7 @@ Output [1]: [ca_address_sk#36] (50) CometBroadcastHashJoin Left output [3]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32] Right output [1]: [ca_address_sk#36] -Arguments: [ws_bill_addr_sk#31], [ca_address_sk#36], Inner +Arguments: [ws_bill_addr_sk#31], [ca_address_sk#36], Inner, BuildRight (51) CometProject Input [4]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32, ca_address_sk#36] @@ -308,7 +308,7 @@ Output [2]: [i_item_sk#37, i_item_id#38] (53) CometBroadcastHashJoin Left output [2]: [ws_item_sk#30, ws_ext_sales_price#32] Right output [2]: [i_item_sk#37, i_item_id#38] -Arguments: [ws_item_sk#30], [i_item_sk#37], Inner +Arguments: [ws_item_sk#30], [i_item_sk#37], Inner, BuildRight (54) CometProject Input [4]: [ws_item_sk#30, ws_ext_sales_price#32, i_item_sk#37, i_item_id#38] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q57/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q57/explain.txt index fa05f2d95..197603ca3 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q57/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q57/explain.txt @@ -76,7 +76,7 @@ Arguments: [cs_call_center_sk#4, cs_item_sk#5, cs_sales_price#6, cs_sold_date_sk (6) CometBroadcastHashJoin Left output [3]: [i_item_sk#1, i_brand#2, i_category#3] Right output [4]: [cs_call_center_sk#4, cs_item_sk#5, cs_sales_price#6, cs_sold_date_sk#7] -Arguments: [i_item_sk#1], [cs_item_sk#5], Inner +Arguments: [i_item_sk#1], [cs_item_sk#5], Inner, BuildRight (7) CometProject Input [7]: [i_item_sk#1, i_brand#2, i_category#3, cs_call_center_sk#4, cs_item_sk#5, cs_sales_price#6, cs_sold_date_sk#7] @@ -100,7 +100,7 @@ Arguments: [d_date_sk#9, d_year#10, d_moy#11] (11) CometBroadcastHashJoin Left output [5]: [i_brand#2, i_category#3, cs_call_center_sk#4, cs_sales_price#6, cs_sold_date_sk#7] Right output [3]: [d_date_sk#9, d_year#10, d_moy#11] -Arguments: [cs_sold_date_sk#7], [d_date_sk#9], Inner +Arguments: [cs_sold_date_sk#7], [d_date_sk#9], Inner, BuildRight (12) CometProject Input [8]: [i_brand#2, i_category#3, cs_call_center_sk#4, cs_sales_price#6, cs_sold_date_sk#7, d_date_sk#9, d_year#10, d_moy#11] @@ -124,7 +124,7 @@ Arguments: [cc_call_center_sk#12, cc_name#13] (16) CometBroadcastHashJoin Left output [6]: [i_brand#2, i_category#3, cs_call_center_sk#4, cs_sales_price#6, d_year#10, d_moy#11] Right output [2]: [cc_call_center_sk#12, cc_name#13] -Arguments: [cs_call_center_sk#4], [cc_call_center_sk#12], Inner +Arguments: [cs_call_center_sk#4], [cc_call_center_sk#12], Inner, BuildRight (17) CometProject Input [8]: [i_brand#2, i_category#3, cs_call_center_sk#4, cs_sales_price#6, d_year#10, d_moy#11, cc_call_center_sk#12, cc_name#13] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q58/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q58/explain.txt index e23beca6f..9d5fe57a2 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q58/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q58/explain.txt @@ -84,7 +84,7 @@ Arguments: [i_item_sk#5, i_item_id#6] (6) CometBroadcastHashJoin Left output [3]: [ss_item_sk#1, ss_ext_sales_price#2, ss_sold_date_sk#3] Right output [2]: [i_item_sk#5, i_item_id#6] -Arguments: [ss_item_sk#1], [i_item_sk#5], Inner +Arguments: [ss_item_sk#1], [i_item_sk#5], Inner, BuildRight (7) CometProject Input [5]: [ss_item_sk#1, ss_ext_sales_price#2, ss_sold_date_sk#3, i_item_sk#5, i_item_id#6] @@ -107,7 +107,7 @@ Output [1]: [d_date#9] (11) CometBroadcastHashJoin Left output [2]: [d_date_sk#7, d_date#8] Right output [1]: [d_date#9] -Arguments: [d_date#8], [d_date#9], LeftSemi +Arguments: [d_date#8], [d_date#9], LeftSemi, BuildRight (12) CometProject Input [2]: [d_date_sk#7, d_date#8] @@ -120,7 +120,7 @@ Arguments: [d_date_sk#7] (14) CometBroadcastHashJoin Left output [3]: [ss_ext_sales_price#2, ss_sold_date_sk#3, i_item_id#6] Right output [1]: [d_date_sk#7] -Arguments: [ss_sold_date_sk#3], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#3], [d_date_sk#7], Inner, BuildRight (15) CometProject Input [4]: [ss_ext_sales_price#2, ss_sold_date_sk#3, i_item_id#6, d_date_sk#7] @@ -167,7 +167,7 @@ Output [2]: [i_item_sk#18, i_item_id#19] (24) CometBroadcastHashJoin Left output [3]: [cs_item_sk#14, cs_ext_sales_price#15, cs_sold_date_sk#16] Right output [2]: [i_item_sk#18, i_item_id#19] -Arguments: [cs_item_sk#14], [i_item_sk#18], Inner +Arguments: [cs_item_sk#14], [i_item_sk#18], Inner, BuildRight (25) CometProject Input [5]: [cs_item_sk#14, cs_ext_sales_price#15, cs_sold_date_sk#16, i_item_sk#18, i_item_id#19] @@ -179,7 +179,7 @@ Output [1]: [d_date_sk#20] (27) CometBroadcastHashJoin Left output [3]: [cs_ext_sales_price#15, cs_sold_date_sk#16, i_item_id#19] Right output [1]: [d_date_sk#20] -Arguments: [cs_sold_date_sk#16], [d_date_sk#20], Inner +Arguments: [cs_sold_date_sk#16], [d_date_sk#20], Inner, BuildRight (28) CometProject Input [4]: [cs_ext_sales_price#15, cs_sold_date_sk#16, i_item_id#19, d_date_sk#20] @@ -240,7 +240,7 @@ Output [2]: [i_item_sk#29, i_item_id#30] (40) CometBroadcastHashJoin Left output [3]: [ws_item_sk#25, ws_ext_sales_price#26, ws_sold_date_sk#27] Right output [2]: [i_item_sk#29, i_item_id#30] -Arguments: [ws_item_sk#25], [i_item_sk#29], Inner +Arguments: [ws_item_sk#25], [i_item_sk#29], Inner, BuildRight (41) CometProject Input [5]: [ws_item_sk#25, ws_ext_sales_price#26, ws_sold_date_sk#27, i_item_sk#29, i_item_id#30] @@ -252,7 +252,7 @@ Output [1]: [d_date_sk#31] (43) CometBroadcastHashJoin Left output [3]: [ws_ext_sales_price#26, ws_sold_date_sk#27, i_item_id#30] Right output [1]: [d_date_sk#31] -Arguments: [ws_sold_date_sk#27], [d_date_sk#31], Inner +Arguments: [ws_sold_date_sk#27], [d_date_sk#31], Inner, BuildRight (44) CometProject Input [4]: [ws_ext_sales_price#26, ws_sold_date_sk#27, i_item_id#30, d_date_sk#31] @@ -347,7 +347,7 @@ Arguments: [d_date#9] (60) CometBroadcastHashJoin Left output [2]: [d_date_sk#7, d_date#8] Right output [1]: [d_date#9] -Arguments: [d_date#8], [d_date#9], LeftSemi +Arguments: [d_date#8], [d_date#9], LeftSemi, BuildRight (61) CometProject Input [2]: [d_date_sk#7, d_date#8] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q59/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q59/explain.txt index 73fbc6986..3af7e7296 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q59/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q59/explain.txt @@ -74,7 +74,7 @@ Arguments: [d_date_sk#4, d_week_seq#5, d_day_name#6] (6) CometBroadcastHashJoin Left output [3]: [ss_store_sk#1, ss_sales_price#2, ss_sold_date_sk#3] Right output [3]: [d_date_sk#4, d_week_seq#5, d_day_name#6] -Arguments: [ss_sold_date_sk#3], [d_date_sk#4], Inner +Arguments: [ss_sold_date_sk#3], [d_date_sk#4], Inner, BuildRight (7) CometProject Input [6]: [ss_store_sk#1, ss_sales_price#2, ss_sold_date_sk#3, d_date_sk#4, d_week_seq#5, d_day_name#6] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q6/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q6/explain.txt index 18e3b8d95..95a19de48 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q6/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q6/explain.txt @@ -70,7 +70,7 @@ Arguments: [c_customer_sk#3, c_current_addr_sk#4] (6) CometBroadcastHashJoin Left output [2]: [ca_address_sk#1, ca_state#2] Right output [2]: [c_customer_sk#3, c_current_addr_sk#4] -Arguments: [ca_address_sk#1], [c_current_addr_sk#4], Inner +Arguments: [ca_address_sk#1], [c_current_addr_sk#4], Inner, BuildRight (7) CometProject Input [4]: [ca_address_sk#1, ca_state#2, c_customer_sk#3, c_current_addr_sk#4] @@ -95,7 +95,7 @@ Arguments: [ss_item_sk#5, ss_customer_sk#6, ss_sold_date_sk#7] (11) CometBroadcastHashJoin Left output [2]: [ca_state#2, c_customer_sk#3] Right output [3]: [ss_item_sk#5, ss_customer_sk#6, ss_sold_date_sk#7] -Arguments: [c_customer_sk#3], [ss_customer_sk#6], Inner +Arguments: [c_customer_sk#3], [ss_customer_sk#6], Inner, BuildRight (12) CometProject Input [5]: [ca_state#2, c_customer_sk#3, ss_item_sk#5, ss_customer_sk#6, ss_sold_date_sk#7] @@ -123,7 +123,7 @@ Arguments: [d_date_sk#9] (17) CometBroadcastHashJoin Left output [3]: [ca_state#2, ss_item_sk#5, ss_sold_date_sk#7] Right output [1]: [d_date_sk#9] -Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner +Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner, BuildRight (18) CometProject Input [4]: [ca_state#2, ss_item_sk#5, ss_sold_date_sk#7, d_date_sk#9] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q60/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q60/explain.txt index e91d49030..0f61456dd 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q60/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q60/explain.txt @@ -98,7 +98,7 @@ Arguments: [d_date_sk#6] (7) CometBroadcastHashJoin Left output [4]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3, ss_sold_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [ss_sold_date_sk#4], [d_date_sk#6], Inner +Arguments: [ss_sold_date_sk#4], [d_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3, ss_sold_date_sk#4, d_date_sk#6] @@ -126,7 +126,7 @@ Arguments: [ca_address_sk#9] (13) CometBroadcastHashJoin Left output [3]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3] Right output [1]: [ca_address_sk#9] -Arguments: [ss_addr_sk#2], [ca_address_sk#9], Inner +Arguments: [ss_addr_sk#2], [ca_address_sk#9], Inner, BuildRight (14) CometProject Input [4]: [ss_item_sk#1, ss_addr_sk#2, ss_ext_sales_price#3, ca_address_sk#9] @@ -165,7 +165,7 @@ Arguments: [i_item_id#13] (21) CometBroadcastHashJoin Left output [2]: [i_item_sk#11, i_item_id#12] Right output [1]: [i_item_id#13] -Arguments: [i_item_id#12], [i_item_id#13], LeftSemi +Arguments: [i_item_id#12], [i_item_id#13], LeftSemi, BuildRight (22) CometBroadcastExchange Input [2]: [i_item_sk#11, i_item_id#12] @@ -174,7 +174,7 @@ Arguments: [i_item_sk#11, i_item_id#12] (23) CometBroadcastHashJoin Left output [2]: [ss_item_sk#1, ss_ext_sales_price#3] Right output [2]: [i_item_sk#11, i_item_id#12] -Arguments: [ss_item_sk#1], [i_item_sk#11], Inner +Arguments: [ss_item_sk#1], [i_item_sk#11], Inner, BuildRight (24) CometProject Input [4]: [ss_item_sk#1, ss_ext_sales_price#3, i_item_sk#11, i_item_id#12] @@ -217,7 +217,7 @@ Output [1]: [d_date_sk#23] (32) CometBroadcastHashJoin Left output [4]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20, cs_sold_date_sk#21] Right output [1]: [d_date_sk#23] -Arguments: [cs_sold_date_sk#21], [d_date_sk#23], Inner +Arguments: [cs_sold_date_sk#21], [d_date_sk#23], Inner, BuildRight (33) CometProject Input [5]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20, cs_sold_date_sk#21, d_date_sk#23] @@ -229,7 +229,7 @@ Output [1]: [ca_address_sk#24] (35) CometBroadcastHashJoin Left output [3]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20] Right output [1]: [ca_address_sk#24] -Arguments: [cs_bill_addr_sk#18], [ca_address_sk#24], Inner +Arguments: [cs_bill_addr_sk#18], [ca_address_sk#24], Inner, BuildRight (36) CometProject Input [4]: [cs_bill_addr_sk#18, cs_item_sk#19, cs_ext_sales_price#20, ca_address_sk#24] @@ -241,7 +241,7 @@ Output [2]: [i_item_sk#25, i_item_id#26] (38) CometBroadcastHashJoin Left output [2]: [cs_item_sk#19, cs_ext_sales_price#20] Right output [2]: [i_item_sk#25, i_item_id#26] -Arguments: [cs_item_sk#19], [i_item_sk#25], Inner +Arguments: [cs_item_sk#19], [i_item_sk#25], Inner, BuildRight (39) CometProject Input [4]: [cs_item_sk#19, cs_ext_sales_price#20, i_item_sk#25, i_item_id#26] @@ -284,7 +284,7 @@ Output [1]: [d_date_sk#35] (47) CometBroadcastHashJoin Left output [4]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32, ws_sold_date_sk#33] Right output [1]: [d_date_sk#35] -Arguments: [ws_sold_date_sk#33], [d_date_sk#35], Inner +Arguments: [ws_sold_date_sk#33], [d_date_sk#35], Inner, BuildRight (48) CometProject Input [5]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32, ws_sold_date_sk#33, d_date_sk#35] @@ -296,7 +296,7 @@ Output [1]: [ca_address_sk#36] (50) CometBroadcastHashJoin Left output [3]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32] Right output [1]: [ca_address_sk#36] -Arguments: [ws_bill_addr_sk#31], [ca_address_sk#36], Inner +Arguments: [ws_bill_addr_sk#31], [ca_address_sk#36], Inner, BuildRight (51) CometProject Input [4]: [ws_item_sk#30, ws_bill_addr_sk#31, ws_ext_sales_price#32, ca_address_sk#36] @@ -308,7 +308,7 @@ Output [2]: [i_item_sk#37, i_item_id#38] (53) CometBroadcastHashJoin Left output [2]: [ws_item_sk#30, ws_ext_sales_price#32] Right output [2]: [i_item_sk#37, i_item_id#38] -Arguments: [ws_item_sk#30], [i_item_sk#37], Inner +Arguments: [ws_item_sk#30], [i_item_sk#37], Inner, BuildRight (54) CometProject Input [4]: [ws_item_sk#30, ws_ext_sales_price#32, i_item_sk#37, i_item_id#38] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q61/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q61/explain.txt index da32aa0eb..1567198fe 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q61/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q61/explain.txt @@ -100,7 +100,7 @@ Arguments: [s_store_sk#8] (7) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_customer_sk#2, ss_store_sk#3, ss_promo_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] Right output [1]: [s_store_sk#8] -Arguments: [ss_store_sk#3], [s_store_sk#8], Inner +Arguments: [ss_store_sk#3], [s_store_sk#8], Inner, BuildRight (8) CometProject Input [7]: [ss_item_sk#1, ss_customer_sk#2, ss_store_sk#3, ss_promo_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6, s_store_sk#8] @@ -128,7 +128,7 @@ Arguments: [p_promo_sk#10] (13) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_customer_sk#2, ss_promo_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6] Right output [1]: [p_promo_sk#10] -Arguments: [ss_promo_sk#4], [p_promo_sk#10], Inner +Arguments: [ss_promo_sk#4], [p_promo_sk#10], Inner, BuildRight (14) CometProject Input [6]: [ss_item_sk#1, ss_customer_sk#2, ss_promo_sk#4, ss_ext_sales_price#5, ss_sold_date_sk#6, p_promo_sk#10] @@ -156,7 +156,7 @@ Arguments: [d_date_sk#14] (19) CometBroadcastHashJoin Left output [4]: [ss_item_sk#1, ss_customer_sk#2, ss_ext_sales_price#5, ss_sold_date_sk#6] Right output [1]: [d_date_sk#14] -Arguments: [ss_sold_date_sk#6], [d_date_sk#14], Inner +Arguments: [ss_sold_date_sk#6], [d_date_sk#14], Inner, BuildRight (20) CometProject Input [5]: [ss_item_sk#1, ss_customer_sk#2, ss_ext_sales_price#5, ss_sold_date_sk#6, d_date_sk#14] @@ -180,7 +180,7 @@ Arguments: [c_customer_sk#17, c_current_addr_sk#18] (24) CometBroadcastHashJoin Left output [3]: [ss_item_sk#1, ss_customer_sk#2, ss_ext_sales_price#5] Right output [2]: [c_customer_sk#17, c_current_addr_sk#18] -Arguments: [ss_customer_sk#2], [c_customer_sk#17], Inner +Arguments: [ss_customer_sk#2], [c_customer_sk#17], Inner, BuildRight (25) CometProject Input [5]: [ss_item_sk#1, ss_customer_sk#2, ss_ext_sales_price#5, c_customer_sk#17, c_current_addr_sk#18] @@ -208,7 +208,7 @@ Arguments: [ca_address_sk#19] (30) CometBroadcastHashJoin Left output [3]: [ss_item_sk#1, ss_ext_sales_price#5, c_current_addr_sk#18] Right output [1]: [ca_address_sk#19] -Arguments: [c_current_addr_sk#18], [ca_address_sk#19], Inner +Arguments: [c_current_addr_sk#18], [ca_address_sk#19], Inner, BuildRight (31) CometProject Input [4]: [ss_item_sk#1, ss_ext_sales_price#5, c_current_addr_sk#18, ca_address_sk#19] @@ -236,7 +236,7 @@ Arguments: [i_item_sk#21] (36) CometBroadcastHashJoin Left output [2]: [ss_item_sk#1, ss_ext_sales_price#5] Right output [1]: [i_item_sk#21] -Arguments: [ss_item_sk#1], [i_item_sk#21], Inner +Arguments: [ss_item_sk#1], [i_item_sk#21], Inner, BuildRight (37) CometProject Input [3]: [ss_item_sk#1, ss_ext_sales_price#5, i_item_sk#21] @@ -279,7 +279,7 @@ Output [1]: [s_store_sk#32] (45) CometBroadcastHashJoin Left output [5]: [ss_item_sk#26, ss_customer_sk#27, ss_store_sk#28, ss_ext_sales_price#29, ss_sold_date_sk#30] Right output [1]: [s_store_sk#32] -Arguments: [ss_store_sk#28], [s_store_sk#32], Inner +Arguments: [ss_store_sk#28], [s_store_sk#32], Inner, BuildRight (46) CometProject Input [6]: [ss_item_sk#26, ss_customer_sk#27, ss_store_sk#28, ss_ext_sales_price#29, ss_sold_date_sk#30, s_store_sk#32] @@ -291,7 +291,7 @@ Output [1]: [d_date_sk#33] (48) CometBroadcastHashJoin Left output [4]: [ss_item_sk#26, ss_customer_sk#27, ss_ext_sales_price#29, ss_sold_date_sk#30] Right output [1]: [d_date_sk#33] -Arguments: [ss_sold_date_sk#30], [d_date_sk#33], Inner +Arguments: [ss_sold_date_sk#30], [d_date_sk#33], Inner, BuildRight (49) CometProject Input [5]: [ss_item_sk#26, ss_customer_sk#27, ss_ext_sales_price#29, ss_sold_date_sk#30, d_date_sk#33] @@ -303,7 +303,7 @@ Output [2]: [c_customer_sk#34, c_current_addr_sk#35] (51) CometBroadcastHashJoin Left output [3]: [ss_item_sk#26, ss_customer_sk#27, ss_ext_sales_price#29] Right output [2]: [c_customer_sk#34, c_current_addr_sk#35] -Arguments: [ss_customer_sk#27], [c_customer_sk#34], Inner +Arguments: [ss_customer_sk#27], [c_customer_sk#34], Inner, BuildRight (52) CometProject Input [5]: [ss_item_sk#26, ss_customer_sk#27, ss_ext_sales_price#29, c_customer_sk#34, c_current_addr_sk#35] @@ -315,7 +315,7 @@ Output [1]: [ca_address_sk#36] (54) CometBroadcastHashJoin Left output [3]: [ss_item_sk#26, ss_ext_sales_price#29, c_current_addr_sk#35] Right output [1]: [ca_address_sk#36] -Arguments: [c_current_addr_sk#35], [ca_address_sk#36], Inner +Arguments: [c_current_addr_sk#35], [ca_address_sk#36], Inner, BuildRight (55) CometProject Input [4]: [ss_item_sk#26, ss_ext_sales_price#29, c_current_addr_sk#35, ca_address_sk#36] @@ -327,7 +327,7 @@ Output [1]: [i_item_sk#37] (57) CometBroadcastHashJoin Left output [2]: [ss_item_sk#26, ss_ext_sales_price#29] Right output [1]: [i_item_sk#37] -Arguments: [ss_item_sk#26], [i_item_sk#37], Inner +Arguments: [ss_item_sk#26], [i_item_sk#37], Inner, BuildRight (58) CometProject Input [3]: [ss_item_sk#26, ss_ext_sales_price#29, i_item_sk#37] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q62/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q62/explain.txt index 89059399c..21d44db2c 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q62/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q62/explain.txt @@ -58,7 +58,7 @@ Arguments: [w_warehouse_sk#6, w_warehouse_name#7] (6) CometBroadcastHashJoin Left output [5]: [ws_ship_date_sk#1, ws_web_site_sk#2, ws_ship_mode_sk#3, ws_warehouse_sk#4, ws_sold_date_sk#5] Right output [2]: [w_warehouse_sk#6, w_warehouse_name#7] -Arguments: [ws_warehouse_sk#4], [w_warehouse_sk#6], Inner +Arguments: [ws_warehouse_sk#4], [w_warehouse_sk#6], Inner, BuildRight (7) CometProject Input [7]: [ws_ship_date_sk#1, ws_web_site_sk#2, ws_ship_mode_sk#3, ws_warehouse_sk#4, ws_sold_date_sk#5, w_warehouse_sk#6, w_warehouse_name#7] @@ -82,7 +82,7 @@ Arguments: [sm_ship_mode_sk#8, sm_type#9] (11) CometBroadcastHashJoin Left output [5]: [ws_ship_date_sk#1, ws_web_site_sk#2, ws_ship_mode_sk#3, ws_sold_date_sk#5, w_warehouse_name#7] Right output [2]: [sm_ship_mode_sk#8, sm_type#9] -Arguments: [ws_ship_mode_sk#3], [sm_ship_mode_sk#8], Inner +Arguments: [ws_ship_mode_sk#3], [sm_ship_mode_sk#8], Inner, BuildRight (12) CometProject Input [7]: [ws_ship_date_sk#1, ws_web_site_sk#2, ws_ship_mode_sk#3, ws_sold_date_sk#5, w_warehouse_name#7, sm_ship_mode_sk#8, sm_type#9] @@ -106,7 +106,7 @@ Arguments: [web_site_sk#10, web_name#11] (16) CometBroadcastHashJoin Left output [5]: [ws_ship_date_sk#1, ws_web_site_sk#2, ws_sold_date_sk#5, w_warehouse_name#7, sm_type#9] Right output [2]: [web_site_sk#10, web_name#11] -Arguments: [ws_web_site_sk#2], [web_site_sk#10], Inner +Arguments: [ws_web_site_sk#2], [web_site_sk#10], Inner, BuildRight (17) CometProject Input [7]: [ws_ship_date_sk#1, ws_web_site_sk#2, ws_sold_date_sk#5, w_warehouse_name#7, sm_type#9, web_site_sk#10, web_name#11] @@ -134,7 +134,7 @@ Arguments: [d_date_sk#12] (22) CometBroadcastHashJoin Left output [5]: [ws_ship_date_sk#1, ws_sold_date_sk#5, w_warehouse_name#7, sm_type#9, web_name#11] Right output [1]: [d_date_sk#12] -Arguments: [ws_ship_date_sk#1], [d_date_sk#12], Inner +Arguments: [ws_ship_date_sk#1], [d_date_sk#12], Inner, BuildRight (23) CometProject Input [6]: [ws_ship_date_sk#1, ws_sold_date_sk#5, w_warehouse_name#7, sm_type#9, web_name#11, d_date_sk#12] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q63/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q63/explain.txt index 4989df1a9..621e9c8c6 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q63/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q63/explain.txt @@ -64,7 +64,7 @@ Arguments: [ss_item_sk#10, ss_store_sk#11, ss_sales_price#12, ss_sold_date_sk#13 (7) CometBroadcastHashJoin Left output [2]: [i_item_sk#1, i_manager_id#5] Right output [4]: [ss_item_sk#10, ss_store_sk#11, ss_sales_price#12, ss_sold_date_sk#13] -Arguments: [i_item_sk#1], [ss_item_sk#10], Inner +Arguments: [i_item_sk#1], [ss_item_sk#10], Inner, BuildRight (8) CometProject Input [6]: [i_item_sk#1, i_manager_id#5, ss_item_sk#10, ss_store_sk#11, ss_sales_price#12, ss_sold_date_sk#13] @@ -92,7 +92,7 @@ Arguments: [d_date_sk#15, d_moy#17] (13) CometBroadcastHashJoin Left output [4]: [i_manager_id#5, ss_store_sk#11, ss_sales_price#12, ss_sold_date_sk#13] Right output [2]: [d_date_sk#15, d_moy#17] -Arguments: [ss_sold_date_sk#13], [d_date_sk#15], Inner +Arguments: [ss_sold_date_sk#13], [d_date_sk#15], Inner, BuildRight (14) CometProject Input [6]: [i_manager_id#5, ss_store_sk#11, ss_sales_price#12, ss_sold_date_sk#13, d_date_sk#15, d_moy#17] @@ -116,7 +116,7 @@ Arguments: [s_store_sk#18] (18) CometBroadcastHashJoin Left output [4]: [i_manager_id#5, ss_store_sk#11, ss_sales_price#12, d_moy#17] Right output [1]: [s_store_sk#18] -Arguments: [ss_store_sk#11], [s_store_sk#18], Inner +Arguments: [ss_store_sk#11], [s_store_sk#18], Inner, BuildRight (19) CometProject Input [5]: [i_manager_id#5, ss_store_sk#11, ss_sales_price#12, d_moy#17, s_store_sk#18] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q64/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q64/explain.txt index 95cb8ab51..bd491e60f 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q64/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q64/explain.txt @@ -216,7 +216,7 @@ Arguments: [sr_item_sk#14, sr_ticket_number#15], [sr_item_sk#14, sr_ticket_numbe (7) CometBroadcastHashJoin Left output [12]: [ss_item_sk#1, ss_customer_sk#2, ss_cdemo_sk#3, ss_hdemo_sk#4, ss_addr_sk#5, ss_store_sk#6, ss_promo_sk#7, ss_ticket_number#8, ss_wholesale_cost#9, ss_list_price#10, ss_coupon_amt#11, ss_sold_date_sk#12] Right output [2]: [sr_item_sk#14, sr_ticket_number#15] -Arguments: [ss_item_sk#1, ss_ticket_number#8], [sr_item_sk#14, sr_ticket_number#15], Inner +Arguments: [ss_item_sk#1, ss_ticket_number#8], [sr_item_sk#14, sr_ticket_number#15], Inner, BuildLeft (8) CometProject Input [14]: [ss_item_sk#1, ss_customer_sk#2, ss_cdemo_sk#3, ss_hdemo_sk#4, ss_addr_sk#5, ss_store_sk#6, ss_promo_sk#7, ss_ticket_number#8, ss_wholesale_cost#9, ss_list_price#10, ss_coupon_amt#11, ss_sold_date_sk#12, sr_item_sk#14, sr_ticket_number#15] @@ -725,7 +725,7 @@ Arguments: [sr_item_sk#119, sr_ticket_number#120], [sr_item_sk#119, sr_ticket_nu (117) CometBroadcastHashJoin Left output [12]: [ss_item_sk#106, ss_customer_sk#107, ss_cdemo_sk#108, ss_hdemo_sk#109, ss_addr_sk#110, ss_store_sk#111, ss_promo_sk#112, ss_ticket_number#113, ss_wholesale_cost#114, ss_list_price#115, ss_coupon_amt#116, ss_sold_date_sk#117] Right output [2]: [sr_item_sk#119, sr_ticket_number#120] -Arguments: [ss_item_sk#106, ss_ticket_number#113], [sr_item_sk#119, sr_ticket_number#120], Inner +Arguments: [ss_item_sk#106, ss_ticket_number#113], [sr_item_sk#119, sr_ticket_number#120], Inner, BuildLeft (118) CometProject Input [14]: [ss_item_sk#106, ss_customer_sk#107, ss_cdemo_sk#108, ss_hdemo_sk#109, ss_addr_sk#110, ss_store_sk#111, ss_promo_sk#112, ss_ticket_number#113, ss_wholesale_cost#114, ss_list_price#115, ss_coupon_amt#116, ss_sold_date_sk#117, sr_item_sk#119, sr_ticket_number#120] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q65/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q65/explain.txt index 56500b3fe..a10b6897c 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q65/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q65/explain.txt @@ -91,7 +91,7 @@ Arguments: [d_date_sk#8] (10) CometBroadcastHashJoin Left output [4]: [ss_item_sk#3, ss_store_sk#4, ss_sales_price#5, ss_sold_date_sk#6] Right output [1]: [d_date_sk#8] -Arguments: [ss_sold_date_sk#6], [d_date_sk#8], Inner +Arguments: [ss_sold_date_sk#6], [d_date_sk#8], Inner, BuildRight (11) CometProject Input [5]: [ss_item_sk#3, ss_store_sk#4, ss_sales_price#5, ss_sold_date_sk#6, d_date_sk#8] @@ -180,7 +180,7 @@ Output [1]: [d_date_sk#23] (29) CometBroadcastHashJoin Left output [4]: [ss_item_sk#18, ss_store_sk#19, ss_sales_price#20, ss_sold_date_sk#21] Right output [1]: [d_date_sk#23] -Arguments: [ss_sold_date_sk#21], [d_date_sk#23], Inner +Arguments: [ss_sold_date_sk#21], [d_date_sk#23], Inner, BuildRight (30) CometProject Input [5]: [ss_item_sk#18, ss_store_sk#19, ss_sales_price#20, ss_sold_date_sk#21, d_date_sk#23] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q66/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q66/explain.txt index a180017a0..6bca75e27 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q66/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q66/explain.txt @@ -82,7 +82,7 @@ Arguments: [w_warehouse_sk#9, w_warehouse_name#10, w_warehouse_sq_ft#11, w_city# (6) CometBroadcastHashJoin Left output [7]: [ws_sold_time_sk#1, ws_ship_mode_sk#2, ws_warehouse_sk#3, ws_quantity#4, ws_ext_sales_price#5, ws_net_paid#6, ws_sold_date_sk#7] Right output [7]: [w_warehouse_sk#9, w_warehouse_name#10, w_warehouse_sq_ft#11, w_city#12, w_county#13, w_state#14, w_country#15] -Arguments: [ws_warehouse_sk#3], [w_warehouse_sk#9], Inner +Arguments: [ws_warehouse_sk#3], [w_warehouse_sk#9], Inner, BuildRight (7) CometProject Input [14]: [ws_sold_time_sk#1, ws_ship_mode_sk#2, ws_warehouse_sk#3, ws_quantity#4, ws_ext_sales_price#5, ws_net_paid#6, ws_sold_date_sk#7, w_warehouse_sk#9, w_warehouse_name#10, w_warehouse_sq_ft#11, w_city#12, w_county#13, w_state#14, w_country#15] @@ -106,7 +106,7 @@ Arguments: [d_date_sk#16, d_year#17, d_moy#18] (11) CometBroadcastHashJoin Left output [12]: [ws_sold_time_sk#1, ws_ship_mode_sk#2, ws_quantity#4, ws_ext_sales_price#5, ws_net_paid#6, ws_sold_date_sk#7, w_warehouse_name#10, w_warehouse_sq_ft#11, w_city#12, w_county#13, w_state#14, w_country#15] Right output [3]: [d_date_sk#16, d_year#17, d_moy#18] -Arguments: [ws_sold_date_sk#7], [d_date_sk#16], Inner +Arguments: [ws_sold_date_sk#7], [d_date_sk#16], Inner, BuildRight (12) CometProject Input [15]: [ws_sold_time_sk#1, ws_ship_mode_sk#2, ws_quantity#4, ws_ext_sales_price#5, ws_net_paid#6, ws_sold_date_sk#7, w_warehouse_name#10, w_warehouse_sq_ft#11, w_city#12, w_county#13, w_state#14, w_country#15, d_date_sk#16, d_year#17, d_moy#18] @@ -134,7 +134,7 @@ Arguments: [t_time_sk#19] (17) CometBroadcastHashJoin Left output [13]: [ws_sold_time_sk#1, ws_ship_mode_sk#2, ws_quantity#4, ws_ext_sales_price#5, ws_net_paid#6, w_warehouse_name#10, w_warehouse_sq_ft#11, w_city#12, w_county#13, w_state#14, w_country#15, d_year#17, d_moy#18] Right output [1]: [t_time_sk#19] -Arguments: [ws_sold_time_sk#1], [t_time_sk#19], Inner +Arguments: [ws_sold_time_sk#1], [t_time_sk#19], Inner, BuildRight (18) CometProject Input [14]: [ws_sold_time_sk#1, ws_ship_mode_sk#2, ws_quantity#4, ws_ext_sales_price#5, ws_net_paid#6, w_warehouse_name#10, w_warehouse_sq_ft#11, w_city#12, w_county#13, w_state#14, w_country#15, d_year#17, d_moy#18, t_time_sk#19] @@ -162,7 +162,7 @@ Arguments: [sm_ship_mode_sk#21] (23) CometBroadcastHashJoin Left output [12]: [ws_ship_mode_sk#2, ws_quantity#4, ws_ext_sales_price#5, ws_net_paid#6, w_warehouse_name#10, w_warehouse_sq_ft#11, w_city#12, w_county#13, w_state#14, w_country#15, d_year#17, d_moy#18] Right output [1]: [sm_ship_mode_sk#21] -Arguments: [ws_ship_mode_sk#2], [sm_ship_mode_sk#21], Inner +Arguments: [ws_ship_mode_sk#2], [sm_ship_mode_sk#21], Inner, BuildRight (24) CometProject Input [13]: [ws_ship_mode_sk#2, ws_quantity#4, ws_ext_sales_price#5, ws_net_paid#6, w_warehouse_name#10, w_warehouse_sq_ft#11, w_city#12, w_county#13, w_state#14, w_country#15, d_year#17, d_moy#18, sm_ship_mode_sk#21] @@ -205,7 +205,7 @@ Output [7]: [w_warehouse_sk#129, w_warehouse_name#130, w_warehouse_sq_ft#131, w_ (32) CometBroadcastHashJoin Left output [7]: [cs_sold_time_sk#121, cs_ship_mode_sk#122, cs_warehouse_sk#123, cs_quantity#124, cs_sales_price#125, cs_net_paid_inc_tax#126, cs_sold_date_sk#127] Right output [7]: [w_warehouse_sk#129, w_warehouse_name#130, w_warehouse_sq_ft#131, w_city#132, w_county#133, w_state#134, w_country#135] -Arguments: [cs_warehouse_sk#123], [w_warehouse_sk#129], Inner +Arguments: [cs_warehouse_sk#123], [w_warehouse_sk#129], Inner, BuildRight (33) CometProject Input [14]: [cs_sold_time_sk#121, cs_ship_mode_sk#122, cs_warehouse_sk#123, cs_quantity#124, cs_sales_price#125, cs_net_paid_inc_tax#126, cs_sold_date_sk#127, w_warehouse_sk#129, w_warehouse_name#130, w_warehouse_sq_ft#131, w_city#132, w_county#133, w_state#134, w_country#135] @@ -217,7 +217,7 @@ Output [3]: [d_date_sk#136, d_year#137, d_moy#138] (35) CometBroadcastHashJoin Left output [12]: [cs_sold_time_sk#121, cs_ship_mode_sk#122, cs_quantity#124, cs_sales_price#125, cs_net_paid_inc_tax#126, cs_sold_date_sk#127, w_warehouse_name#130, w_warehouse_sq_ft#131, w_city#132, w_county#133, w_state#134, w_country#135] Right output [3]: [d_date_sk#136, d_year#137, d_moy#138] -Arguments: [cs_sold_date_sk#127], [d_date_sk#136], Inner +Arguments: [cs_sold_date_sk#127], [d_date_sk#136], Inner, BuildRight (36) CometProject Input [15]: [cs_sold_time_sk#121, cs_ship_mode_sk#122, cs_quantity#124, cs_sales_price#125, cs_net_paid_inc_tax#126, cs_sold_date_sk#127, w_warehouse_name#130, w_warehouse_sq_ft#131, w_city#132, w_county#133, w_state#134, w_country#135, d_date_sk#136, d_year#137, d_moy#138] @@ -229,7 +229,7 @@ Output [1]: [t_time_sk#139] (38) CometBroadcastHashJoin Left output [13]: [cs_sold_time_sk#121, cs_ship_mode_sk#122, cs_quantity#124, cs_sales_price#125, cs_net_paid_inc_tax#126, w_warehouse_name#130, w_warehouse_sq_ft#131, w_city#132, w_county#133, w_state#134, w_country#135, d_year#137, d_moy#138] Right output [1]: [t_time_sk#139] -Arguments: [cs_sold_time_sk#121], [t_time_sk#139], Inner +Arguments: [cs_sold_time_sk#121], [t_time_sk#139], Inner, BuildRight (39) CometProject Input [14]: [cs_sold_time_sk#121, cs_ship_mode_sk#122, cs_quantity#124, cs_sales_price#125, cs_net_paid_inc_tax#126, w_warehouse_name#130, w_warehouse_sq_ft#131, w_city#132, w_county#133, w_state#134, w_country#135, d_year#137, d_moy#138, t_time_sk#139] @@ -241,7 +241,7 @@ Output [1]: [sm_ship_mode_sk#140] (41) CometBroadcastHashJoin Left output [12]: [cs_ship_mode_sk#122, cs_quantity#124, cs_sales_price#125, cs_net_paid_inc_tax#126, w_warehouse_name#130, w_warehouse_sq_ft#131, w_city#132, w_county#133, w_state#134, w_country#135, d_year#137, d_moy#138] Right output [1]: [sm_ship_mode_sk#140] -Arguments: [cs_ship_mode_sk#122], [sm_ship_mode_sk#140], Inner +Arguments: [cs_ship_mode_sk#122], [sm_ship_mode_sk#140], Inner, BuildRight (42) CometProject Input [13]: [cs_ship_mode_sk#122, cs_quantity#124, cs_sales_price#125, cs_net_paid_inc_tax#126, w_warehouse_name#130, w_warehouse_sq_ft#131, w_city#132, w_county#133, w_state#134, w_country#135, d_year#137, d_moy#138, sm_ship_mode_sk#140] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q67/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q67/explain.txt index 2df79c8af..9301e7b8f 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q67/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q67/explain.txt @@ -63,7 +63,7 @@ Arguments: [d_date_sk#7, d_year#9, d_moy#10, d_qoy#11] (7) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_store_sk#2, ss_quantity#3, ss_sales_price#4, ss_sold_date_sk#5] Right output [4]: [d_date_sk#7, d_year#9, d_moy#10, d_qoy#11] -Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner, BuildRight (8) CometProject Input [9]: [ss_item_sk#1, ss_store_sk#2, ss_quantity#3, ss_sales_price#4, ss_sold_date_sk#5, d_date_sk#7, d_year#9, d_moy#10, d_qoy#11] @@ -87,7 +87,7 @@ Arguments: [s_store_sk#12, s_store_id#13] (12) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_store_sk#2, ss_quantity#3, ss_sales_price#4, d_year#9, d_moy#10, d_qoy#11] Right output [2]: [s_store_sk#12, s_store_id#13] -Arguments: [ss_store_sk#2], [s_store_sk#12], Inner +Arguments: [ss_store_sk#2], [s_store_sk#12], Inner, BuildRight (13) CometProject Input [9]: [ss_item_sk#1, ss_store_sk#2, ss_quantity#3, ss_sales_price#4, d_year#9, d_moy#10, d_qoy#11, s_store_sk#12, s_store_id#13] @@ -111,7 +111,7 @@ Arguments: [i_item_sk#14, i_brand#15, i_class#16, i_category#17, i_product_name# (17) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_quantity#3, ss_sales_price#4, d_year#9, d_moy#10, d_qoy#11, s_store_id#13] Right output [5]: [i_item_sk#14, i_brand#15, i_class#16, i_category#17, i_product_name#18] -Arguments: [ss_item_sk#1], [i_item_sk#14], Inner +Arguments: [ss_item_sk#1], [i_item_sk#14], Inner, BuildRight (18) CometProject Input [12]: [ss_item_sk#1, ss_quantity#3, ss_sales_price#4, d_year#9, d_moy#10, d_qoy#11, s_store_id#13, i_item_sk#14, i_brand#15, i_class#16, i_category#17, i_product_name#18] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q68/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q68/explain.txt index dea327d3e..53443aedc 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q68/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q68/explain.txt @@ -77,7 +77,7 @@ Arguments: [d_date_sk#11] (7) CometBroadcastHashJoin Left output [9]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_ext_sales_price#6, ss_ext_list_price#7, ss_ext_tax#8, ss_sold_date_sk#9] Right output [1]: [d_date_sk#11] -Arguments: [ss_sold_date_sk#9], [d_date_sk#11], Inner +Arguments: [ss_sold_date_sk#9], [d_date_sk#11], Inner, BuildRight (8) CometProject Input [10]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_ext_sales_price#6, ss_ext_list_price#7, ss_ext_tax#8, ss_sold_date_sk#9, d_date_sk#11] @@ -105,7 +105,7 @@ Arguments: [s_store_sk#14] (13) CometBroadcastHashJoin Left output [8]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_ext_sales_price#6, ss_ext_list_price#7, ss_ext_tax#8] Right output [1]: [s_store_sk#14] -Arguments: [ss_store_sk#4], [s_store_sk#14], Inner +Arguments: [ss_store_sk#4], [s_store_sk#14], Inner, BuildRight (14) CometProject Input [9]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_ext_sales_price#6, ss_ext_list_price#7, ss_ext_tax#8, s_store_sk#14] @@ -133,7 +133,7 @@ Arguments: [hd_demo_sk#16] (19) CometBroadcastHashJoin Left output [7]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_ticket_number#5, ss_ext_sales_price#6, ss_ext_list_price#7, ss_ext_tax#8] Right output [1]: [hd_demo_sk#16] -Arguments: [ss_hdemo_sk#2], [hd_demo_sk#16], Inner +Arguments: [ss_hdemo_sk#2], [hd_demo_sk#16], Inner, BuildRight (20) CometProject Input [8]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_ticket_number#5, ss_ext_sales_price#6, ss_ext_list_price#7, ss_ext_tax#8, hd_demo_sk#16] @@ -157,7 +157,7 @@ Arguments: [ca_address_sk#19, ca_city#20] (24) CometBroadcastHashJoin Left output [6]: [ss_customer_sk#1, ss_addr_sk#3, ss_ticket_number#5, ss_ext_sales_price#6, ss_ext_list_price#7, ss_ext_tax#8] Right output [2]: [ca_address_sk#19, ca_city#20] -Arguments: [ss_addr_sk#3], [ca_address_sk#19], Inner +Arguments: [ss_addr_sk#3], [ca_address_sk#19], Inner, BuildRight (25) CometProject Input [8]: [ss_customer_sk#1, ss_addr_sk#3, ss_ticket_number#5, ss_ext_sales_price#6, ss_ext_list_price#7, ss_ext_tax#8, ca_address_sk#19, ca_city#20] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q69/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q69/explain.txt index 7d7b9efad..b931de292 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q69/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q69/explain.txt @@ -1,44 +1,48 @@ == Physical Plan == -TakeOrderedAndProject (40) -+- * HashAggregate (39) - +- Exchange (38) - +- * ColumnarToRow (37) - +- CometHashAggregate (36) - +- CometProject (35) - +- CometBroadcastHashJoin (34) - :- CometProject (30) - : +- CometBroadcastHashJoin (29) - : :- CometProject (24) - : : +- CometBroadcastHashJoin (23) - : : :- CometBroadcastHashJoin (17) - : : : :- CometBroadcastHashJoin (11) - : : : : :- CometFilter (2) - : : : : : +- CometScan parquet spark_catalog.default.customer (1) - : : : : +- CometBroadcastExchange (10) - : : : : +- CometProject (9) - : : : : +- CometBroadcastHashJoin (8) - : : : : :- CometScan parquet spark_catalog.default.store_sales (3) - : : : : +- CometBroadcastExchange (7) - : : : : +- CometProject (6) - : : : : +- CometFilter (5) - : : : : +- CometScan parquet spark_catalog.default.date_dim (4) - : : : +- CometBroadcastExchange (16) - : : : +- CometProject (15) - : : : +- CometBroadcastHashJoin (14) - : : : :- CometScan parquet spark_catalog.default.web_sales (12) - : : : +- ReusedExchange (13) - : : +- CometBroadcastExchange (22) - : : +- CometProject (21) - : : +- CometBroadcastHashJoin (20) - : : :- CometScan parquet spark_catalog.default.catalog_sales (18) - : : +- ReusedExchange (19) - : +- CometBroadcastExchange (28) - : +- CometProject (27) - : +- CometFilter (26) - : +- CometScan parquet spark_catalog.default.customer_address (25) - +- CometBroadcastExchange (33) - +- CometFilter (32) - +- CometScan parquet spark_catalog.default.customer_demographics (31) +TakeOrderedAndProject (44) ++- * HashAggregate (43) + +- Exchange (42) + +- * HashAggregate (41) + +- * Project (40) + +- * BroadcastHashJoin Inner BuildRight (39) + :- * Project (34) + : +- * BroadcastHashJoin Inner BuildRight (33) + : :- * Project (27) + : : +- * BroadcastHashJoin LeftAnti BuildRight (26) + : : :- * BroadcastHashJoin LeftAnti BuildRight (19) + : : : :- * ColumnarToRow (12) + : : : : +- CometBroadcastHashJoin (11) + : : : : :- CometFilter (2) + : : : : : +- CometScan parquet spark_catalog.default.customer (1) + : : : : +- CometBroadcastExchange (10) + : : : : +- CometProject (9) + : : : : +- CometBroadcastHashJoin (8) + : : : : :- CometScan parquet spark_catalog.default.store_sales (3) + : : : : +- CometBroadcastExchange (7) + : : : : +- CometProject (6) + : : : : +- CometFilter (5) + : : : : +- CometScan parquet spark_catalog.default.date_dim (4) + : : : +- BroadcastExchange (18) + : : : +- * ColumnarToRow (17) + : : : +- CometProject (16) + : : : +- CometBroadcastHashJoin (15) + : : : :- CometScan parquet spark_catalog.default.web_sales (13) + : : : +- ReusedExchange (14) + : : +- BroadcastExchange (25) + : : +- * ColumnarToRow (24) + : : +- CometProject (23) + : : +- CometBroadcastHashJoin (22) + : : :- CometScan parquet spark_catalog.default.catalog_sales (20) + : : +- ReusedExchange (21) + : +- BroadcastExchange (32) + : +- * ColumnarToRow (31) + : +- CometProject (30) + : +- CometFilter (29) + : +- CometScan parquet spark_catalog.default.customer_address (28) + +- BroadcastExchange (38) + +- * ColumnarToRow (37) + +- CometFilter (36) + +- CometScan parquet spark_catalog.default.customer_demographics (35) (1) Scan parquet spark_catalog.default.customer @@ -81,7 +85,7 @@ Arguments: [d_date_sk#7] (8) CometBroadcastHashJoin Left output [2]: [ss_customer_sk#4, ss_sold_date_sk#5] Right output [1]: [d_date_sk#7] -Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner, BuildRight (9) CometProject Input [3]: [ss_customer_sk#4, ss_sold_date_sk#5, d_date_sk#7] @@ -94,177 +98,195 @@ Arguments: [ss_customer_sk#4] (11) CometBroadcastHashJoin Left output [3]: [c_customer_sk#1, c_current_cdemo_sk#2, c_current_addr_sk#3] Right output [1]: [ss_customer_sk#4] -Arguments: [c_customer_sk#1], [ss_customer_sk#4], LeftSemi +Arguments: [c_customer_sk#1], [ss_customer_sk#4], LeftSemi, BuildRight -(12) Scan parquet spark_catalog.default.web_sales +(12) ColumnarToRow [codegen id : 5] +Input [3]: [c_customer_sk#1, c_current_cdemo_sk#2, c_current_addr_sk#3] + +(13) Scan parquet spark_catalog.default.web_sales Output [2]: [ws_bill_customer_sk#10, ws_sold_date_sk#11] Batched: true Location: InMemoryFileIndex [] PartitionFilters: [isnotnull(ws_sold_date_sk#11), dynamicpruningexpression(ws_sold_date_sk#11 IN dynamicpruning#12)] ReadSchema: struct -(13) ReusedExchange [Reuses operator id: 7] +(14) ReusedExchange [Reuses operator id: 7] Output [1]: [d_date_sk#13] -(14) CometBroadcastHashJoin +(15) CometBroadcastHashJoin Left output [2]: [ws_bill_customer_sk#10, ws_sold_date_sk#11] Right output [1]: [d_date_sk#13] -Arguments: [ws_sold_date_sk#11], [d_date_sk#13], Inner +Arguments: [ws_sold_date_sk#11], [d_date_sk#13], Inner, BuildRight -(15) CometProject +(16) CometProject Input [3]: [ws_bill_customer_sk#10, ws_sold_date_sk#11, d_date_sk#13] Arguments: [ws_bill_customer_sk#10], [ws_bill_customer_sk#10] -(16) CometBroadcastExchange +(17) ColumnarToRow [codegen id : 1] Input [1]: [ws_bill_customer_sk#10] -Arguments: [ws_bill_customer_sk#10] -(17) CometBroadcastHashJoin -Left output [3]: [c_customer_sk#1, c_current_cdemo_sk#2, c_current_addr_sk#3] -Right output [1]: [ws_bill_customer_sk#10] -Arguments: [c_customer_sk#1], [ws_bill_customer_sk#10], LeftAnti +(18) BroadcastExchange +Input [1]: [ws_bill_customer_sk#10] +Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=1] + +(19) BroadcastHashJoin [codegen id : 5] +Left keys [1]: [c_customer_sk#1] +Right keys [1]: [ws_bill_customer_sk#10] +Join type: LeftAnti +Join condition: None -(18) Scan parquet spark_catalog.default.catalog_sales +(20) Scan parquet spark_catalog.default.catalog_sales Output [2]: [cs_ship_customer_sk#14, cs_sold_date_sk#15] Batched: true Location: InMemoryFileIndex [] PartitionFilters: [isnotnull(cs_sold_date_sk#15), dynamicpruningexpression(cs_sold_date_sk#15 IN dynamicpruning#16)] ReadSchema: struct -(19) ReusedExchange [Reuses operator id: 7] +(21) ReusedExchange [Reuses operator id: 7] Output [1]: [d_date_sk#17] -(20) CometBroadcastHashJoin +(22) CometBroadcastHashJoin Left output [2]: [cs_ship_customer_sk#14, cs_sold_date_sk#15] Right output [1]: [d_date_sk#17] -Arguments: [cs_sold_date_sk#15], [d_date_sk#17], Inner +Arguments: [cs_sold_date_sk#15], [d_date_sk#17], Inner, BuildRight -(21) CometProject +(23) CometProject Input [3]: [cs_ship_customer_sk#14, cs_sold_date_sk#15, d_date_sk#17] Arguments: [cs_ship_customer_sk#14], [cs_ship_customer_sk#14] -(22) CometBroadcastExchange +(24) ColumnarToRow [codegen id : 2] Input [1]: [cs_ship_customer_sk#14] -Arguments: [cs_ship_customer_sk#14] -(23) CometBroadcastHashJoin -Left output [3]: [c_customer_sk#1, c_current_cdemo_sk#2, c_current_addr_sk#3] -Right output [1]: [cs_ship_customer_sk#14] -Arguments: [c_customer_sk#1], [cs_ship_customer_sk#14], LeftAnti +(25) BroadcastExchange +Input [1]: [cs_ship_customer_sk#14] +Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=2] + +(26) BroadcastHashJoin [codegen id : 5] +Left keys [1]: [c_customer_sk#1] +Right keys [1]: [cs_ship_customer_sk#14] +Join type: LeftAnti +Join condition: None -(24) CometProject +(27) Project [codegen id : 5] +Output [2]: [c_current_cdemo_sk#2, c_current_addr_sk#3] Input [3]: [c_customer_sk#1, c_current_cdemo_sk#2, c_current_addr_sk#3] -Arguments: [c_current_cdemo_sk#2, c_current_addr_sk#3], [c_current_cdemo_sk#2, c_current_addr_sk#3] -(25) Scan parquet spark_catalog.default.customer_address +(28) Scan parquet spark_catalog.default.customer_address Output [2]: [ca_address_sk#18, ca_state#19] Batched: true Location [not included in comparison]/{warehouse_dir}/customer_address] PushedFilters: [In(ca_state, [GA,KY,NM]), IsNotNull(ca_address_sk)] ReadSchema: struct -(26) CometFilter +(29) CometFilter Input [2]: [ca_address_sk#18, ca_state#19] Condition : (ca_state#19 IN (KY,GA,NM) AND isnotnull(ca_address_sk#18)) -(27) CometProject +(30) CometProject Input [2]: [ca_address_sk#18, ca_state#19] Arguments: [ca_address_sk#18], [ca_address_sk#18] -(28) CometBroadcastExchange +(31) ColumnarToRow [codegen id : 3] +Input [1]: [ca_address_sk#18] + +(32) BroadcastExchange Input [1]: [ca_address_sk#18] -Arguments: [ca_address_sk#18] +Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=3] -(29) CometBroadcastHashJoin -Left output [2]: [c_current_cdemo_sk#2, c_current_addr_sk#3] -Right output [1]: [ca_address_sk#18] -Arguments: [c_current_addr_sk#3], [ca_address_sk#18], Inner +(33) BroadcastHashJoin [codegen id : 5] +Left keys [1]: [c_current_addr_sk#3] +Right keys [1]: [ca_address_sk#18] +Join type: Inner +Join condition: None -(30) CometProject +(34) Project [codegen id : 5] +Output [1]: [c_current_cdemo_sk#2] Input [3]: [c_current_cdemo_sk#2, c_current_addr_sk#3, ca_address_sk#18] -Arguments: [c_current_cdemo_sk#2], [c_current_cdemo_sk#2] -(31) Scan parquet spark_catalog.default.customer_demographics +(35) Scan parquet spark_catalog.default.customer_demographics Output [6]: [cd_demo_sk#20, cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] Batched: true Location [not included in comparison]/{warehouse_dir}/customer_demographics] PushedFilters: [IsNotNull(cd_demo_sk)] ReadSchema: struct -(32) CometFilter +(36) CometFilter Input [6]: [cd_demo_sk#20, cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] Condition : isnotnull(cd_demo_sk#20) -(33) CometBroadcastExchange +(37) ColumnarToRow [codegen id : 4] Input [6]: [cd_demo_sk#20, cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] -Arguments: [cd_demo_sk#20, cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] -(34) CometBroadcastHashJoin -Left output [1]: [c_current_cdemo_sk#2] -Right output [6]: [cd_demo_sk#20, cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] -Arguments: [c_current_cdemo_sk#2], [cd_demo_sk#20], Inner +(38) BroadcastExchange +Input [6]: [cd_demo_sk#20, cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] +Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=4] + +(39) BroadcastHashJoin [codegen id : 5] +Left keys [1]: [c_current_cdemo_sk#2] +Right keys [1]: [cd_demo_sk#20] +Join type: Inner +Join condition: None -(35) CometProject +(40) Project [codegen id : 5] +Output [5]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] Input [7]: [c_current_cdemo_sk#2, cd_demo_sk#20, cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] -Arguments: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25], [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] -(36) CometHashAggregate +(41) HashAggregate [codegen id : 5] Input [5]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] Keys [5]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] Functions [1]: [partial_count(1)] +Aggregate Attributes [1]: [count#26] +Results [6]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25, count#27] -(37) ColumnarToRow [codegen id : 1] -Input [6]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25, count#26] +(42) Exchange +Input [6]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25, count#27] +Arguments: hashpartitioning(cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25, 5), ENSURE_REQUIREMENTS, [plan_id=5] -(38) Exchange -Input [6]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25, count#26] -Arguments: hashpartitioning(cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25, 5), ENSURE_REQUIREMENTS, [plan_id=1] - -(39) HashAggregate [codegen id : 2] -Input [6]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25, count#26] +(43) HashAggregate [codegen id : 6] +Input [6]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25, count#27] Keys [5]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cd_purchase_estimate#24, cd_credit_rating#25] Functions [1]: [count(1)] -Aggregate Attributes [1]: [count(1)#27] -Results [8]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, count(1)#27 AS cnt1#28, cd_purchase_estimate#24, count(1)#27 AS cnt2#29, cd_credit_rating#25, count(1)#27 AS cnt3#30] +Aggregate Attributes [1]: [count(1)#28] +Results [8]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, count(1)#28 AS cnt1#29, cd_purchase_estimate#24, count(1)#28 AS cnt2#30, cd_credit_rating#25, count(1)#28 AS cnt3#31] -(40) TakeOrderedAndProject -Input [8]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cnt1#28, cd_purchase_estimate#24, cnt2#29, cd_credit_rating#25, cnt3#30] -Arguments: 100, [cd_gender#21 ASC NULLS FIRST, cd_marital_status#22 ASC NULLS FIRST, cd_education_status#23 ASC NULLS FIRST, cd_purchase_estimate#24 ASC NULLS FIRST, cd_credit_rating#25 ASC NULLS FIRST], [cd_gender#21, cd_marital_status#22, cd_education_status#23, cnt1#28, cd_purchase_estimate#24, cnt2#29, cd_credit_rating#25, cnt3#30] +(44) TakeOrderedAndProject +Input [8]: [cd_gender#21, cd_marital_status#22, cd_education_status#23, cnt1#29, cd_purchase_estimate#24, cnt2#30, cd_credit_rating#25, cnt3#31] +Arguments: 100, [cd_gender#21 ASC NULLS FIRST, cd_marital_status#22 ASC NULLS FIRST, cd_education_status#23 ASC NULLS FIRST, cd_purchase_estimate#24 ASC NULLS FIRST, cd_credit_rating#25 ASC NULLS FIRST], [cd_gender#21, cd_marital_status#22, cd_education_status#23, cnt1#29, cd_purchase_estimate#24, cnt2#30, cd_credit_rating#25, cnt3#31] ===== Subqueries ===== Subquery:1 Hosting operator id = 3 Hosting Expression = ss_sold_date_sk#5 IN dynamicpruning#6 -BroadcastExchange (45) -+- * ColumnarToRow (44) - +- CometProject (43) - +- CometFilter (42) - +- CometScan parquet spark_catalog.default.date_dim (41) +BroadcastExchange (49) ++- * ColumnarToRow (48) + +- CometProject (47) + +- CometFilter (46) + +- CometScan parquet spark_catalog.default.date_dim (45) -(41) Scan parquet spark_catalog.default.date_dim +(45) Scan parquet spark_catalog.default.date_dim Output [3]: [d_date_sk#7, d_year#8, d_moy#9] Batched: true Location [not included in comparison]/{warehouse_dir}/date_dim] PushedFilters: [IsNotNull(d_year), IsNotNull(d_moy), EqualTo(d_year,2001), GreaterThanOrEqual(d_moy,4), LessThanOrEqual(d_moy,6), IsNotNull(d_date_sk)] ReadSchema: struct -(42) CometFilter +(46) CometFilter Input [3]: [d_date_sk#7, d_year#8, d_moy#9] Condition : (((((isnotnull(d_year#8) AND isnotnull(d_moy#9)) AND (d_year#8 = 2001)) AND (d_moy#9 >= 4)) AND (d_moy#9 <= 6)) AND isnotnull(d_date_sk#7)) -(43) CometProject +(47) CometProject Input [3]: [d_date_sk#7, d_year#8, d_moy#9] Arguments: [d_date_sk#7], [d_date_sk#7] -(44) ColumnarToRow [codegen id : 1] +(48) ColumnarToRow [codegen id : 1] Input [1]: [d_date_sk#7] -(45) BroadcastExchange +(49) BroadcastExchange Input [1]: [d_date_sk#7] -Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=2] +Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=6] -Subquery:2 Hosting operator id = 12 Hosting Expression = ws_sold_date_sk#11 IN dynamicpruning#6 +Subquery:2 Hosting operator id = 13 Hosting Expression = ws_sold_date_sk#11 IN dynamicpruning#6 -Subquery:3 Hosting operator id = 18 Hosting Expression = cs_sold_date_sk#15 IN dynamicpruning#6 +Subquery:3 Hosting operator id = 20 Hosting Expression = cs_sold_date_sk#15 IN dynamicpruning#6 diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q69/simplified.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q69/simplified.txt index a9bd92acf..de2d5eeda 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q69/simplified.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q69/simplified.txt @@ -1,19 +1,19 @@ TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cnt1,cnt2,cnt3] - WholeStageCodegen (2) + WholeStageCodegen (6) HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,count] [count(1),cnt1,cnt2,cnt3,count] InputAdapter Exchange [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating] #1 - WholeStageCodegen (1) - ColumnarToRow - InputAdapter - CometHashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating] - CometProject [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating] - CometBroadcastHashJoin [c_current_cdemo_sk,cd_demo_sk] - CometProject [c_current_cdemo_sk] - CometBroadcastHashJoin [c_current_addr_sk,ca_address_sk] - CometProject [c_current_cdemo_sk,c_current_addr_sk] - CometBroadcastHashJoin [c_customer_sk,cs_ship_customer_sk] - CometBroadcastHashJoin [c_customer_sk,ws_bill_customer_sk] + WholeStageCodegen (5) + HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating] [count,count] + Project [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating] + BroadcastHashJoin [c_current_cdemo_sk,cd_demo_sk] + Project [c_current_cdemo_sk] + BroadcastHashJoin [c_current_addr_sk,ca_address_sk] + Project [c_current_cdemo_sk,c_current_addr_sk] + BroadcastHashJoin [c_customer_sk,cs_ship_customer_sk] + BroadcastHashJoin [c_customer_sk,ws_bill_customer_sk] + ColumnarToRow + InputAdapter CometBroadcastHashJoin [c_customer_sk,ss_customer_sk] CometFilter [c_current_addr_sk,c_current_cdemo_sk] CometScan parquet spark_catalog.default.customer [c_customer_sk,c_current_cdemo_sk,c_current_addr_sk] @@ -33,22 +33,38 @@ TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purcha CometProject [d_date_sk] CometFilter [d_year,d_moy,d_date_sk] CometScan parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy] - CometBroadcastExchange #5 - CometProject [ws_bill_customer_sk] - CometBroadcastHashJoin [ws_sold_date_sk,d_date_sk] - CometScan parquet spark_catalog.default.web_sales [ws_bill_customer_sk,ws_sold_date_sk] - ReusedSubquery [d_date_sk] #1 - ReusedExchange [d_date_sk] #4 - CometBroadcastExchange #6 - CometProject [cs_ship_customer_sk] - CometBroadcastHashJoin [cs_sold_date_sk,d_date_sk] - CometScan parquet spark_catalog.default.catalog_sales [cs_ship_customer_sk,cs_sold_date_sk] - ReusedSubquery [d_date_sk] #1 - ReusedExchange [d_date_sk] #4 - CometBroadcastExchange #7 - CometProject [ca_address_sk] - CometFilter [ca_state,ca_address_sk] - CometScan parquet spark_catalog.default.customer_address [ca_address_sk,ca_state] - CometBroadcastExchange #8 - CometFilter [cd_demo_sk] - CometScan parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating] + InputAdapter + BroadcastExchange #5 + WholeStageCodegen (1) + ColumnarToRow + InputAdapter + CometProject [ws_bill_customer_sk] + CometBroadcastHashJoin [ws_sold_date_sk,d_date_sk] + CometScan parquet spark_catalog.default.web_sales [ws_bill_customer_sk,ws_sold_date_sk] + ReusedSubquery [d_date_sk] #1 + ReusedExchange [d_date_sk] #4 + InputAdapter + BroadcastExchange #6 + WholeStageCodegen (2) + ColumnarToRow + InputAdapter + CometProject [cs_ship_customer_sk] + CometBroadcastHashJoin [cs_sold_date_sk,d_date_sk] + CometScan parquet spark_catalog.default.catalog_sales [cs_ship_customer_sk,cs_sold_date_sk] + ReusedSubquery [d_date_sk] #1 + ReusedExchange [d_date_sk] #4 + InputAdapter + BroadcastExchange #7 + WholeStageCodegen (3) + ColumnarToRow + InputAdapter + CometProject [ca_address_sk] + CometFilter [ca_state,ca_address_sk] + CometScan parquet spark_catalog.default.customer_address [ca_address_sk,ca_state] + InputAdapter + BroadcastExchange #8 + WholeStageCodegen (4) + ColumnarToRow + InputAdapter + CometFilter [cd_demo_sk] + CometScan parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q7/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q7/explain.txt index 46757877a..93faa6420 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q7/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q7/explain.txt @@ -65,7 +65,7 @@ Arguments: [cd_demo_sk#10] (7) CometBroadcastHashJoin Left output [8]: [ss_item_sk#1, ss_cdemo_sk#2, ss_promo_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8] Right output [1]: [cd_demo_sk#10] -Arguments: [ss_cdemo_sk#2], [cd_demo_sk#10], Inner +Arguments: [ss_cdemo_sk#2], [cd_demo_sk#10], Inner, BuildRight (8) CometProject Input [9]: [ss_item_sk#1, ss_cdemo_sk#2, ss_promo_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8, cd_demo_sk#10] @@ -93,7 +93,7 @@ Arguments: [d_date_sk#14] (13) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_promo_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8] Right output [1]: [d_date_sk#14] -Arguments: [ss_sold_date_sk#8], [d_date_sk#14], Inner +Arguments: [ss_sold_date_sk#8], [d_date_sk#14], Inner, BuildRight (14) CometProject Input [8]: [ss_item_sk#1, ss_promo_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8, d_date_sk#14] @@ -117,7 +117,7 @@ Arguments: [i_item_sk#16, i_item_id#17] (18) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_promo_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7] Right output [2]: [i_item_sk#16, i_item_id#17] -Arguments: [ss_item_sk#1], [i_item_sk#16], Inner +Arguments: [ss_item_sk#1], [i_item_sk#16], Inner, BuildRight (19) CometProject Input [8]: [ss_item_sk#1, ss_promo_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, i_item_sk#16, i_item_id#17] @@ -145,7 +145,7 @@ Arguments: [p_promo_sk#18] (24) CometBroadcastHashJoin Left output [6]: [ss_promo_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, i_item_id#17] Right output [1]: [p_promo_sk#18] -Arguments: [ss_promo_sk#3], [p_promo_sk#18], Inner +Arguments: [ss_promo_sk#3], [p_promo_sk#18], Inner, BuildRight (25) CometProject Input [7]: [ss_promo_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, i_item_id#17, p_promo_sk#18] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q70/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q70/explain.txt index f3229b97a..6198dca1e 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q70/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q70/explain.txt @@ -79,7 +79,7 @@ Arguments: [d_date_sk#5] (7) CometBroadcastHashJoin Left output [3]: [ss_store_sk#1, ss_net_profit#2, ss_sold_date_sk#3] Right output [1]: [d_date_sk#5] -Arguments: [ss_sold_date_sk#3], [d_date_sk#5], Inner +Arguments: [ss_sold_date_sk#3], [d_date_sk#5], Inner, BuildRight (8) CometProject Input [4]: [ss_store_sk#1, ss_net_profit#2, ss_sold_date_sk#3, d_date_sk#5] @@ -132,7 +132,7 @@ Arguments: [s_store_sk#14, s_state#15] (18) CometBroadcastHashJoin Left output [3]: [ss_store_sk#10, ss_net_profit#11, ss_sold_date_sk#12] Right output [2]: [s_store_sk#14, s_state#15] -Arguments: [ss_store_sk#10], [s_store_sk#14], Inner +Arguments: [ss_store_sk#10], [s_store_sk#14], Inner, BuildRight (19) CometProject Input [5]: [ss_store_sk#10, ss_net_profit#11, ss_sold_date_sk#12, s_store_sk#14, s_state#15] @@ -144,7 +144,7 @@ Output [1]: [d_date_sk#16] (21) CometBroadcastHashJoin Left output [3]: [ss_net_profit#11, ss_sold_date_sk#12, s_state#15] Right output [1]: [d_date_sk#16] -Arguments: [ss_sold_date_sk#12], [d_date_sk#16], Inner +Arguments: [ss_sold_date_sk#12], [d_date_sk#16], Inner, BuildRight (22) CometProject Input [4]: [ss_net_profit#11, ss_sold_date_sk#12, s_state#15, d_date_sk#16] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q71/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q71/explain.txt index 2fa583dc2..f2128cfff 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q71/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q71/explain.txt @@ -91,7 +91,7 @@ Arguments: [d_date_sk#10] (11) CometBroadcastHashJoin Left output [4]: [ws_sold_time_sk#5, ws_item_sk#6, ws_ext_sales_price#7, ws_sold_date_sk#8] Right output [1]: [d_date_sk#10] -Arguments: [ws_sold_date_sk#8], [d_date_sk#10], Inner +Arguments: [ws_sold_date_sk#8], [d_date_sk#10], Inner, BuildRight (12) CometProject Input [5]: [ws_sold_time_sk#5, ws_item_sk#6, ws_ext_sales_price#7, ws_sold_date_sk#8, d_date_sk#10] @@ -115,7 +115,7 @@ Output [1]: [d_date_sk#21] (16) CometBroadcastHashJoin Left output [4]: [cs_sold_time_sk#16, cs_item_sk#17, cs_ext_sales_price#18, cs_sold_date_sk#19] Right output [1]: [d_date_sk#21] -Arguments: [cs_sold_date_sk#19], [d_date_sk#21], Inner +Arguments: [cs_sold_date_sk#19], [d_date_sk#21], Inner, BuildRight (17) CometProject Input [5]: [cs_sold_time_sk#16, cs_item_sk#17, cs_ext_sales_price#18, cs_sold_date_sk#19, d_date_sk#21] @@ -139,7 +139,7 @@ Output [1]: [d_date_sk#30] (21) CometBroadcastHashJoin Left output [4]: [ss_sold_time_sk#25, ss_item_sk#26, ss_ext_sales_price#27, ss_sold_date_sk#28] Right output [1]: [d_date_sk#30] -Arguments: [ss_sold_date_sk#28], [d_date_sk#30], Inner +Arguments: [ss_sold_date_sk#28], [d_date_sk#30], Inner, BuildRight (22) CometProject Input [5]: [ss_sold_time_sk#25, ss_item_sk#26, ss_ext_sales_price#27, ss_sold_date_sk#28, d_date_sk#30] @@ -153,7 +153,7 @@ Child 2 Input [3]: [ext_price#31, sold_item_sk#32, time_sk#33] (24) CometBroadcastHashJoin Left output [3]: [i_item_sk#1, i_brand_id#2, i_brand#3] Right output [3]: [ext_price#13, sold_item_sk#14, time_sk#15] -Arguments: [i_item_sk#1], [sold_item_sk#14], Inner +Arguments: [i_item_sk#1], [sold_item_sk#14], Inner, BuildLeft (25) CometProject Input [6]: [i_item_sk#1, i_brand_id#2, i_brand#3, ext_price#13, sold_item_sk#14, time_sk#15] @@ -181,7 +181,7 @@ Arguments: [t_time_sk#34, t_hour#35, t_minute#36] (30) CometBroadcastHashJoin Left output [4]: [i_brand_id#2, i_brand#3, ext_price#13, time_sk#15] Right output [3]: [t_time_sk#34, t_hour#35, t_minute#36] -Arguments: [time_sk#15], [t_time_sk#34], Inner +Arguments: [time_sk#15], [t_time_sk#34], Inner, BuildRight (31) CometProject Input [7]: [i_brand_id#2, i_brand#3, ext_price#13, time_sk#15, t_time_sk#34, t_hour#35, t_minute#36] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q72/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q72/explain.txt index 13f79eaf7..26edd145c 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q72/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q72/explain.txt @@ -99,7 +99,7 @@ Arguments: [inv_item_sk#10, inv_warehouse_sk#11, inv_quantity_on_hand#12, inv_da (6) CometBroadcastHashJoin Left output [8]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_quantity#7, cs_sold_date_sk#8] Right output [4]: [inv_item_sk#10, inv_warehouse_sk#11, inv_quantity_on_hand#12, inv_date_sk#13] -Arguments: [cs_item_sk#4], [inv_item_sk#10], Inner, (inv_quantity_on_hand#12 < cs_quantity#7) +Arguments: [cs_item_sk#4], [inv_item_sk#10], Inner, (inv_quantity_on_hand#12 < cs_quantity#7), BuildRight (7) CometProject Input [12]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_quantity#7, cs_sold_date_sk#8, inv_item_sk#10, inv_warehouse_sk#11, inv_quantity_on_hand#12, inv_date_sk#13] @@ -123,7 +123,7 @@ Arguments: [w_warehouse_sk#14, w_warehouse_name#15] (11) CometBroadcastHashJoin Left output [9]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_warehouse_sk#11, inv_date_sk#13] Right output [2]: [w_warehouse_sk#14, w_warehouse_name#15] -Arguments: [inv_warehouse_sk#11], [w_warehouse_sk#14], Inner +Arguments: [inv_warehouse_sk#11], [w_warehouse_sk#14], Inner, BuildRight (12) CometProject Input [11]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_warehouse_sk#11, inv_date_sk#13, w_warehouse_sk#14, w_warehouse_name#15] @@ -147,7 +147,7 @@ Arguments: [i_item_sk#16, i_item_desc#17] (16) CometBroadcastHashJoin Left output [9]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15] Right output [2]: [i_item_sk#16, i_item_desc#17] -Arguments: [cs_item_sk#4], [i_item_sk#16], Inner +Arguments: [cs_item_sk#4], [i_item_sk#16], Inner, BuildRight (17) CometProject Input [11]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_sk#16, i_item_desc#17] @@ -175,7 +175,7 @@ Arguments: [cd_demo_sk#18] (22) CometBroadcastHashJoin Left output [10]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17] Right output [1]: [cd_demo_sk#18] -Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#18], Inner +Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#18], Inner, BuildRight (23) CometProject Input [11]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17, cd_demo_sk#18] @@ -203,7 +203,7 @@ Arguments: [hd_demo_sk#20] (28) CometBroadcastHashJoin Left output [9]: [cs_ship_date_sk#1, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17] Right output [1]: [hd_demo_sk#20] -Arguments: [cs_bill_hdemo_sk#3], [hd_demo_sk#20], Inner +Arguments: [cs_bill_hdemo_sk#3], [hd_demo_sk#20], Inner, BuildRight (29) CometProject Input [10]: [cs_ship_date_sk#1, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17, hd_demo_sk#20] @@ -231,7 +231,7 @@ Arguments: [d_date_sk#22, d_date#23, d_week_seq#24] (34) CometBroadcastHashJoin Left output [8]: [cs_ship_date_sk#1, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17] Right output [3]: [d_date_sk#22, d_date#23, d_week_seq#24] -Arguments: [cs_sold_date_sk#8], [d_date_sk#22], Inner +Arguments: [cs_sold_date_sk#8], [d_date_sk#22], Inner, BuildRight (35) CometProject Input [11]: [cs_ship_date_sk#1, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17, d_date_sk#22, d_date#23, d_week_seq#24] @@ -255,7 +255,7 @@ Arguments: [d_date_sk#26, d_week_seq#27] (39) CometBroadcastHashJoin Left output [9]: [cs_ship_date_sk#1, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17, d_date#23, d_week_seq#24] Right output [2]: [d_date_sk#26, d_week_seq#27] -Arguments: [d_week_seq#24, inv_date_sk#13], [d_week_seq#27, d_date_sk#26], Inner +Arguments: [d_week_seq#24, inv_date_sk#13], [d_week_seq#27, d_date_sk#26], Inner, BuildRight (40) CometProject Input [11]: [cs_ship_date_sk#1, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17, d_date#23, d_week_seq#24, d_date_sk#26, d_week_seq#27] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q73/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q73/explain.txt index f3a0b0087..88dcba0fb 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q73/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q73/explain.txt @@ -68,7 +68,7 @@ Arguments: [d_date_sk#7] (7) CometBroadcastHashJoin Left output [5]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_sold_date_sk#5] Right output [1]: [d_date_sk#7] -Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner, BuildRight (8) CometProject Input [6]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_sold_date_sk#5, d_date_sk#7] @@ -96,7 +96,7 @@ Arguments: [s_store_sk#10] (13) CometBroadcastHashJoin Left output [4]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4] Right output [1]: [s_store_sk#10] -Arguments: [ss_store_sk#3], [s_store_sk#10], Inner +Arguments: [ss_store_sk#3], [s_store_sk#10], Inner, BuildRight (14) CometProject Input [5]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4, s_store_sk#10] @@ -124,7 +124,7 @@ Arguments: [hd_demo_sk#12] (19) CometBroadcastHashJoin Left output [3]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_ticket_number#4] Right output [1]: [hd_demo_sk#12] -Arguments: [ss_hdemo_sk#2], [hd_demo_sk#12], Inner +Arguments: [ss_hdemo_sk#2], [hd_demo_sk#12], Inner, BuildRight (20) CometProject Input [4]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_ticket_number#4, hd_demo_sk#12] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q74/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q74/explain.txt index b786a6896..83e2737fd 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q74/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q74/explain.txt @@ -102,7 +102,7 @@ Arguments: [ss_customer_sk#5, ss_net_paid#6, ss_sold_date_sk#7] (6) CometBroadcastHashJoin Left output [4]: [c_customer_sk#1, c_customer_id#2, c_first_name#3, c_last_name#4] Right output [3]: [ss_customer_sk#5, ss_net_paid#6, ss_sold_date_sk#7] -Arguments: [c_customer_sk#1], [ss_customer_sk#5], Inner +Arguments: [c_customer_sk#1], [ss_customer_sk#5], Inner, BuildRight (7) CometProject Input [7]: [c_customer_sk#1, c_customer_id#2, c_first_name#3, c_last_name#4, ss_customer_sk#5, ss_net_paid#6, ss_sold_date_sk#7] @@ -126,7 +126,7 @@ Arguments: [d_date_sk#9, d_year#10] (11) CometBroadcastHashJoin Left output [5]: [c_customer_id#2, c_first_name#3, c_last_name#4, ss_net_paid#6, ss_sold_date_sk#7] Right output [2]: [d_date_sk#9, d_year#10] -Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner +Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner, BuildRight (12) CometProject Input [7]: [c_customer_id#2, c_first_name#3, c_last_name#4, ss_net_paid#6, ss_sold_date_sk#7, d_date_sk#9, d_year#10] @@ -185,7 +185,7 @@ Arguments: [ss_customer_sk#19, ss_net_paid#20, ss_sold_date_sk#21] (23) CometBroadcastHashJoin Left output [4]: [c_customer_sk#15, c_customer_id#16, c_first_name#17, c_last_name#18] Right output [3]: [ss_customer_sk#19, ss_net_paid#20, ss_sold_date_sk#21] -Arguments: [c_customer_sk#15], [ss_customer_sk#19], Inner +Arguments: [c_customer_sk#15], [ss_customer_sk#19], Inner, BuildRight (24) CometProject Input [7]: [c_customer_sk#15, c_customer_id#16, c_first_name#17, c_last_name#18, ss_customer_sk#19, ss_net_paid#20, ss_sold_date_sk#21] @@ -209,7 +209,7 @@ Arguments: [d_date_sk#23, d_year#24] (28) CometBroadcastHashJoin Left output [5]: [c_customer_id#16, c_first_name#17, c_last_name#18, ss_net_paid#20, ss_sold_date_sk#21] Right output [2]: [d_date_sk#23, d_year#24] -Arguments: [ss_sold_date_sk#21], [d_date_sk#23], Inner +Arguments: [ss_sold_date_sk#21], [d_date_sk#23], Inner, BuildRight (29) CometProject Input [7]: [c_customer_id#16, c_first_name#17, c_last_name#18, ss_net_paid#20, ss_sold_date_sk#21, d_date_sk#23, d_year#24] @@ -274,7 +274,7 @@ Arguments: [ws_bill_customer_sk#34, ws_net_paid#35, ws_sold_date_sk#36] (41) CometBroadcastHashJoin Left output [4]: [c_customer_sk#30, c_customer_id#31, c_first_name#32, c_last_name#33] Right output [3]: [ws_bill_customer_sk#34, ws_net_paid#35, ws_sold_date_sk#36] -Arguments: [c_customer_sk#30], [ws_bill_customer_sk#34], Inner +Arguments: [c_customer_sk#30], [ws_bill_customer_sk#34], Inner, BuildRight (42) CometProject Input [7]: [c_customer_sk#30, c_customer_id#31, c_first_name#32, c_last_name#33, ws_bill_customer_sk#34, ws_net_paid#35, ws_sold_date_sk#36] @@ -286,7 +286,7 @@ Output [2]: [d_date_sk#38, d_year#39] (44) CometBroadcastHashJoin Left output [5]: [c_customer_id#31, c_first_name#32, c_last_name#33, ws_net_paid#35, ws_sold_date_sk#36] Right output [2]: [d_date_sk#38, d_year#39] -Arguments: [ws_sold_date_sk#36], [d_date_sk#38], Inner +Arguments: [ws_sold_date_sk#36], [d_date_sk#38], Inner, BuildRight (45) CometProject Input [7]: [c_customer_id#31, c_first_name#32, c_last_name#33, ws_net_paid#35, ws_sold_date_sk#36, d_date_sk#38, d_year#39] @@ -359,7 +359,7 @@ Arguments: [ws_bill_customer_sk#48, ws_net_paid#49, ws_sold_date_sk#50] (59) CometBroadcastHashJoin Left output [4]: [c_customer_sk#44, c_customer_id#45, c_first_name#46, c_last_name#47] Right output [3]: [ws_bill_customer_sk#48, ws_net_paid#49, ws_sold_date_sk#50] -Arguments: [c_customer_sk#44], [ws_bill_customer_sk#48], Inner +Arguments: [c_customer_sk#44], [ws_bill_customer_sk#48], Inner, BuildRight (60) CometProject Input [7]: [c_customer_sk#44, c_customer_id#45, c_first_name#46, c_last_name#47, ws_bill_customer_sk#48, ws_net_paid#49, ws_sold_date_sk#50] @@ -371,7 +371,7 @@ Output [2]: [d_date_sk#52, d_year#53] (62) CometBroadcastHashJoin Left output [5]: [c_customer_id#45, c_first_name#46, c_last_name#47, ws_net_paid#49, ws_sold_date_sk#50] Right output [2]: [d_date_sk#52, d_year#53] -Arguments: [ws_sold_date_sk#50], [d_date_sk#52], Inner +Arguments: [ws_sold_date_sk#50], [d_date_sk#52], Inner, BuildRight (63) CometProject Input [7]: [c_customer_id#45, c_first_name#46, c_last_name#47, ws_net_paid#49, ws_sold_date_sk#50, d_date_sk#52, d_year#53] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q75/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q75/explain.txt index d3fd3d97c..1f736c62c 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q75/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q75/explain.txt @@ -167,7 +167,7 @@ Arguments: [i_item_sk#7, i_brand_id#8, i_class_id#9, i_category_id#10, i_manufac (7) CometBroadcastHashJoin Left output [5]: [cs_item_sk#1, cs_order_number#2, cs_quantity#3, cs_ext_sales_price#4, cs_sold_date_sk#5] Right output [5]: [i_item_sk#7, i_brand_id#8, i_class_id#9, i_category_id#10, i_manufact_id#12] -Arguments: [cs_item_sk#1], [i_item_sk#7], Inner +Arguments: [cs_item_sk#1], [i_item_sk#7], Inner, BuildRight (8) CometProject Input [10]: [cs_item_sk#1, cs_order_number#2, cs_quantity#3, cs_ext_sales_price#4, cs_sold_date_sk#5, i_item_sk#7, i_brand_id#8, i_class_id#9, i_category_id#10, i_manufact_id#12] @@ -191,7 +191,7 @@ Arguments: [d_date_sk#13, d_year#14] (12) CometBroadcastHashJoin Left output [9]: [cs_item_sk#1, cs_order_number#2, cs_quantity#3, cs_ext_sales_price#4, cs_sold_date_sk#5, i_brand_id#8, i_class_id#9, i_category_id#10, i_manufact_id#12] Right output [2]: [d_date_sk#13, d_year#14] -Arguments: [cs_sold_date_sk#5], [d_date_sk#13], Inner +Arguments: [cs_sold_date_sk#5], [d_date_sk#13], Inner, BuildRight (13) CometProject Input [11]: [cs_item_sk#1, cs_order_number#2, cs_quantity#3, cs_ext_sales_price#4, cs_sold_date_sk#5, i_brand_id#8, i_class_id#9, i_category_id#10, i_manufact_id#12, d_date_sk#13, d_year#14] @@ -262,7 +262,7 @@ Output [5]: [i_item_sk#28, i_brand_id#29, i_class_id#30, i_category_id#31, i_man (28) CometBroadcastHashJoin Left output [5]: [ss_item_sk#22, ss_ticket_number#23, ss_quantity#24, ss_ext_sales_price#25, ss_sold_date_sk#26] Right output [5]: [i_item_sk#28, i_brand_id#29, i_class_id#30, i_category_id#31, i_manufact_id#32] -Arguments: [ss_item_sk#22], [i_item_sk#28], Inner +Arguments: [ss_item_sk#22], [i_item_sk#28], Inner, BuildRight (29) CometProject Input [10]: [ss_item_sk#22, ss_ticket_number#23, ss_quantity#24, ss_ext_sales_price#25, ss_sold_date_sk#26, i_item_sk#28, i_brand_id#29, i_class_id#30, i_category_id#31, i_manufact_id#32] @@ -274,7 +274,7 @@ Output [2]: [d_date_sk#33, d_year#34] (31) CometBroadcastHashJoin Left output [9]: [ss_item_sk#22, ss_ticket_number#23, ss_quantity#24, ss_ext_sales_price#25, ss_sold_date_sk#26, i_brand_id#29, i_class_id#30, i_category_id#31, i_manufact_id#32] Right output [2]: [d_date_sk#33, d_year#34] -Arguments: [ss_sold_date_sk#26], [d_date_sk#33], Inner +Arguments: [ss_sold_date_sk#26], [d_date_sk#33], Inner, BuildRight (32) CometProject Input [11]: [ss_item_sk#22, ss_ticket_number#23, ss_quantity#24, ss_ext_sales_price#25, ss_sold_date_sk#26, i_brand_id#29, i_class_id#30, i_category_id#31, i_manufact_id#32, d_date_sk#33, d_year#34] @@ -345,7 +345,7 @@ Output [5]: [i_item_sk#48, i_brand_id#49, i_class_id#50, i_category_id#51, i_man (47) CometBroadcastHashJoin Left output [5]: [ws_item_sk#42, ws_order_number#43, ws_quantity#44, ws_ext_sales_price#45, ws_sold_date_sk#46] Right output [5]: [i_item_sk#48, i_brand_id#49, i_class_id#50, i_category_id#51, i_manufact_id#52] -Arguments: [ws_item_sk#42], [i_item_sk#48], Inner +Arguments: [ws_item_sk#42], [i_item_sk#48], Inner, BuildRight (48) CometProject Input [10]: [ws_item_sk#42, ws_order_number#43, ws_quantity#44, ws_ext_sales_price#45, ws_sold_date_sk#46, i_item_sk#48, i_brand_id#49, i_class_id#50, i_category_id#51, i_manufact_id#52] @@ -357,7 +357,7 @@ Output [2]: [d_date_sk#53, d_year#54] (50) CometBroadcastHashJoin Left output [9]: [ws_item_sk#42, ws_order_number#43, ws_quantity#44, ws_ext_sales_price#45, ws_sold_date_sk#46, i_brand_id#49, i_class_id#50, i_category_id#51, i_manufact_id#52] Right output [2]: [d_date_sk#53, d_year#54] -Arguments: [ws_sold_date_sk#46], [d_date_sk#53], Inner +Arguments: [ws_sold_date_sk#46], [d_date_sk#53], Inner, BuildRight (51) CometProject Input [11]: [ws_item_sk#42, ws_order_number#43, ws_quantity#44, ws_ext_sales_price#45, ws_sold_date_sk#46, i_brand_id#49, i_class_id#50, i_category_id#51, i_manufact_id#52, d_date_sk#53, d_year#54] @@ -478,7 +478,7 @@ Output [5]: [i_item_sk#76, i_brand_id#77, i_class_id#78, i_category_id#79, i_man (76) CometBroadcastHashJoin Left output [5]: [cs_item_sk#70, cs_order_number#71, cs_quantity#72, cs_ext_sales_price#73, cs_sold_date_sk#74] Right output [5]: [i_item_sk#76, i_brand_id#77, i_class_id#78, i_category_id#79, i_manufact_id#80] -Arguments: [cs_item_sk#70], [i_item_sk#76], Inner +Arguments: [cs_item_sk#70], [i_item_sk#76], Inner, BuildRight (77) CometProject Input [10]: [cs_item_sk#70, cs_order_number#71, cs_quantity#72, cs_ext_sales_price#73, cs_sold_date_sk#74, i_item_sk#76, i_brand_id#77, i_class_id#78, i_category_id#79, i_manufact_id#80] @@ -502,7 +502,7 @@ Arguments: [d_date_sk#81, d_year#82] (81) CometBroadcastHashJoin Left output [9]: [cs_item_sk#70, cs_order_number#71, cs_quantity#72, cs_ext_sales_price#73, cs_sold_date_sk#74, i_brand_id#77, i_class_id#78, i_category_id#79, i_manufact_id#80] Right output [2]: [d_date_sk#81, d_year#82] -Arguments: [cs_sold_date_sk#74], [d_date_sk#81], Inner +Arguments: [cs_sold_date_sk#74], [d_date_sk#81], Inner, BuildRight (82) CometProject Input [11]: [cs_item_sk#70, cs_order_number#71, cs_quantity#72, cs_ext_sales_price#73, cs_sold_date_sk#74, i_brand_id#77, i_class_id#78, i_category_id#79, i_manufact_id#80, d_date_sk#81, d_year#82] @@ -554,7 +554,7 @@ Output [5]: [i_item_sk#93, i_brand_id#94, i_class_id#95, i_category_id#96, i_man (93) CometBroadcastHashJoin Left output [5]: [ss_item_sk#87, ss_ticket_number#88, ss_quantity#89, ss_ext_sales_price#90, ss_sold_date_sk#91] Right output [5]: [i_item_sk#93, i_brand_id#94, i_class_id#95, i_category_id#96, i_manufact_id#97] -Arguments: [ss_item_sk#87], [i_item_sk#93], Inner +Arguments: [ss_item_sk#87], [i_item_sk#93], Inner, BuildRight (94) CometProject Input [10]: [ss_item_sk#87, ss_ticket_number#88, ss_quantity#89, ss_ext_sales_price#90, ss_sold_date_sk#91, i_item_sk#93, i_brand_id#94, i_class_id#95, i_category_id#96, i_manufact_id#97] @@ -566,7 +566,7 @@ Output [2]: [d_date_sk#98, d_year#99] (96) CometBroadcastHashJoin Left output [9]: [ss_item_sk#87, ss_ticket_number#88, ss_quantity#89, ss_ext_sales_price#90, ss_sold_date_sk#91, i_brand_id#94, i_class_id#95, i_category_id#96, i_manufact_id#97] Right output [2]: [d_date_sk#98, d_year#99] -Arguments: [ss_sold_date_sk#91], [d_date_sk#98], Inner +Arguments: [ss_sold_date_sk#91], [d_date_sk#98], Inner, BuildRight (97) CometProject Input [11]: [ss_item_sk#87, ss_ticket_number#88, ss_quantity#89, ss_ext_sales_price#90, ss_sold_date_sk#91, i_brand_id#94, i_class_id#95, i_category_id#96, i_manufact_id#97, d_date_sk#98, d_year#99] @@ -618,7 +618,7 @@ Output [5]: [i_item_sk#110, i_brand_id#111, i_class_id#112, i_category_id#113, i (108) CometBroadcastHashJoin Left output [5]: [ws_item_sk#104, ws_order_number#105, ws_quantity#106, ws_ext_sales_price#107, ws_sold_date_sk#108] Right output [5]: [i_item_sk#110, i_brand_id#111, i_class_id#112, i_category_id#113, i_manufact_id#114] -Arguments: [ws_item_sk#104], [i_item_sk#110], Inner +Arguments: [ws_item_sk#104], [i_item_sk#110], Inner, BuildRight (109) CometProject Input [10]: [ws_item_sk#104, ws_order_number#105, ws_quantity#106, ws_ext_sales_price#107, ws_sold_date_sk#108, i_item_sk#110, i_brand_id#111, i_class_id#112, i_category_id#113, i_manufact_id#114] @@ -630,7 +630,7 @@ Output [2]: [d_date_sk#115, d_year#116] (111) CometBroadcastHashJoin Left output [9]: [ws_item_sk#104, ws_order_number#105, ws_quantity#106, ws_ext_sales_price#107, ws_sold_date_sk#108, i_brand_id#111, i_class_id#112, i_category_id#113, i_manufact_id#114] Right output [2]: [d_date_sk#115, d_year#116] -Arguments: [ws_sold_date_sk#108], [d_date_sk#115], Inner +Arguments: [ws_sold_date_sk#108], [d_date_sk#115], Inner, BuildRight (112) CometProject Input [11]: [ws_item_sk#104, ws_order_number#105, ws_quantity#106, ws_ext_sales_price#107, ws_sold_date_sk#108, i_brand_id#111, i_class_id#112, i_category_id#113, i_manufact_id#114, d_date_sk#115, d_year#116] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q76/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q76/explain.txt index 61f6a472c..27a4a8c3f 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q76/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q76/explain.txt @@ -65,7 +65,7 @@ Arguments: [i_item_sk#5, i_category#6] (6) CometBroadcastHashJoin Left output [4]: [ss_item_sk#1, ss_store_sk#2, ss_ext_sales_price#3, ss_sold_date_sk#4] Right output [2]: [i_item_sk#5, i_category#6] -Arguments: [ss_item_sk#1], [i_item_sk#5], Inner +Arguments: [ss_item_sk#1], [i_item_sk#5], Inner, BuildRight (7) CometProject Input [6]: [ss_item_sk#1, ss_store_sk#2, ss_ext_sales_price#3, ss_sold_date_sk#4, i_item_sk#5, i_category#6] @@ -89,7 +89,7 @@ Arguments: [d_date_sk#7, d_year#8, d_qoy#9] (11) CometBroadcastHashJoin Left output [4]: [ss_store_sk#2, ss_ext_sales_price#3, ss_sold_date_sk#4, i_category#6] Right output [3]: [d_date_sk#7, d_year#8, d_qoy#9] -Arguments: [ss_sold_date_sk#4], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#4], [d_date_sk#7], Inner, BuildRight (12) CometProject Input [7]: [ss_store_sk#2, ss_ext_sales_price#3, ss_sold_date_sk#4, i_category#6, d_date_sk#7, d_year#8, d_qoy#9] @@ -113,7 +113,7 @@ Output [2]: [i_item_sk#17, i_category#18] (16) CometBroadcastHashJoin Left output [4]: [ws_item_sk#13, ws_ship_customer_sk#14, ws_ext_sales_price#15, ws_sold_date_sk#16] Right output [2]: [i_item_sk#17, i_category#18] -Arguments: [ws_item_sk#13], [i_item_sk#17], Inner +Arguments: [ws_item_sk#13], [i_item_sk#17], Inner, BuildRight (17) CometProject Input [6]: [ws_item_sk#13, ws_ship_customer_sk#14, ws_ext_sales_price#15, ws_sold_date_sk#16, i_item_sk#17, i_category#18] @@ -125,7 +125,7 @@ Output [3]: [d_date_sk#19, d_year#20, d_qoy#21] (19) CometBroadcastHashJoin Left output [4]: [ws_ship_customer_sk#14, ws_ext_sales_price#15, ws_sold_date_sk#16, i_category#18] Right output [3]: [d_date_sk#19, d_year#20, d_qoy#21] -Arguments: [ws_sold_date_sk#16], [d_date_sk#19], Inner +Arguments: [ws_sold_date_sk#16], [d_date_sk#19], Inner, BuildRight (20) CometProject Input [7]: [ws_ship_customer_sk#14, ws_ext_sales_price#15, ws_sold_date_sk#16, i_category#18, d_date_sk#19, d_year#20, d_qoy#21] @@ -149,7 +149,7 @@ Output [2]: [i_item_sk#29, i_category#30] (24) CometBroadcastHashJoin Left output [4]: [cs_ship_addr_sk#25, cs_item_sk#26, cs_ext_sales_price#27, cs_sold_date_sk#28] Right output [2]: [i_item_sk#29, i_category#30] -Arguments: [cs_item_sk#26], [i_item_sk#29], Inner +Arguments: [cs_item_sk#26], [i_item_sk#29], Inner, BuildRight (25) CometProject Input [6]: [cs_ship_addr_sk#25, cs_item_sk#26, cs_ext_sales_price#27, cs_sold_date_sk#28, i_item_sk#29, i_category#30] @@ -161,7 +161,7 @@ Output [3]: [d_date_sk#31, d_year#32, d_qoy#33] (27) CometBroadcastHashJoin Left output [4]: [cs_ship_addr_sk#25, cs_ext_sales_price#27, cs_sold_date_sk#28, i_category#30] Right output [3]: [d_date_sk#31, d_year#32, d_qoy#33] -Arguments: [cs_sold_date_sk#28], [d_date_sk#31], Inner +Arguments: [cs_sold_date_sk#28], [d_date_sk#31], Inner, BuildRight (28) CometProject Input [7]: [cs_ship_addr_sk#25, cs_ext_sales_price#27, cs_sold_date_sk#28, i_category#30, d_date_sk#31, d_year#32, d_qoy#33] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q77/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q77/explain.txt index 60b5fd411..a61e0be7d 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q77/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q77/explain.txt @@ -121,7 +121,7 @@ Arguments: [d_date_sk#6] (7) CometBroadcastHashJoin Left output [4]: [ss_store_sk#1, ss_ext_sales_price#2, ss_net_profit#3, ss_sold_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [ss_sold_date_sk#4], [d_date_sk#6], Inner +Arguments: [ss_sold_date_sk#4], [d_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [ss_store_sk#1, ss_ext_sales_price#2, ss_net_profit#3, ss_sold_date_sk#4, d_date_sk#6] @@ -145,7 +145,7 @@ Arguments: [s_store_sk#8] (12) CometBroadcastHashJoin Left output [3]: [ss_store_sk#1, ss_ext_sales_price#2, ss_net_profit#3] Right output [1]: [s_store_sk#8] -Arguments: [ss_store_sk#1], [s_store_sk#8], Inner +Arguments: [ss_store_sk#1], [s_store_sk#8], Inner, BuildRight (13) CometProject Input [4]: [ss_store_sk#1, ss_ext_sales_price#2, ss_net_profit#3, s_store_sk#8] @@ -188,7 +188,7 @@ Output [1]: [d_date_sk#20] (21) CometBroadcastHashJoin Left output [4]: [sr_store_sk#15, sr_return_amt#16, sr_net_loss#17, sr_returned_date_sk#18] Right output [1]: [d_date_sk#20] -Arguments: [sr_returned_date_sk#18], [d_date_sk#20], Inner +Arguments: [sr_returned_date_sk#18], [d_date_sk#20], Inner, BuildRight (22) CometProject Input [5]: [sr_store_sk#15, sr_return_amt#16, sr_net_loss#17, sr_returned_date_sk#18, d_date_sk#20] @@ -200,7 +200,7 @@ Output [1]: [s_store_sk#21] (24) CometBroadcastHashJoin Left output [3]: [sr_store_sk#15, sr_return_amt#16, sr_net_loss#17] Right output [1]: [s_store_sk#21] -Arguments: [sr_store_sk#15], [s_store_sk#21], Inner +Arguments: [sr_store_sk#15], [s_store_sk#21], Inner, BuildRight (25) CometProject Input [4]: [sr_store_sk#15, sr_return_amt#16, sr_net_loss#17, s_store_sk#21] @@ -252,7 +252,7 @@ Output [1]: [d_date_sk#37] (35) CometBroadcastHashJoin Left output [4]: [cs_call_center_sk#32, cs_ext_sales_price#33, cs_net_profit#34, cs_sold_date_sk#35] Right output [1]: [d_date_sk#37] -Arguments: [cs_sold_date_sk#35], [d_date_sk#37], Inner +Arguments: [cs_sold_date_sk#35], [d_date_sk#37], Inner, BuildRight (36) CometProject Input [5]: [cs_call_center_sk#32, cs_ext_sales_price#33, cs_net_profit#34, cs_sold_date_sk#35, d_date_sk#37] @@ -294,7 +294,7 @@ Output [1]: [d_date_sk#48] (44) CometBroadcastHashJoin Left output [3]: [cr_return_amount#44, cr_net_loss#45, cr_returned_date_sk#46] Right output [1]: [d_date_sk#48] -Arguments: [cr_returned_date_sk#46], [d_date_sk#48], Inner +Arguments: [cr_returned_date_sk#46], [d_date_sk#48], Inner, BuildRight (45) CometProject Input [4]: [cr_return_amount#44, cr_net_loss#45, cr_returned_date_sk#46, d_date_sk#48] @@ -345,7 +345,7 @@ Output [1]: [d_date_sk#63] (55) CometBroadcastHashJoin Left output [4]: [ws_web_page_sk#58, ws_ext_sales_price#59, ws_net_profit#60, ws_sold_date_sk#61] Right output [1]: [d_date_sk#63] -Arguments: [ws_sold_date_sk#61], [d_date_sk#63], Inner +Arguments: [ws_sold_date_sk#61], [d_date_sk#63], Inner, BuildRight (56) CometProject Input [5]: [ws_web_page_sk#58, ws_ext_sales_price#59, ws_net_profit#60, ws_sold_date_sk#61, d_date_sk#63] @@ -369,7 +369,7 @@ Arguments: [wp_web_page_sk#64] (60) CometBroadcastHashJoin Left output [3]: [ws_web_page_sk#58, ws_ext_sales_price#59, ws_net_profit#60] Right output [1]: [wp_web_page_sk#64] -Arguments: [ws_web_page_sk#58], [wp_web_page_sk#64], Inner +Arguments: [ws_web_page_sk#58], [wp_web_page_sk#64], Inner, BuildRight (61) CometProject Input [4]: [ws_web_page_sk#58, ws_ext_sales_price#59, ws_net_profit#60, wp_web_page_sk#64] @@ -412,7 +412,7 @@ Output [1]: [d_date_sk#76] (69) CometBroadcastHashJoin Left output [4]: [wr_web_page_sk#71, wr_return_amt#72, wr_net_loss#73, wr_returned_date_sk#74] Right output [1]: [d_date_sk#76] -Arguments: [wr_returned_date_sk#74], [d_date_sk#76], Inner +Arguments: [wr_returned_date_sk#74], [d_date_sk#76], Inner, BuildRight (70) CometProject Input [5]: [wr_web_page_sk#71, wr_return_amt#72, wr_net_loss#73, wr_returned_date_sk#74, d_date_sk#76] @@ -424,7 +424,7 @@ Output [1]: [wp_web_page_sk#77] (72) CometBroadcastHashJoin Left output [3]: [wr_web_page_sk#71, wr_return_amt#72, wr_net_loss#73] Right output [1]: [wp_web_page_sk#77] -Arguments: [wr_web_page_sk#71], [wp_web_page_sk#77], Inner +Arguments: [wr_web_page_sk#71], [wp_web_page_sk#77], Inner, BuildRight (73) CometProject Input [4]: [wr_web_page_sk#71, wr_return_amt#72, wr_net_loss#73, wp_web_page_sk#77] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q79/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q79/explain.txt index 2c753960f..3bad7fc44 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q79/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q79/explain.txt @@ -66,7 +66,7 @@ Arguments: [d_date_sk#10] (7) CometBroadcastHashJoin Left output [8]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7, ss_sold_date_sk#8] Right output [1]: [d_date_sk#10] -Arguments: [ss_sold_date_sk#8], [d_date_sk#10], Inner +Arguments: [ss_sold_date_sk#8], [d_date_sk#10], Inner, BuildRight (8) CometProject Input [9]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7, ss_sold_date_sk#8, d_date_sk#10] @@ -94,7 +94,7 @@ Arguments: [s_store_sk#13, s_city#15] (13) CometBroadcastHashJoin Left output [7]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7] Right output [2]: [s_store_sk#13, s_city#15] -Arguments: [ss_store_sk#4], [s_store_sk#13], Inner +Arguments: [ss_store_sk#4], [s_store_sk#13], Inner, BuildRight (14) CometProject Input [9]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_store_sk#4, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7, s_store_sk#13, s_city#15] @@ -122,7 +122,7 @@ Arguments: [hd_demo_sk#16] (19) CometBroadcastHashJoin Left output [7]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7, s_city#15] Right output [1]: [hd_demo_sk#16] -Arguments: [ss_hdemo_sk#2], [hd_demo_sk#16], Inner +Arguments: [ss_hdemo_sk#2], [hd_demo_sk#16], Inner, BuildRight (20) CometProject Input [8]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_addr_sk#3, ss_ticket_number#5, ss_coupon_amt#6, ss_net_profit#7, s_city#15, hd_demo_sk#16] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q8/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q8/explain.txt index 4c02bae1c..07bfd877c 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q8/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q8/explain.txt @@ -79,7 +79,7 @@ Arguments: [d_date_sk#5] (7) CometBroadcastHashJoin Left output [3]: [ss_store_sk#1, ss_net_profit#2, ss_sold_date_sk#3] Right output [1]: [d_date_sk#5] -Arguments: [ss_sold_date_sk#3], [d_date_sk#5], Inner +Arguments: [ss_sold_date_sk#3], [d_date_sk#5], Inner, BuildRight (8) CometProject Input [4]: [ss_store_sk#1, ss_net_profit#2, ss_sold_date_sk#3, d_date_sk#5] @@ -103,7 +103,7 @@ Arguments: [s_store_sk#8, s_store_name#9, s_zip#10] (12) CometBroadcastHashJoin Left output [2]: [ss_store_sk#1, ss_net_profit#2] Right output [3]: [s_store_sk#8, s_store_name#9, s_zip#10] -Arguments: [ss_store_sk#1], [s_store_sk#8], Inner +Arguments: [ss_store_sk#1], [s_store_sk#8], Inner, BuildRight (13) CometProject Input [5]: [ss_store_sk#1, ss_net_profit#2, s_store_sk#8, s_store_name#9, s_zip#10] @@ -162,7 +162,7 @@ Arguments: [c_current_addr_sk#15] (25) CometBroadcastHashJoin Left output [2]: [ca_address_sk#13, ca_zip#14] Right output [1]: [c_current_addr_sk#15] -Arguments: [ca_address_sk#13], [c_current_addr_sk#15], Inner +Arguments: [ca_address_sk#13], [c_current_addr_sk#15], Inner, BuildRight (26) CometProject Input [3]: [ca_address_sk#13, ca_zip#14, c_current_addr_sk#15] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q81/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q81/explain.txt index afc2202d5..67c8af083 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q81/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q81/explain.txt @@ -85,7 +85,7 @@ Arguments: [d_date_sk#6] (7) CometBroadcastHashJoin Left output [4]: [cr_returning_customer_sk#1, cr_returning_addr_sk#2, cr_return_amt_inc_tax#3, cr_returned_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [cr_returned_date_sk#4], [d_date_sk#6], Inner +Arguments: [cr_returned_date_sk#4], [d_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [cr_returning_customer_sk#1, cr_returning_addr_sk#2, cr_return_amt_inc_tax#3, cr_returned_date_sk#4, d_date_sk#6] @@ -109,7 +109,7 @@ Arguments: [ca_address_sk#8, ca_state#9] (12) CometBroadcastHashJoin Left output [3]: [cr_returning_customer_sk#1, cr_returning_addr_sk#2, cr_return_amt_inc_tax#3] Right output [2]: [ca_address_sk#8, ca_state#9] -Arguments: [cr_returning_addr_sk#2], [ca_address_sk#8], Inner +Arguments: [cr_returning_addr_sk#2], [ca_address_sk#8], Inner, BuildRight (13) CometProject Input [5]: [cr_returning_customer_sk#1, cr_returning_addr_sk#2, cr_return_amt_inc_tax#3, ca_address_sk#8, ca_state#9] @@ -156,7 +156,7 @@ Output [1]: [d_date_sk#6] (22) CometBroadcastHashJoin Left output [4]: [cr_returning_customer_sk#1, cr_returning_addr_sk#2, cr_return_amt_inc_tax#3, cr_returned_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [cr_returned_date_sk#4], [d_date_sk#6], Inner +Arguments: [cr_returned_date_sk#4], [d_date_sk#6], Inner, BuildRight (23) CometProject Input [5]: [cr_returning_customer_sk#1, cr_returning_addr_sk#2, cr_return_amt_inc_tax#3, cr_returned_date_sk#4, d_date_sk#6] @@ -168,7 +168,7 @@ Output [2]: [ca_address_sk#8, ca_state#9] (25) CometBroadcastHashJoin Left output [3]: [cr_returning_customer_sk#1, cr_returning_addr_sk#2, cr_return_amt_inc_tax#3] Right output [2]: [ca_address_sk#8, ca_state#9] -Arguments: [cr_returning_addr_sk#2], [ca_address_sk#8], Inner +Arguments: [cr_returning_addr_sk#2], [ca_address_sk#8], Inner, BuildRight (26) CometProject Input [5]: [cr_returning_customer_sk#1, cr_returning_addr_sk#2, cr_return_amt_inc_tax#3, ca_address_sk#8, ca_state#9] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q82/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q82/explain.txt index 6810cd149..00e38f694 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q82/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q82/explain.txt @@ -65,7 +65,7 @@ Arguments: [inv_item_sk#6, inv_date_sk#8] (8) CometBroadcastHashJoin Left output [4]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4] Right output [2]: [inv_item_sk#6, inv_date_sk#8] -Arguments: [i_item_sk#1], [inv_item_sk#6], Inner +Arguments: [i_item_sk#1], [inv_item_sk#6], Inner, BuildRight (9) CometProject Input [6]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4, inv_item_sk#6, inv_date_sk#8] @@ -93,7 +93,7 @@ Arguments: [d_date_sk#10] (14) CometBroadcastHashJoin Left output [5]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4, inv_date_sk#8] Right output [1]: [d_date_sk#10] -Arguments: [inv_date_sk#8], [d_date_sk#10], Inner +Arguments: [inv_date_sk#8], [d_date_sk#10], Inner, BuildRight (15) CometProject Input [6]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4, inv_date_sk#8, d_date_sk#10] @@ -121,7 +121,7 @@ Arguments: [ss_item_sk#12], [ss_item_sk#12] (20) CometBroadcastHashJoin Left output [4]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4] Right output [1]: [ss_item_sk#12] -Arguments: [i_item_sk#1], [ss_item_sk#12], Inner +Arguments: [i_item_sk#1], [ss_item_sk#12], Inner, BuildLeft (21) CometProject Input [5]: [i_item_sk#1, i_item_id#2, i_item_desc#3, i_current_price#4, ss_item_sk#12] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q83/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q83/explain.txt index e69a8d82f..1838b9a77 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q83/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q83/explain.txt @@ -81,7 +81,7 @@ Arguments: [i_item_sk#5, i_item_id#6] (6) CometBroadcastHashJoin Left output [3]: [sr_item_sk#1, sr_return_quantity#2, sr_returned_date_sk#3] Right output [2]: [i_item_sk#5, i_item_id#6] -Arguments: [sr_item_sk#1], [i_item_sk#5], Inner +Arguments: [sr_item_sk#1], [i_item_sk#5], Inner, BuildRight (7) CometProject Input [5]: [sr_item_sk#1, sr_return_quantity#2, sr_returned_date_sk#3, i_item_sk#5, i_item_id#6] @@ -104,7 +104,7 @@ Output [1]: [d_date#9] (11) CometBroadcastHashJoin Left output [2]: [d_date_sk#7, d_date#8] Right output [1]: [d_date#9] -Arguments: [d_date#8], [d_date#9], LeftSemi +Arguments: [d_date#8], [d_date#9], LeftSemi, BuildRight (12) CometProject Input [2]: [d_date_sk#7, d_date#8] @@ -117,7 +117,7 @@ Arguments: [d_date_sk#7] (14) CometBroadcastHashJoin Left output [3]: [sr_return_quantity#2, sr_returned_date_sk#3, i_item_id#6] Right output [1]: [d_date_sk#7] -Arguments: [sr_returned_date_sk#3], [d_date_sk#7], Inner +Arguments: [sr_returned_date_sk#3], [d_date_sk#7], Inner, BuildRight (15) CometProject Input [4]: [sr_return_quantity#2, sr_returned_date_sk#3, i_item_id#6, d_date_sk#7] @@ -160,7 +160,7 @@ Output [2]: [i_item_sk#18, i_item_id#19] (23) CometBroadcastHashJoin Left output [3]: [cr_item_sk#14, cr_return_quantity#15, cr_returned_date_sk#16] Right output [2]: [i_item_sk#18, i_item_id#19] -Arguments: [cr_item_sk#14], [i_item_sk#18], Inner +Arguments: [cr_item_sk#14], [i_item_sk#18], Inner, BuildRight (24) CometProject Input [5]: [cr_item_sk#14, cr_return_quantity#15, cr_returned_date_sk#16, i_item_sk#18, i_item_id#19] @@ -172,7 +172,7 @@ Output [1]: [d_date_sk#20] (26) CometBroadcastHashJoin Left output [3]: [cr_return_quantity#15, cr_returned_date_sk#16, i_item_id#19] Right output [1]: [d_date_sk#20] -Arguments: [cr_returned_date_sk#16], [d_date_sk#20], Inner +Arguments: [cr_returned_date_sk#16], [d_date_sk#20], Inner, BuildRight (27) CometProject Input [4]: [cr_return_quantity#15, cr_returned_date_sk#16, i_item_id#19, d_date_sk#20] @@ -229,7 +229,7 @@ Output [2]: [i_item_sk#29, i_item_id#30] (38) CometBroadcastHashJoin Left output [3]: [wr_item_sk#25, wr_return_quantity#26, wr_returned_date_sk#27] Right output [2]: [i_item_sk#29, i_item_id#30] -Arguments: [wr_item_sk#25], [i_item_sk#29], Inner +Arguments: [wr_item_sk#25], [i_item_sk#29], Inner, BuildRight (39) CometProject Input [5]: [wr_item_sk#25, wr_return_quantity#26, wr_returned_date_sk#27, i_item_sk#29, i_item_id#30] @@ -241,7 +241,7 @@ Output [1]: [d_date_sk#31] (41) CometBroadcastHashJoin Left output [3]: [wr_return_quantity#26, wr_returned_date_sk#27, i_item_id#30] Right output [1]: [d_date_sk#31] -Arguments: [wr_returned_date_sk#27], [d_date_sk#31], Inner +Arguments: [wr_returned_date_sk#27], [d_date_sk#31], Inner, BuildRight (42) CometProject Input [4]: [wr_return_quantity#26, wr_returned_date_sk#27, i_item_id#30, d_date_sk#31] @@ -341,7 +341,7 @@ Arguments: [d_week_seq#42] (58) CometBroadcastHashJoin Left output [2]: [d_date#9, d_week_seq#40] Right output [1]: [d_week_seq#42] -Arguments: [d_week_seq#40], [d_week_seq#42], LeftSemi +Arguments: [d_week_seq#40], [d_week_seq#42], LeftSemi, BuildRight (59) CometProject Input [2]: [d_date#9, d_week_seq#40] @@ -354,7 +354,7 @@ Arguments: [d_date#9] (61) CometBroadcastHashJoin Left output [2]: [d_date_sk#7, d_date#8] Right output [1]: [d_date#9] -Arguments: [d_date#8], [d_date#9], LeftSemi +Arguments: [d_date#8], [d_date#9], LeftSemi, BuildRight (62) CometProject Input [2]: [d_date_sk#7, d_date#8] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q84/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q84/explain.txt index c00f5f053..468af40d2 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q84/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q84/explain.txt @@ -66,7 +66,7 @@ Arguments: [ca_address_sk#7] (7) CometBroadcastHashJoin Left output [6]: [c_customer_id#1, c_current_cdemo_sk#2, c_current_hdemo_sk#3, c_current_addr_sk#4, c_first_name#5, c_last_name#6] Right output [1]: [ca_address_sk#7] -Arguments: [c_current_addr_sk#4], [ca_address_sk#7], Inner +Arguments: [c_current_addr_sk#4], [ca_address_sk#7], Inner, BuildRight (8) CometProject Input [7]: [c_customer_id#1, c_current_cdemo_sk#2, c_current_hdemo_sk#3, c_current_addr_sk#4, c_first_name#5, c_last_name#6, ca_address_sk#7] @@ -90,7 +90,7 @@ Arguments: [cd_demo_sk#9] (12) CometBroadcastHashJoin Left output [5]: [c_customer_id#1, c_current_cdemo_sk#2, c_current_hdemo_sk#3, c_first_name#5, c_last_name#6] Right output [1]: [cd_demo_sk#9] -Arguments: [c_current_cdemo_sk#2], [cd_demo_sk#9], Inner +Arguments: [c_current_cdemo_sk#2], [cd_demo_sk#9], Inner, BuildRight (13) CometProject Input [6]: [c_customer_id#1, c_current_cdemo_sk#2, c_current_hdemo_sk#3, c_first_name#5, c_last_name#6, cd_demo_sk#9] @@ -114,7 +114,7 @@ Arguments: [hd_demo_sk#10, hd_income_band_sk#11] (17) CometBroadcastHashJoin Left output [5]: [c_customer_id#1, c_current_hdemo_sk#3, c_first_name#5, c_last_name#6, cd_demo_sk#9] Right output [2]: [hd_demo_sk#10, hd_income_band_sk#11] -Arguments: [c_current_hdemo_sk#3], [hd_demo_sk#10], Inner +Arguments: [c_current_hdemo_sk#3], [hd_demo_sk#10], Inner, BuildRight (18) CometProject Input [7]: [c_customer_id#1, c_current_hdemo_sk#3, c_first_name#5, c_last_name#6, cd_demo_sk#9, hd_demo_sk#10, hd_income_band_sk#11] @@ -142,7 +142,7 @@ Arguments: [ib_income_band_sk#12] (23) CometBroadcastHashJoin Left output [5]: [c_customer_id#1, c_first_name#5, c_last_name#6, cd_demo_sk#9, hd_income_band_sk#11] Right output [1]: [ib_income_band_sk#12] -Arguments: [hd_income_band_sk#11], [ib_income_band_sk#12], Inner +Arguments: [hd_income_band_sk#11], [ib_income_band_sk#12], Inner, BuildRight (24) CometProject Input [6]: [c_customer_id#1, c_first_name#5, c_last_name#6, cd_demo_sk#9, hd_income_band_sk#11, ib_income_band_sk#12] @@ -170,7 +170,7 @@ Arguments: [sr_cdemo_sk#15], [sr_cdemo_sk#15] (29) CometBroadcastHashJoin Left output [4]: [c_customer_id#1, c_first_name#5, c_last_name#6, cd_demo_sk#9] Right output [1]: [sr_cdemo_sk#15] -Arguments: [cd_demo_sk#9], [sr_cdemo_sk#15], Inner +Arguments: [cd_demo_sk#9], [sr_cdemo_sk#15], Inner, BuildLeft (30) ColumnarToRow [codegen id : 1] Input [5]: [c_customer_id#1, c_first_name#5, c_last_name#6, cd_demo_sk#9, sr_cdemo_sk#15] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q85/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q85/explain.txt index a0e8e7e47..cdd66620e 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q85/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q85/explain.txt @@ -80,7 +80,7 @@ Arguments: [wr_item_sk#9, wr_refunded_cdemo_sk#10, wr_refunded_addr_sk#11, wr_re (7) CometBroadcastHashJoin Left output [7]: [ws_item_sk#1, ws_web_page_sk#2, ws_order_number#3, ws_quantity#4, ws_sales_price#5, ws_net_profit#6, ws_sold_date_sk#7] Right output [8]: [wr_item_sk#9, wr_refunded_cdemo_sk#10, wr_refunded_addr_sk#11, wr_returning_cdemo_sk#12, wr_reason_sk#13, wr_order_number#14, wr_fee#15, wr_refunded_cash#16] -Arguments: [ws_item_sk#1, ws_order_number#3], [wr_item_sk#9, wr_order_number#14], Inner +Arguments: [ws_item_sk#1, ws_order_number#3], [wr_item_sk#9, wr_order_number#14], Inner, BuildLeft (8) CometProject Input [15]: [ws_item_sk#1, ws_web_page_sk#2, ws_order_number#3, ws_quantity#4, ws_sales_price#5, ws_net_profit#6, ws_sold_date_sk#7, wr_item_sk#9, wr_refunded_cdemo_sk#10, wr_refunded_addr_sk#11, wr_returning_cdemo_sk#12, wr_reason_sk#13, wr_order_number#14, wr_fee#15, wr_refunded_cash#16] @@ -104,7 +104,7 @@ Arguments: [wp_web_page_sk#18] (12) CometBroadcastHashJoin Left output [11]: [ws_web_page_sk#2, ws_quantity#4, ws_sales_price#5, ws_net_profit#6, ws_sold_date_sk#7, wr_refunded_cdemo_sk#10, wr_refunded_addr_sk#11, wr_returning_cdemo_sk#12, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16] Right output [1]: [wp_web_page_sk#18] -Arguments: [ws_web_page_sk#2], [wp_web_page_sk#18], Inner +Arguments: [ws_web_page_sk#2], [wp_web_page_sk#18], Inner, BuildRight (13) CometProject Input [12]: [ws_web_page_sk#2, ws_quantity#4, ws_sales_price#5, ws_net_profit#6, ws_sold_date_sk#7, wr_refunded_cdemo_sk#10, wr_refunded_addr_sk#11, wr_returning_cdemo_sk#12, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16, wp_web_page_sk#18] @@ -128,7 +128,7 @@ Arguments: [cd_demo_sk#19, cd_marital_status#20, cd_education_status#21] (17) CometBroadcastHashJoin Left output [10]: [ws_quantity#4, ws_sales_price#5, ws_net_profit#6, ws_sold_date_sk#7, wr_refunded_cdemo_sk#10, wr_refunded_addr_sk#11, wr_returning_cdemo_sk#12, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16] Right output [3]: [cd_demo_sk#19, cd_marital_status#20, cd_education_status#21] -Arguments: [wr_refunded_cdemo_sk#10], [cd_demo_sk#19], Inner, ((((((cd_marital_status#20 = M) AND (cd_education_status#21 = Advanced Degree )) AND (ws_sales_price#5 >= 100.00)) AND (ws_sales_price#5 <= 150.00)) OR ((((cd_marital_status#20 = S) AND (cd_education_status#21 = College )) AND (ws_sales_price#5 >= 50.00)) AND (ws_sales_price#5 <= 100.00))) OR ((((cd_marital_status#20 = W) AND (cd_education_status#21 = 2 yr Degree )) AND (ws_sales_price#5 >= 150.00)) AND (ws_sales_price#5 <= 200.00))) +Arguments: [wr_refunded_cdemo_sk#10], [cd_demo_sk#19], Inner, ((((((cd_marital_status#20 = M) AND (cd_education_status#21 = Advanced Degree )) AND (ws_sales_price#5 >= 100.00)) AND (ws_sales_price#5 <= 150.00)) OR ((((cd_marital_status#20 = S) AND (cd_education_status#21 = College )) AND (ws_sales_price#5 >= 50.00)) AND (ws_sales_price#5 <= 100.00))) OR ((((cd_marital_status#20 = W) AND (cd_education_status#21 = 2 yr Degree )) AND (ws_sales_price#5 >= 150.00)) AND (ws_sales_price#5 <= 200.00))), BuildRight (18) CometProject Input [13]: [ws_quantity#4, ws_sales_price#5, ws_net_profit#6, ws_sold_date_sk#7, wr_refunded_cdemo_sk#10, wr_refunded_addr_sk#11, wr_returning_cdemo_sk#12, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16, cd_demo_sk#19, cd_marital_status#20, cd_education_status#21] @@ -152,7 +152,7 @@ Arguments: [cd_demo_sk#22, cd_marital_status#23, cd_education_status#24] (22) CometBroadcastHashJoin Left output [10]: [ws_quantity#4, ws_net_profit#6, ws_sold_date_sk#7, wr_refunded_addr_sk#11, wr_returning_cdemo_sk#12, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16, cd_marital_status#20, cd_education_status#21] Right output [3]: [cd_demo_sk#22, cd_marital_status#23, cd_education_status#24] -Arguments: [wr_returning_cdemo_sk#12, cd_marital_status#20, cd_education_status#21], [cd_demo_sk#22, cd_marital_status#23, cd_education_status#24], Inner +Arguments: [wr_returning_cdemo_sk#12, cd_marital_status#20, cd_education_status#21], [cd_demo_sk#22, cd_marital_status#23, cd_education_status#24], Inner, BuildRight (23) CometProject Input [13]: [ws_quantity#4, ws_net_profit#6, ws_sold_date_sk#7, wr_refunded_addr_sk#11, wr_returning_cdemo_sk#12, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16, cd_marital_status#20, cd_education_status#21, cd_demo_sk#22, cd_marital_status#23, cd_education_status#24] @@ -180,7 +180,7 @@ Arguments: [ca_address_sk#25, ca_state#26] (28) CometBroadcastHashJoin Left output [7]: [ws_quantity#4, ws_net_profit#6, ws_sold_date_sk#7, wr_refunded_addr_sk#11, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16] Right output [2]: [ca_address_sk#25, ca_state#26] -Arguments: [wr_refunded_addr_sk#11], [ca_address_sk#25], Inner, ((((ca_state#26 IN (IN,OH,NJ) AND (ws_net_profit#6 >= 100.00)) AND (ws_net_profit#6 <= 200.00)) OR ((ca_state#26 IN (WI,CT,KY) AND (ws_net_profit#6 >= 150.00)) AND (ws_net_profit#6 <= 300.00))) OR ((ca_state#26 IN (LA,IA,AR) AND (ws_net_profit#6 >= 50.00)) AND (ws_net_profit#6 <= 250.00))) +Arguments: [wr_refunded_addr_sk#11], [ca_address_sk#25], Inner, ((((ca_state#26 IN (IN,OH,NJ) AND (ws_net_profit#6 >= 100.00)) AND (ws_net_profit#6 <= 200.00)) OR ((ca_state#26 IN (WI,CT,KY) AND (ws_net_profit#6 >= 150.00)) AND (ws_net_profit#6 <= 300.00))) OR ((ca_state#26 IN (LA,IA,AR) AND (ws_net_profit#6 >= 50.00)) AND (ws_net_profit#6 <= 250.00))), BuildRight (29) CometProject Input [9]: [ws_quantity#4, ws_net_profit#6, ws_sold_date_sk#7, wr_refunded_addr_sk#11, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16, ca_address_sk#25, ca_state#26] @@ -208,7 +208,7 @@ Arguments: [d_date_sk#28] (34) CometBroadcastHashJoin Left output [5]: [ws_quantity#4, ws_sold_date_sk#7, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16] Right output [1]: [d_date_sk#28] -Arguments: [ws_sold_date_sk#7], [d_date_sk#28], Inner +Arguments: [ws_sold_date_sk#7], [d_date_sk#28], Inner, BuildRight (35) CometProject Input [6]: [ws_quantity#4, ws_sold_date_sk#7, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16, d_date_sk#28] @@ -232,7 +232,7 @@ Arguments: [r_reason_sk#30, r_reason_desc#31] (39) CometBroadcastHashJoin Left output [4]: [ws_quantity#4, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16] Right output [2]: [r_reason_sk#30, r_reason_desc#31] -Arguments: [wr_reason_sk#13], [r_reason_sk#30], Inner +Arguments: [wr_reason_sk#13], [r_reason_sk#30], Inner, BuildRight (40) CometProject Input [6]: [ws_quantity#4, wr_reason_sk#13, wr_fee#15, wr_refunded_cash#16, r_reason_sk#30, r_reason_desc#31] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q86/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q86/explain.txt index e8f027109..900d23064 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q86/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q86/explain.txt @@ -58,7 +58,7 @@ Arguments: [d_date_sk#5] (7) CometBroadcastHashJoin Left output [3]: [ws_item_sk#1, ws_net_paid#2, ws_sold_date_sk#3] Right output [1]: [d_date_sk#5] -Arguments: [ws_sold_date_sk#3], [d_date_sk#5], Inner +Arguments: [ws_sold_date_sk#3], [d_date_sk#5], Inner, BuildRight (8) CometProject Input [4]: [ws_item_sk#1, ws_net_paid#2, ws_sold_date_sk#3, d_date_sk#5] @@ -82,7 +82,7 @@ Arguments: [i_item_sk#7, i_class#8, i_category#9] (12) CometBroadcastHashJoin Left output [2]: [ws_item_sk#1, ws_net_paid#2] Right output [3]: [i_item_sk#7, i_class#8, i_category#9] -Arguments: [ws_item_sk#1], [i_item_sk#7], Inner +Arguments: [ws_item_sk#1], [i_item_sk#7], Inner, BuildRight (13) CometProject Input [5]: [ws_item_sk#1, ws_net_paid#2, i_item_sk#7, i_class#8, i_category#9] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q87/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q87/explain.txt index 0e3bee47d..0434066e6 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q87/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q87/explain.txt @@ -84,7 +84,7 @@ Arguments: [d_date_sk#4, d_date#5] (7) CometBroadcastHashJoin Left output [2]: [ss_customer_sk#1, ss_sold_date_sk#2] Right output [2]: [d_date_sk#4, d_date#5] -Arguments: [ss_sold_date_sk#2], [d_date_sk#4], Inner +Arguments: [ss_sold_date_sk#2], [d_date_sk#4], Inner, BuildRight (8) CometProject Input [4]: [ss_customer_sk#1, ss_sold_date_sk#2, d_date_sk#4, d_date#5] @@ -108,7 +108,7 @@ Arguments: [c_customer_sk#7, c_first_name#8, c_last_name#9] (12) CometBroadcastHashJoin Left output [2]: [ss_customer_sk#1, d_date#5] Right output [3]: [c_customer_sk#7, c_first_name#8, c_last_name#9] -Arguments: [ss_customer_sk#1], [c_customer_sk#7], Inner +Arguments: [ss_customer_sk#1], [c_customer_sk#7], Inner, BuildRight (13) CometProject Input [5]: [ss_customer_sk#1, d_date#5, c_customer_sk#7, c_first_name#8, c_last_name#9] @@ -151,7 +151,7 @@ Output [2]: [d_date_sk#13, d_date#14] (21) CometBroadcastHashJoin Left output [2]: [cs_bill_customer_sk#10, cs_sold_date_sk#11] Right output [2]: [d_date_sk#13, d_date#14] -Arguments: [cs_sold_date_sk#11], [d_date_sk#13], Inner +Arguments: [cs_sold_date_sk#11], [d_date_sk#13], Inner, BuildRight (22) CometProject Input [4]: [cs_bill_customer_sk#10, cs_sold_date_sk#11, d_date_sk#13, d_date#14] @@ -163,7 +163,7 @@ Output [3]: [c_customer_sk#15, c_first_name#16, c_last_name#17] (24) CometBroadcastHashJoin Left output [2]: [cs_bill_customer_sk#10, d_date#14] Right output [3]: [c_customer_sk#15, c_first_name#16, c_last_name#17] -Arguments: [cs_bill_customer_sk#10], [c_customer_sk#15], Inner +Arguments: [cs_bill_customer_sk#10], [c_customer_sk#15], Inner, BuildRight (25) CometProject Input [5]: [cs_bill_customer_sk#10, d_date#14, c_customer_sk#15, c_first_name#16, c_last_name#17] @@ -216,7 +216,7 @@ Output [2]: [d_date_sk#21, d_date#22] (35) CometBroadcastHashJoin Left output [2]: [ws_bill_customer_sk#18, ws_sold_date_sk#19] Right output [2]: [d_date_sk#21, d_date#22] -Arguments: [ws_sold_date_sk#19], [d_date_sk#21], Inner +Arguments: [ws_sold_date_sk#19], [d_date_sk#21], Inner, BuildRight (36) CometProject Input [4]: [ws_bill_customer_sk#18, ws_sold_date_sk#19, d_date_sk#21, d_date#22] @@ -228,7 +228,7 @@ Output [3]: [c_customer_sk#23, c_first_name#24, c_last_name#25] (38) CometBroadcastHashJoin Left output [2]: [ws_bill_customer_sk#18, d_date#22] Right output [3]: [c_customer_sk#23, c_first_name#24, c_last_name#25] -Arguments: [ws_bill_customer_sk#18], [c_customer_sk#23], Inner +Arguments: [ws_bill_customer_sk#18], [c_customer_sk#23], Inner, BuildRight (39) CometProject Input [5]: [ws_bill_customer_sk#18, d_date#22, c_customer_sk#23, c_first_name#24, c_last_name#25] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q88/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q88/explain.txt index 00c882540..3f905ebe9 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q88/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q88/explain.txt @@ -210,7 +210,7 @@ Arguments: [hd_demo_sk#5] (8) CometBroadcastHashJoin Left output [3]: [ss_sold_time_sk#1, ss_hdemo_sk#2, ss_store_sk#3] Right output [1]: [hd_demo_sk#5] -Arguments: [ss_hdemo_sk#2], [hd_demo_sk#5], Inner +Arguments: [ss_hdemo_sk#2], [hd_demo_sk#5], Inner, BuildRight (9) CometProject Input [4]: [ss_sold_time_sk#1, ss_hdemo_sk#2, ss_store_sk#3, hd_demo_sk#5] @@ -238,7 +238,7 @@ Arguments: [t_time_sk#8] (14) CometBroadcastHashJoin Left output [2]: [ss_sold_time_sk#1, ss_store_sk#3] Right output [1]: [t_time_sk#8] -Arguments: [ss_sold_time_sk#1], [t_time_sk#8], Inner +Arguments: [ss_sold_time_sk#1], [t_time_sk#8], Inner, BuildRight (15) CometProject Input [3]: [ss_sold_time_sk#1, ss_store_sk#3, t_time_sk#8] @@ -266,7 +266,7 @@ Arguments: [s_store_sk#11] (20) CometBroadcastHashJoin Left output [1]: [ss_store_sk#3] Right output [1]: [s_store_sk#11] -Arguments: [ss_store_sk#3], [s_store_sk#11], Inner +Arguments: [ss_store_sk#3], [s_store_sk#11], Inner, BuildRight (21) CometProject Input [2]: [ss_store_sk#3, s_store_sk#11] @@ -311,7 +311,7 @@ Output [1]: [hd_demo_sk#20] (30) CometBroadcastHashJoin Left output [3]: [ss_sold_time_sk#16, ss_hdemo_sk#17, ss_store_sk#18] Right output [1]: [hd_demo_sk#20] -Arguments: [ss_hdemo_sk#17], [hd_demo_sk#20], Inner +Arguments: [ss_hdemo_sk#17], [hd_demo_sk#20], Inner, BuildRight (31) CometProject Input [4]: [ss_sold_time_sk#16, ss_hdemo_sk#17, ss_store_sk#18, hd_demo_sk#20] @@ -339,7 +339,7 @@ Arguments: [t_time_sk#21] (36) CometBroadcastHashJoin Left output [2]: [ss_sold_time_sk#16, ss_store_sk#18] Right output [1]: [t_time_sk#21] -Arguments: [ss_sold_time_sk#16], [t_time_sk#21], Inner +Arguments: [ss_sold_time_sk#16], [t_time_sk#21], Inner, BuildRight (37) CometProject Input [3]: [ss_sold_time_sk#16, ss_store_sk#18, t_time_sk#21] @@ -351,7 +351,7 @@ Output [1]: [s_store_sk#24] (39) CometBroadcastHashJoin Left output [1]: [ss_store_sk#18] Right output [1]: [s_store_sk#24] -Arguments: [ss_store_sk#18], [s_store_sk#24], Inner +Arguments: [ss_store_sk#18], [s_store_sk#24], Inner, BuildRight (40) CometProject Input [2]: [ss_store_sk#18, s_store_sk#24] @@ -404,7 +404,7 @@ Output [1]: [hd_demo_sk#32] (51) CometBroadcastHashJoin Left output [3]: [ss_sold_time_sk#28, ss_hdemo_sk#29, ss_store_sk#30] Right output [1]: [hd_demo_sk#32] -Arguments: [ss_hdemo_sk#29], [hd_demo_sk#32], Inner +Arguments: [ss_hdemo_sk#29], [hd_demo_sk#32], Inner, BuildRight (52) CometProject Input [4]: [ss_sold_time_sk#28, ss_hdemo_sk#29, ss_store_sk#30, hd_demo_sk#32] @@ -432,7 +432,7 @@ Arguments: [t_time_sk#33] (57) CometBroadcastHashJoin Left output [2]: [ss_sold_time_sk#28, ss_store_sk#30] Right output [1]: [t_time_sk#33] -Arguments: [ss_sold_time_sk#28], [t_time_sk#33], Inner +Arguments: [ss_sold_time_sk#28], [t_time_sk#33], Inner, BuildRight (58) CometProject Input [3]: [ss_sold_time_sk#28, ss_store_sk#30, t_time_sk#33] @@ -444,7 +444,7 @@ Output [1]: [s_store_sk#36] (60) CometBroadcastHashJoin Left output [1]: [ss_store_sk#30] Right output [1]: [s_store_sk#36] -Arguments: [ss_store_sk#30], [s_store_sk#36], Inner +Arguments: [ss_store_sk#30], [s_store_sk#36], Inner, BuildRight (61) CometProject Input [2]: [ss_store_sk#30, s_store_sk#36] @@ -497,7 +497,7 @@ Output [1]: [hd_demo_sk#44] (72) CometBroadcastHashJoin Left output [3]: [ss_sold_time_sk#40, ss_hdemo_sk#41, ss_store_sk#42] Right output [1]: [hd_demo_sk#44] -Arguments: [ss_hdemo_sk#41], [hd_demo_sk#44], Inner +Arguments: [ss_hdemo_sk#41], [hd_demo_sk#44], Inner, BuildRight (73) CometProject Input [4]: [ss_sold_time_sk#40, ss_hdemo_sk#41, ss_store_sk#42, hd_demo_sk#44] @@ -525,7 +525,7 @@ Arguments: [t_time_sk#45] (78) CometBroadcastHashJoin Left output [2]: [ss_sold_time_sk#40, ss_store_sk#42] Right output [1]: [t_time_sk#45] -Arguments: [ss_sold_time_sk#40], [t_time_sk#45], Inner +Arguments: [ss_sold_time_sk#40], [t_time_sk#45], Inner, BuildRight (79) CometProject Input [3]: [ss_sold_time_sk#40, ss_store_sk#42, t_time_sk#45] @@ -537,7 +537,7 @@ Output [1]: [s_store_sk#48] (81) CometBroadcastHashJoin Left output [1]: [ss_store_sk#42] Right output [1]: [s_store_sk#48] -Arguments: [ss_store_sk#42], [s_store_sk#48], Inner +Arguments: [ss_store_sk#42], [s_store_sk#48], Inner, BuildRight (82) CometProject Input [2]: [ss_store_sk#42, s_store_sk#48] @@ -590,7 +590,7 @@ Output [1]: [hd_demo_sk#56] (93) CometBroadcastHashJoin Left output [3]: [ss_sold_time_sk#52, ss_hdemo_sk#53, ss_store_sk#54] Right output [1]: [hd_demo_sk#56] -Arguments: [ss_hdemo_sk#53], [hd_demo_sk#56], Inner +Arguments: [ss_hdemo_sk#53], [hd_demo_sk#56], Inner, BuildRight (94) CometProject Input [4]: [ss_sold_time_sk#52, ss_hdemo_sk#53, ss_store_sk#54, hd_demo_sk#56] @@ -618,7 +618,7 @@ Arguments: [t_time_sk#57] (99) CometBroadcastHashJoin Left output [2]: [ss_sold_time_sk#52, ss_store_sk#54] Right output [1]: [t_time_sk#57] -Arguments: [ss_sold_time_sk#52], [t_time_sk#57], Inner +Arguments: [ss_sold_time_sk#52], [t_time_sk#57], Inner, BuildRight (100) CometProject Input [3]: [ss_sold_time_sk#52, ss_store_sk#54, t_time_sk#57] @@ -630,7 +630,7 @@ Output [1]: [s_store_sk#60] (102) CometBroadcastHashJoin Left output [1]: [ss_store_sk#54] Right output [1]: [s_store_sk#60] -Arguments: [ss_store_sk#54], [s_store_sk#60], Inner +Arguments: [ss_store_sk#54], [s_store_sk#60], Inner, BuildRight (103) CometProject Input [2]: [ss_store_sk#54, s_store_sk#60] @@ -683,7 +683,7 @@ Output [1]: [hd_demo_sk#68] (114) CometBroadcastHashJoin Left output [3]: [ss_sold_time_sk#64, ss_hdemo_sk#65, ss_store_sk#66] Right output [1]: [hd_demo_sk#68] -Arguments: [ss_hdemo_sk#65], [hd_demo_sk#68], Inner +Arguments: [ss_hdemo_sk#65], [hd_demo_sk#68], Inner, BuildRight (115) CometProject Input [4]: [ss_sold_time_sk#64, ss_hdemo_sk#65, ss_store_sk#66, hd_demo_sk#68] @@ -711,7 +711,7 @@ Arguments: [t_time_sk#69] (120) CometBroadcastHashJoin Left output [2]: [ss_sold_time_sk#64, ss_store_sk#66] Right output [1]: [t_time_sk#69] -Arguments: [ss_sold_time_sk#64], [t_time_sk#69], Inner +Arguments: [ss_sold_time_sk#64], [t_time_sk#69], Inner, BuildRight (121) CometProject Input [3]: [ss_sold_time_sk#64, ss_store_sk#66, t_time_sk#69] @@ -723,7 +723,7 @@ Output [1]: [s_store_sk#72] (123) CometBroadcastHashJoin Left output [1]: [ss_store_sk#66] Right output [1]: [s_store_sk#72] -Arguments: [ss_store_sk#66], [s_store_sk#72], Inner +Arguments: [ss_store_sk#66], [s_store_sk#72], Inner, BuildRight (124) CometProject Input [2]: [ss_store_sk#66, s_store_sk#72] @@ -776,7 +776,7 @@ Output [1]: [hd_demo_sk#80] (135) CometBroadcastHashJoin Left output [3]: [ss_sold_time_sk#76, ss_hdemo_sk#77, ss_store_sk#78] Right output [1]: [hd_demo_sk#80] -Arguments: [ss_hdemo_sk#77], [hd_demo_sk#80], Inner +Arguments: [ss_hdemo_sk#77], [hd_demo_sk#80], Inner, BuildRight (136) CometProject Input [4]: [ss_sold_time_sk#76, ss_hdemo_sk#77, ss_store_sk#78, hd_demo_sk#80] @@ -804,7 +804,7 @@ Arguments: [t_time_sk#81] (141) CometBroadcastHashJoin Left output [2]: [ss_sold_time_sk#76, ss_store_sk#78] Right output [1]: [t_time_sk#81] -Arguments: [ss_sold_time_sk#76], [t_time_sk#81], Inner +Arguments: [ss_sold_time_sk#76], [t_time_sk#81], Inner, BuildRight (142) CometProject Input [3]: [ss_sold_time_sk#76, ss_store_sk#78, t_time_sk#81] @@ -816,7 +816,7 @@ Output [1]: [s_store_sk#84] (144) CometBroadcastHashJoin Left output [1]: [ss_store_sk#78] Right output [1]: [s_store_sk#84] -Arguments: [ss_store_sk#78], [s_store_sk#84], Inner +Arguments: [ss_store_sk#78], [s_store_sk#84], Inner, BuildRight (145) CometProject Input [2]: [ss_store_sk#78, s_store_sk#84] @@ -869,7 +869,7 @@ Output [1]: [hd_demo_sk#92] (156) CometBroadcastHashJoin Left output [3]: [ss_sold_time_sk#88, ss_hdemo_sk#89, ss_store_sk#90] Right output [1]: [hd_demo_sk#92] -Arguments: [ss_hdemo_sk#89], [hd_demo_sk#92], Inner +Arguments: [ss_hdemo_sk#89], [hd_demo_sk#92], Inner, BuildRight (157) CometProject Input [4]: [ss_sold_time_sk#88, ss_hdemo_sk#89, ss_store_sk#90, hd_demo_sk#92] @@ -897,7 +897,7 @@ Arguments: [t_time_sk#93] (162) CometBroadcastHashJoin Left output [2]: [ss_sold_time_sk#88, ss_store_sk#90] Right output [1]: [t_time_sk#93] -Arguments: [ss_sold_time_sk#88], [t_time_sk#93], Inner +Arguments: [ss_sold_time_sk#88], [t_time_sk#93], Inner, BuildRight (163) CometProject Input [3]: [ss_sold_time_sk#88, ss_store_sk#90, t_time_sk#93] @@ -909,7 +909,7 @@ Output [1]: [s_store_sk#96] (165) CometBroadcastHashJoin Left output [1]: [ss_store_sk#90] Right output [1]: [s_store_sk#96] -Arguments: [ss_store_sk#90], [s_store_sk#96], Inner +Arguments: [ss_store_sk#90], [s_store_sk#96], Inner, BuildRight (166) CometProject Input [2]: [ss_store_sk#90, s_store_sk#96] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q89/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q89/explain.txt index 49db8c716..49dab66f0 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q89/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q89/explain.txt @@ -59,7 +59,7 @@ Arguments: [ss_item_sk#5, ss_store_sk#6, ss_sales_price#7, ss_sold_date_sk#8] (6) CometBroadcastHashJoin Left output [4]: [i_item_sk#1, i_brand#2, i_class#3, i_category#4] Right output [4]: [ss_item_sk#5, ss_store_sk#6, ss_sales_price#7, ss_sold_date_sk#8] -Arguments: [i_item_sk#1], [ss_item_sk#5], Inner +Arguments: [i_item_sk#1], [ss_item_sk#5], Inner, BuildRight (7) CometProject Input [8]: [i_item_sk#1, i_brand#2, i_class#3, i_category#4, ss_item_sk#5, ss_store_sk#6, ss_sales_price#7, ss_sold_date_sk#8] @@ -87,7 +87,7 @@ Arguments: [d_date_sk#10, d_moy#12] (12) CometBroadcastHashJoin Left output [6]: [i_brand#2, i_class#3, i_category#4, ss_store_sk#6, ss_sales_price#7, ss_sold_date_sk#8] Right output [2]: [d_date_sk#10, d_moy#12] -Arguments: [ss_sold_date_sk#8], [d_date_sk#10], Inner +Arguments: [ss_sold_date_sk#8], [d_date_sk#10], Inner, BuildRight (13) CometProject Input [8]: [i_brand#2, i_class#3, i_category#4, ss_store_sk#6, ss_sales_price#7, ss_sold_date_sk#8, d_date_sk#10, d_moy#12] @@ -111,7 +111,7 @@ Arguments: [s_store_sk#13, s_store_name#14, s_company_name#15] (17) CometBroadcastHashJoin Left output [6]: [i_brand#2, i_class#3, i_category#4, ss_store_sk#6, ss_sales_price#7, d_moy#12] Right output [3]: [s_store_sk#13, s_store_name#14, s_company_name#15] -Arguments: [ss_store_sk#6], [s_store_sk#13], Inner +Arguments: [ss_store_sk#6], [s_store_sk#13], Inner, BuildRight (18) CometProject Input [9]: [i_brand#2, i_class#3, i_category#4, ss_store_sk#6, ss_sales_price#7, d_moy#12, s_store_sk#13, s_store_name#14, s_company_name#15] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q90/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q90/explain.txt index 0505401ea..dbea5e75d 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q90/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q90/explain.txt @@ -85,7 +85,7 @@ Arguments: [hd_demo_sk#5] (8) CometBroadcastHashJoin Left output [3]: [ws_sold_time_sk#1, ws_ship_hdemo_sk#2, ws_web_page_sk#3] Right output [1]: [hd_demo_sk#5] -Arguments: [ws_ship_hdemo_sk#2], [hd_demo_sk#5], Inner +Arguments: [ws_ship_hdemo_sk#2], [hd_demo_sk#5], Inner, BuildRight (9) CometProject Input [4]: [ws_sold_time_sk#1, ws_ship_hdemo_sk#2, ws_web_page_sk#3, hd_demo_sk#5] @@ -113,7 +113,7 @@ Arguments: [t_time_sk#7] (14) CometBroadcastHashJoin Left output [2]: [ws_sold_time_sk#1, ws_web_page_sk#3] Right output [1]: [t_time_sk#7] -Arguments: [ws_sold_time_sk#1], [t_time_sk#7], Inner +Arguments: [ws_sold_time_sk#1], [t_time_sk#7], Inner, BuildRight (15) CometProject Input [3]: [ws_sold_time_sk#1, ws_web_page_sk#3, t_time_sk#7] @@ -141,7 +141,7 @@ Arguments: [wp_web_page_sk#9] (20) CometBroadcastHashJoin Left output [1]: [ws_web_page_sk#3] Right output [1]: [wp_web_page_sk#9] -Arguments: [ws_web_page_sk#3], [wp_web_page_sk#9], Inner +Arguments: [ws_web_page_sk#3], [wp_web_page_sk#9], Inner, BuildRight (21) CometProject Input [2]: [ws_web_page_sk#3, wp_web_page_sk#9] @@ -186,7 +186,7 @@ Output [1]: [hd_demo_sk#18] (30) CometBroadcastHashJoin Left output [3]: [ws_sold_time_sk#14, ws_ship_hdemo_sk#15, ws_web_page_sk#16] Right output [1]: [hd_demo_sk#18] -Arguments: [ws_ship_hdemo_sk#15], [hd_demo_sk#18], Inner +Arguments: [ws_ship_hdemo_sk#15], [hd_demo_sk#18], Inner, BuildRight (31) CometProject Input [4]: [ws_sold_time_sk#14, ws_ship_hdemo_sk#15, ws_web_page_sk#16, hd_demo_sk#18] @@ -214,7 +214,7 @@ Arguments: [t_time_sk#19] (36) CometBroadcastHashJoin Left output [2]: [ws_sold_time_sk#14, ws_web_page_sk#16] Right output [1]: [t_time_sk#19] -Arguments: [ws_sold_time_sk#14], [t_time_sk#19], Inner +Arguments: [ws_sold_time_sk#14], [t_time_sk#19], Inner, BuildRight (37) CometProject Input [3]: [ws_sold_time_sk#14, ws_web_page_sk#16, t_time_sk#19] @@ -226,7 +226,7 @@ Output [1]: [wp_web_page_sk#21] (39) CometBroadcastHashJoin Left output [1]: [ws_web_page_sk#16] Right output [1]: [wp_web_page_sk#21] -Arguments: [ws_web_page_sk#16], [wp_web_page_sk#21], Inner +Arguments: [ws_web_page_sk#16], [wp_web_page_sk#21], Inner, BuildRight (40) CometProject Input [2]: [ws_web_page_sk#16, wp_web_page_sk#21] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q91/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q91/explain.txt index e0f9ef2e4..cd2e8cfb0 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q91/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q91/explain.txt @@ -72,7 +72,7 @@ Arguments: [cr_returning_customer_sk#5, cr_call_center_sk#6, cr_net_loss#7, cr_r (6) CometBroadcastHashJoin Left output [4]: [cc_call_center_sk#1, cc_call_center_id#2, cc_name#3, cc_manager#4] Right output [4]: [cr_returning_customer_sk#5, cr_call_center_sk#6, cr_net_loss#7, cr_returned_date_sk#8] -Arguments: [cc_call_center_sk#1], [cr_call_center_sk#6], Inner +Arguments: [cc_call_center_sk#1], [cr_call_center_sk#6], Inner, BuildRight (7) CometProject Input [8]: [cc_call_center_sk#1, cc_call_center_id#2, cc_name#3, cc_manager#4, cr_returning_customer_sk#5, cr_call_center_sk#6, cr_net_loss#7, cr_returned_date_sk#8] @@ -100,7 +100,7 @@ Arguments: [d_date_sk#10] (12) CometBroadcastHashJoin Left output [6]: [cc_call_center_id#2, cc_name#3, cc_manager#4, cr_returning_customer_sk#5, cr_net_loss#7, cr_returned_date_sk#8] Right output [1]: [d_date_sk#10] -Arguments: [cr_returned_date_sk#8], [d_date_sk#10], Inner +Arguments: [cr_returned_date_sk#8], [d_date_sk#10], Inner, BuildRight (13) CometProject Input [7]: [cc_call_center_id#2, cc_name#3, cc_manager#4, cr_returning_customer_sk#5, cr_net_loss#7, cr_returned_date_sk#8, d_date_sk#10] @@ -124,7 +124,7 @@ Arguments: [c_customer_sk#13, c_current_cdemo_sk#14, c_current_hdemo_sk#15, c_cu (17) CometBroadcastHashJoin Left output [5]: [cc_call_center_id#2, cc_name#3, cc_manager#4, cr_returning_customer_sk#5, cr_net_loss#7] Right output [4]: [c_customer_sk#13, c_current_cdemo_sk#14, c_current_hdemo_sk#15, c_current_addr_sk#16] -Arguments: [cr_returning_customer_sk#5], [c_customer_sk#13], Inner +Arguments: [cr_returning_customer_sk#5], [c_customer_sk#13], Inner, BuildRight (18) CometProject Input [9]: [cc_call_center_id#2, cc_name#3, cc_manager#4, cr_returning_customer_sk#5, cr_net_loss#7, c_customer_sk#13, c_current_cdemo_sk#14, c_current_hdemo_sk#15, c_current_addr_sk#16] @@ -152,7 +152,7 @@ Arguments: [ca_address_sk#17] (23) CometBroadcastHashJoin Left output [7]: [cc_call_center_id#2, cc_name#3, cc_manager#4, cr_net_loss#7, c_current_cdemo_sk#14, c_current_hdemo_sk#15, c_current_addr_sk#16] Right output [1]: [ca_address_sk#17] -Arguments: [c_current_addr_sk#16], [ca_address_sk#17], Inner +Arguments: [c_current_addr_sk#16], [ca_address_sk#17], Inner, BuildRight (24) CometProject Input [8]: [cc_call_center_id#2, cc_name#3, cc_manager#4, cr_net_loss#7, c_current_cdemo_sk#14, c_current_hdemo_sk#15, c_current_addr_sk#16, ca_address_sk#17] @@ -176,7 +176,7 @@ Arguments: [cd_demo_sk#19, cd_marital_status#20, cd_education_status#21] (28) CometBroadcastHashJoin Left output [6]: [cc_call_center_id#2, cc_name#3, cc_manager#4, cr_net_loss#7, c_current_cdemo_sk#14, c_current_hdemo_sk#15] Right output [3]: [cd_demo_sk#19, cd_marital_status#20, cd_education_status#21] -Arguments: [c_current_cdemo_sk#14], [cd_demo_sk#19], Inner +Arguments: [c_current_cdemo_sk#14], [cd_demo_sk#19], Inner, BuildRight (29) CometProject Input [9]: [cc_call_center_id#2, cc_name#3, cc_manager#4, cr_net_loss#7, c_current_cdemo_sk#14, c_current_hdemo_sk#15, cd_demo_sk#19, cd_marital_status#20, cd_education_status#21] @@ -204,7 +204,7 @@ Arguments: [hd_demo_sk#22] (34) CometBroadcastHashJoin Left output [7]: [cc_call_center_id#2, cc_name#3, cc_manager#4, cr_net_loss#7, c_current_hdemo_sk#15, cd_marital_status#20, cd_education_status#21] Right output [1]: [hd_demo_sk#22] -Arguments: [c_current_hdemo_sk#15], [hd_demo_sk#22], Inner +Arguments: [c_current_hdemo_sk#15], [hd_demo_sk#22], Inner, BuildRight (35) CometProject Input [8]: [cc_call_center_id#2, cc_name#3, cc_manager#4, cr_net_loss#7, c_current_hdemo_sk#15, cd_marital_status#20, cd_education_status#21, hd_demo_sk#22] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q92/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q92/explain.txt index d72bbc482..074fe2b99 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q92/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q92/explain.txt @@ -66,7 +66,7 @@ Arguments: [i_item_sk#5] (7) CometBroadcastHashJoin Left output [3]: [ws_item_sk#1, ws_ext_discount_amt#2, ws_sold_date_sk#3] Right output [1]: [i_item_sk#5] -Arguments: [ws_item_sk#1], [i_item_sk#5], Inner +Arguments: [ws_item_sk#1], [i_item_sk#5], Inner, BuildRight (8) CometProject Input [4]: [ws_item_sk#1, ws_ext_discount_amt#2, ws_sold_date_sk#3, i_item_sk#5] @@ -109,7 +109,7 @@ Arguments: [d_date_sk#11] (16) CometBroadcastHashJoin Left output [3]: [ws_item_sk#7, ws_ext_discount_amt#8, ws_sold_date_sk#9] Right output [1]: [d_date_sk#11] -Arguments: [ws_sold_date_sk#9], [d_date_sk#11], Inner +Arguments: [ws_sold_date_sk#9], [d_date_sk#11], Inner, BuildRight (17) CometProject Input [4]: [ws_item_sk#7, ws_ext_discount_amt#8, ws_sold_date_sk#9, d_date_sk#11] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q96/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q96/explain.txt index 462e5caa1..4bc24750f 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q96/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q96/explain.txt @@ -63,7 +63,7 @@ Arguments: [hd_demo_sk#5] (8) CometBroadcastHashJoin Left output [3]: [ss_sold_time_sk#1, ss_hdemo_sk#2, ss_store_sk#3] Right output [1]: [hd_demo_sk#5] -Arguments: [ss_hdemo_sk#2], [hd_demo_sk#5], Inner +Arguments: [ss_hdemo_sk#2], [hd_demo_sk#5], Inner, BuildRight (9) CometProject Input [4]: [ss_sold_time_sk#1, ss_hdemo_sk#2, ss_store_sk#3, hd_demo_sk#5] @@ -91,7 +91,7 @@ Arguments: [t_time_sk#7] (14) CometBroadcastHashJoin Left output [2]: [ss_sold_time_sk#1, ss_store_sk#3] Right output [1]: [t_time_sk#7] -Arguments: [ss_sold_time_sk#1], [t_time_sk#7], Inner +Arguments: [ss_sold_time_sk#1], [t_time_sk#7], Inner, BuildRight (15) CometProject Input [3]: [ss_sold_time_sk#1, ss_store_sk#3, t_time_sk#7] @@ -119,7 +119,7 @@ Arguments: [s_store_sk#10] (20) CometBroadcastHashJoin Left output [1]: [ss_store_sk#3] Right output [1]: [s_store_sk#10] -Arguments: [ss_store_sk#3], [s_store_sk#10], Inner +Arguments: [ss_store_sk#3], [s_store_sk#10], Inner, BuildRight (21) CometProject Input [2]: [ss_store_sk#3, s_store_sk#10] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q97/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q97/explain.txt index aa1d42ddb..7508405a8 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q97/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q97/explain.txt @@ -56,7 +56,7 @@ Arguments: [d_date_sk#5] (6) CometBroadcastHashJoin Left output [3]: [ss_item_sk#1, ss_customer_sk#2, ss_sold_date_sk#3] Right output [1]: [d_date_sk#5] -Arguments: [ss_sold_date_sk#3], [d_date_sk#5], Inner +Arguments: [ss_sold_date_sk#3], [d_date_sk#5], Inner, BuildRight (7) CometProject Input [4]: [ss_item_sk#1, ss_customer_sk#2, ss_sold_date_sk#3, d_date_sk#5] @@ -98,7 +98,7 @@ Output [1]: [d_date_sk#13] (15) CometBroadcastHashJoin Left output [3]: [cs_bill_customer_sk#9, cs_item_sk#10, cs_sold_date_sk#11] Right output [1]: [d_date_sk#13] -Arguments: [cs_sold_date_sk#11], [d_date_sk#13], Inner +Arguments: [cs_sold_date_sk#11], [d_date_sk#13], Inner, BuildRight (16) CometProject Input [4]: [cs_bill_customer_sk#9, cs_item_sk#10, cs_sold_date_sk#11, d_date_sk#13] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q98/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q98/explain.txt index 73b708265..ab7a40acd 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q98/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q98/explain.txt @@ -55,7 +55,7 @@ Arguments: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class# (6) CometBroadcastHashJoin Left output [3]: [ss_item_sk#1, ss_ext_sales_price#2, ss_sold_date_sk#3] Right output [6]: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] -Arguments: [ss_item_sk#1], [i_item_sk#5], Inner +Arguments: [ss_item_sk#1], [i_item_sk#5], Inner, BuildRight (7) CometProject Input [9]: [ss_item_sk#1, ss_ext_sales_price#2, ss_sold_date_sk#3, i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] @@ -83,7 +83,7 @@ Arguments: [d_date_sk#11] (12) CometBroadcastHashJoin Left output [7]: [ss_ext_sales_price#2, ss_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] Right output [1]: [d_date_sk#11] -Arguments: [ss_sold_date_sk#3], [d_date_sk#11], Inner +Arguments: [ss_sold_date_sk#3], [d_date_sk#11], Inner, BuildRight (13) CometProject Input [8]: [ss_ext_sales_price#2, ss_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10, d_date_sk#11] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q99/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q99/explain.txt index 41383f701..131687112 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q99/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q99/explain.txt @@ -58,7 +58,7 @@ Arguments: [w_warehouse_sk#6, w_warehouse_name#7] (6) CometBroadcastHashJoin Left output [5]: [cs_ship_date_sk#1, cs_call_center_sk#2, cs_ship_mode_sk#3, cs_warehouse_sk#4, cs_sold_date_sk#5] Right output [2]: [w_warehouse_sk#6, w_warehouse_name#7] -Arguments: [cs_warehouse_sk#4], [w_warehouse_sk#6], Inner +Arguments: [cs_warehouse_sk#4], [w_warehouse_sk#6], Inner, BuildRight (7) CometProject Input [7]: [cs_ship_date_sk#1, cs_call_center_sk#2, cs_ship_mode_sk#3, cs_warehouse_sk#4, cs_sold_date_sk#5, w_warehouse_sk#6, w_warehouse_name#7] @@ -82,7 +82,7 @@ Arguments: [sm_ship_mode_sk#8, sm_type#9] (11) CometBroadcastHashJoin Left output [5]: [cs_ship_date_sk#1, cs_call_center_sk#2, cs_ship_mode_sk#3, cs_sold_date_sk#5, w_warehouse_name#7] Right output [2]: [sm_ship_mode_sk#8, sm_type#9] -Arguments: [cs_ship_mode_sk#3], [sm_ship_mode_sk#8], Inner +Arguments: [cs_ship_mode_sk#3], [sm_ship_mode_sk#8], Inner, BuildRight (12) CometProject Input [7]: [cs_ship_date_sk#1, cs_call_center_sk#2, cs_ship_mode_sk#3, cs_sold_date_sk#5, w_warehouse_name#7, sm_ship_mode_sk#8, sm_type#9] @@ -106,7 +106,7 @@ Arguments: [cc_call_center_sk#10, cc_name#11] (16) CometBroadcastHashJoin Left output [5]: [cs_ship_date_sk#1, cs_call_center_sk#2, cs_sold_date_sk#5, w_warehouse_name#7, sm_type#9] Right output [2]: [cc_call_center_sk#10, cc_name#11] -Arguments: [cs_call_center_sk#2], [cc_call_center_sk#10], Inner +Arguments: [cs_call_center_sk#2], [cc_call_center_sk#10], Inner, BuildRight (17) CometProject Input [7]: [cs_ship_date_sk#1, cs_call_center_sk#2, cs_sold_date_sk#5, w_warehouse_name#7, sm_type#9, cc_call_center_sk#10, cc_name#11] @@ -134,7 +134,7 @@ Arguments: [d_date_sk#12] (22) CometBroadcastHashJoin Left output [5]: [cs_ship_date_sk#1, cs_sold_date_sk#5, w_warehouse_name#7, sm_type#9, cc_name#11] Right output [1]: [d_date_sk#12] -Arguments: [cs_ship_date_sk#1], [d_date_sk#12], Inner +Arguments: [cs_ship_date_sk#1], [d_date_sk#12], Inner, BuildRight (23) CometProject Input [6]: [cs_ship_date_sk#1, cs_sold_date_sk#5, w_warehouse_name#7, sm_type#9, cc_name#11, d_date_sk#12] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q10a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q10a/explain.txt index a7d6a4a60..43d59eb84 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q10a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q10a/explain.txt @@ -80,7 +80,7 @@ Arguments: [d_date_sk#7] (8) CometBroadcastHashJoin Left output [2]: [ss_customer_sk#4, ss_sold_date_sk#5] Right output [1]: [d_date_sk#7] -Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner, BuildRight (9) CometProject Input [3]: [ss_customer_sk#4, ss_sold_date_sk#5, d_date_sk#7] @@ -93,7 +93,7 @@ Arguments: [ss_customer_sk#4] (11) CometBroadcastHashJoin Left output [3]: [c_customer_sk#1, c_current_cdemo_sk#2, c_current_addr_sk#3] Right output [1]: [ss_customer_sk#4] -Arguments: [c_customer_sk#1], [ss_customer_sk#4], LeftSemi +Arguments: [c_customer_sk#1], [ss_customer_sk#4], LeftSemi, BuildRight (12) Scan parquet spark_catalog.default.web_sales Output [2]: [ws_bill_customer_sk#10, ws_sold_date_sk#11] @@ -108,7 +108,7 @@ Output [1]: [d_date_sk#13] (14) CometBroadcastHashJoin Left output [2]: [ws_bill_customer_sk#10, ws_sold_date_sk#11] Right output [1]: [d_date_sk#13] -Arguments: [ws_sold_date_sk#11], [d_date_sk#13], Inner +Arguments: [ws_sold_date_sk#11], [d_date_sk#13], Inner, BuildRight (15) CometProject Input [3]: [ws_bill_customer_sk#10, ws_sold_date_sk#11, d_date_sk#13] @@ -127,7 +127,7 @@ Output [1]: [d_date_sk#18] (18) CometBroadcastHashJoin Left output [2]: [cs_ship_customer_sk#15, cs_sold_date_sk#16] Right output [1]: [d_date_sk#18] -Arguments: [cs_sold_date_sk#16], [d_date_sk#18], Inner +Arguments: [cs_sold_date_sk#16], [d_date_sk#18], Inner, BuildRight (19) CometProject Input [3]: [cs_ship_customer_sk#15, cs_sold_date_sk#16, d_date_sk#18] @@ -144,7 +144,7 @@ Arguments: [customer_sk#14] (22) CometBroadcastHashJoin Left output [3]: [c_customer_sk#1, c_current_cdemo_sk#2, c_current_addr_sk#3] Right output [1]: [customer_sk#14] -Arguments: [c_customer_sk#1], [customer_sk#14], LeftSemi +Arguments: [c_customer_sk#1], [customer_sk#14], LeftSemi, BuildRight (23) CometProject Input [3]: [c_customer_sk#1, c_current_cdemo_sk#2, c_current_addr_sk#3] @@ -172,7 +172,7 @@ Arguments: [ca_address_sk#20] (28) CometBroadcastHashJoin Left output [2]: [c_current_cdemo_sk#2, c_current_addr_sk#3] Right output [1]: [ca_address_sk#20] -Arguments: [c_current_addr_sk#3], [ca_address_sk#20], Inner +Arguments: [c_current_addr_sk#3], [ca_address_sk#20], Inner, BuildRight (29) CometProject Input [3]: [c_current_cdemo_sk#2, c_current_addr_sk#3, ca_address_sk#20] @@ -196,7 +196,7 @@ Arguments: [cd_demo_sk#22, cd_gender#23, cd_marital_status#24, cd_education_stat (33) CometBroadcastHashJoin Left output [1]: [c_current_cdemo_sk#2] Right output [9]: [cd_demo_sk#22, cd_gender#23, cd_marital_status#24, cd_education_status#25, cd_purchase_estimate#26, cd_credit_rating#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30] -Arguments: [c_current_cdemo_sk#2], [cd_demo_sk#22], Inner +Arguments: [c_current_cdemo_sk#2], [cd_demo_sk#22], Inner, BuildRight (34) CometProject Input [10]: [c_current_cdemo_sk#2, cd_demo_sk#22, cd_gender#23, cd_marital_status#24, cd_education_status#25, cd_purchase_estimate#26, cd_credit_rating#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q11/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q11/explain.txt index 66c307116..f2b239def 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q11/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q11/explain.txt @@ -102,7 +102,7 @@ Arguments: [ss_customer_sk#9, ss_ext_discount_amt#10, ss_ext_list_price#11, ss_s (6) CometBroadcastHashJoin Left output [8]: [c_customer_sk#1, c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8] Right output [4]: [ss_customer_sk#9, ss_ext_discount_amt#10, ss_ext_list_price#11, ss_sold_date_sk#12] -Arguments: [c_customer_sk#1], [ss_customer_sk#9], Inner +Arguments: [c_customer_sk#1], [ss_customer_sk#9], Inner, BuildRight (7) CometProject Input [12]: [c_customer_sk#1, c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8, ss_customer_sk#9, ss_ext_discount_amt#10, ss_ext_list_price#11, ss_sold_date_sk#12] @@ -126,7 +126,7 @@ Arguments: [d_date_sk#14, d_year#15] (11) CometBroadcastHashJoin Left output [10]: [c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8, ss_ext_discount_amt#10, ss_ext_list_price#11, ss_sold_date_sk#12] Right output [2]: [d_date_sk#14, d_year#15] -Arguments: [ss_sold_date_sk#12], [d_date_sk#14], Inner +Arguments: [ss_sold_date_sk#12], [d_date_sk#14], Inner, BuildRight (12) CometProject Input [12]: [c_customer_id#2, c_first_name#3, c_last_name#4, c_preferred_cust_flag#5, c_birth_country#6, c_login#7, c_email_address#8, ss_ext_discount_amt#10, ss_ext_list_price#11, ss_sold_date_sk#12, d_date_sk#14, d_year#15] @@ -185,7 +185,7 @@ Arguments: [ss_customer_sk#28, ss_ext_discount_amt#29, ss_ext_list_price#30, ss_ (23) CometBroadcastHashJoin Left output [8]: [c_customer_sk#20, c_customer_id#21, c_first_name#22, c_last_name#23, c_preferred_cust_flag#24, c_birth_country#25, c_login#26, c_email_address#27] Right output [4]: [ss_customer_sk#28, ss_ext_discount_amt#29, ss_ext_list_price#30, ss_sold_date_sk#31] -Arguments: [c_customer_sk#20], [ss_customer_sk#28], Inner +Arguments: [c_customer_sk#20], [ss_customer_sk#28], Inner, BuildRight (24) CometProject Input [12]: [c_customer_sk#20, c_customer_id#21, c_first_name#22, c_last_name#23, c_preferred_cust_flag#24, c_birth_country#25, c_login#26, c_email_address#27, ss_customer_sk#28, ss_ext_discount_amt#29, ss_ext_list_price#30, ss_sold_date_sk#31] @@ -209,7 +209,7 @@ Arguments: [d_date_sk#33, d_year#34] (28) CometBroadcastHashJoin Left output [10]: [c_customer_id#21, c_first_name#22, c_last_name#23, c_preferred_cust_flag#24, c_birth_country#25, c_login#26, c_email_address#27, ss_ext_discount_amt#29, ss_ext_list_price#30, ss_sold_date_sk#31] Right output [2]: [d_date_sk#33, d_year#34] -Arguments: [ss_sold_date_sk#31], [d_date_sk#33], Inner +Arguments: [ss_sold_date_sk#31], [d_date_sk#33], Inner, BuildRight (29) CometProject Input [12]: [c_customer_id#21, c_first_name#22, c_last_name#23, c_preferred_cust_flag#24, c_birth_country#25, c_login#26, c_email_address#27, ss_ext_discount_amt#29, ss_ext_list_price#30, ss_sold_date_sk#31, d_date_sk#33, d_year#34] @@ -274,7 +274,7 @@ Arguments: [ws_bill_customer_sk#49, ws_ext_discount_amt#50, ws_ext_list_price#51 (41) CometBroadcastHashJoin Left output [8]: [c_customer_sk#41, c_customer_id#42, c_first_name#43, c_last_name#44, c_preferred_cust_flag#45, c_birth_country#46, c_login#47, c_email_address#48] Right output [4]: [ws_bill_customer_sk#49, ws_ext_discount_amt#50, ws_ext_list_price#51, ws_sold_date_sk#52] -Arguments: [c_customer_sk#41], [ws_bill_customer_sk#49], Inner +Arguments: [c_customer_sk#41], [ws_bill_customer_sk#49], Inner, BuildRight (42) CometProject Input [12]: [c_customer_sk#41, c_customer_id#42, c_first_name#43, c_last_name#44, c_preferred_cust_flag#45, c_birth_country#46, c_login#47, c_email_address#48, ws_bill_customer_sk#49, ws_ext_discount_amt#50, ws_ext_list_price#51, ws_sold_date_sk#52] @@ -286,7 +286,7 @@ Output [2]: [d_date_sk#54, d_year#55] (44) CometBroadcastHashJoin Left output [10]: [c_customer_id#42, c_first_name#43, c_last_name#44, c_preferred_cust_flag#45, c_birth_country#46, c_login#47, c_email_address#48, ws_ext_discount_amt#50, ws_ext_list_price#51, ws_sold_date_sk#52] Right output [2]: [d_date_sk#54, d_year#55] -Arguments: [ws_sold_date_sk#52], [d_date_sk#54], Inner +Arguments: [ws_sold_date_sk#52], [d_date_sk#54], Inner, BuildRight (45) CometProject Input [12]: [c_customer_id#42, c_first_name#43, c_last_name#44, c_preferred_cust_flag#45, c_birth_country#46, c_login#47, c_email_address#48, ws_ext_discount_amt#50, ws_ext_list_price#51, ws_sold_date_sk#52, d_date_sk#54, d_year#55] @@ -359,7 +359,7 @@ Arguments: [ws_bill_customer_sk#68, ws_ext_discount_amt#69, ws_ext_list_price#70 (59) CometBroadcastHashJoin Left output [8]: [c_customer_sk#60, c_customer_id#61, c_first_name#62, c_last_name#63, c_preferred_cust_flag#64, c_birth_country#65, c_login#66, c_email_address#67] Right output [4]: [ws_bill_customer_sk#68, ws_ext_discount_amt#69, ws_ext_list_price#70, ws_sold_date_sk#71] -Arguments: [c_customer_sk#60], [ws_bill_customer_sk#68], Inner +Arguments: [c_customer_sk#60], [ws_bill_customer_sk#68], Inner, BuildRight (60) CometProject Input [12]: [c_customer_sk#60, c_customer_id#61, c_first_name#62, c_last_name#63, c_preferred_cust_flag#64, c_birth_country#65, c_login#66, c_email_address#67, ws_bill_customer_sk#68, ws_ext_discount_amt#69, ws_ext_list_price#70, ws_sold_date_sk#71] @@ -371,7 +371,7 @@ Output [2]: [d_date_sk#73, d_year#74] (62) CometBroadcastHashJoin Left output [10]: [c_customer_id#61, c_first_name#62, c_last_name#63, c_preferred_cust_flag#64, c_birth_country#65, c_login#66, c_email_address#67, ws_ext_discount_amt#69, ws_ext_list_price#70, ws_sold_date_sk#71] Right output [2]: [d_date_sk#73, d_year#74] -Arguments: [ws_sold_date_sk#71], [d_date_sk#73], Inner +Arguments: [ws_sold_date_sk#71], [d_date_sk#73], Inner, BuildRight (63) CometProject Input [12]: [c_customer_id#61, c_first_name#62, c_last_name#63, c_preferred_cust_flag#64, c_birth_country#65, c_login#66, c_email_address#67, ws_ext_discount_amt#69, ws_ext_list_price#70, ws_sold_date_sk#71, d_date_sk#73, d_year#74] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q12/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q12/explain.txt index e5b0dba58..04b5d41b5 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q12/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q12/explain.txt @@ -53,7 +53,7 @@ Arguments: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class# (6) CometBroadcastHashJoin Left output [3]: [ws_item_sk#1, ws_ext_sales_price#2, ws_sold_date_sk#3] Right output [6]: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] -Arguments: [ws_item_sk#1], [i_item_sk#5], Inner +Arguments: [ws_item_sk#1], [i_item_sk#5], Inner, BuildRight (7) CometProject Input [9]: [ws_item_sk#1, ws_ext_sales_price#2, ws_sold_date_sk#3, i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] @@ -81,7 +81,7 @@ Arguments: [d_date_sk#11] (12) CometBroadcastHashJoin Left output [7]: [ws_ext_sales_price#2, ws_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] Right output [1]: [d_date_sk#11] -Arguments: [ws_sold_date_sk#3], [d_date_sk#11], Inner +Arguments: [ws_sold_date_sk#3], [d_date_sk#11], Inner, BuildRight (13) CometProject Input [8]: [ws_ext_sales_price#2, ws_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10, d_date_sk#11] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q14/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q14/explain.txt index 8df183576..cded32ec2 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q14/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q14/explain.txt @@ -167,7 +167,7 @@ Arguments: [i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] (16) CometBroadcastHashJoin Left output [2]: [cs_item_sk#17, cs_sold_date_sk#18] Right output [4]: [i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] -Arguments: [cs_item_sk#17], [i_item_sk#20], Inner +Arguments: [cs_item_sk#17], [i_item_sk#20], Inner, BuildRight (17) CometProject Input [6]: [cs_item_sk#17, cs_sold_date_sk#18, i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] @@ -195,7 +195,7 @@ Arguments: [d_date_sk#24] (22) CometBroadcastHashJoin Left output [4]: [cs_sold_date_sk#18, i_brand_id#21, i_class_id#22, i_category_id#23] Right output [1]: [d_date_sk#24] -Arguments: [cs_sold_date_sk#18], [d_date_sk#24], Inner +Arguments: [cs_sold_date_sk#18], [d_date_sk#24], Inner, BuildRight (23) CometProject Input [5]: [cs_sold_date_sk#18, i_brand_id#21, i_class_id#22, i_category_id#23, d_date_sk#24] @@ -208,7 +208,7 @@ Arguments: [i_brand_id#21, i_class_id#22, i_category_id#23] (25) CometBroadcastHashJoin Left output [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] Right output [3]: [i_brand_id#21, i_class_id#22, i_category_id#23] -Arguments: [coalesce(i_brand_id#14, 0), isnull(i_brand_id#14), coalesce(i_class_id#15, 0), isnull(i_class_id#15), coalesce(i_category_id#16, 0), isnull(i_category_id#16)], [coalesce(i_brand_id#21, 0), isnull(i_brand_id#21), coalesce(i_class_id#22, 0), isnull(i_class_id#22), coalesce(i_category_id#23, 0), isnull(i_category_id#23)], LeftSemi +Arguments: [coalesce(i_brand_id#14, 0), isnull(i_brand_id#14), coalesce(i_class_id#15, 0), isnull(i_class_id#15), coalesce(i_category_id#16, 0), isnull(i_category_id#16)], [coalesce(i_brand_id#21, 0), isnull(i_brand_id#21), coalesce(i_class_id#22, 0), isnull(i_class_id#22), coalesce(i_category_id#23, 0), isnull(i_category_id#23)], LeftSemi, BuildRight (26) CometBroadcastExchange Input [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] @@ -217,7 +217,7 @@ Arguments: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] (27) CometBroadcastHashJoin Left output [2]: [ss_item_sk#10, ss_sold_date_sk#11] Right output [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] -Arguments: [ss_item_sk#10], [i_item_sk#13], Inner +Arguments: [ss_item_sk#10], [i_item_sk#13], Inner, BuildRight (28) CometProject Input [6]: [ss_item_sk#10, ss_sold_date_sk#11, i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] @@ -229,7 +229,7 @@ Output [1]: [d_date_sk#26] (30) CometBroadcastHashJoin Left output [4]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16] Right output [1]: [d_date_sk#26] -Arguments: [ss_sold_date_sk#11], [d_date_sk#26], Inner +Arguments: [ss_sold_date_sk#11], [d_date_sk#26], Inner, BuildRight (31) CometProject Input [5]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16, d_date_sk#26] @@ -272,7 +272,7 @@ Output [4]: [i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] (39) CometBroadcastHashJoin Left output [2]: [ws_item_sk#30, ws_sold_date_sk#31] Right output [4]: [i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] -Arguments: [ws_item_sk#30], [i_item_sk#33], Inner +Arguments: [ws_item_sk#30], [i_item_sk#33], Inner, BuildRight (40) CometProject Input [6]: [ws_item_sk#30, ws_sold_date_sk#31, i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] @@ -284,7 +284,7 @@ Output [1]: [d_date_sk#37] (42) CometBroadcastHashJoin Left output [4]: [ws_sold_date_sk#31, i_brand_id#34, i_class_id#35, i_category_id#36] Right output [1]: [d_date_sk#37] -Arguments: [ws_sold_date_sk#31], [d_date_sk#37], Inner +Arguments: [ws_sold_date_sk#31], [d_date_sk#37], Inner, BuildRight (43) CometProject Input [5]: [ws_sold_date_sk#31, i_brand_id#34, i_class_id#35, i_category_id#36, d_date_sk#37] @@ -520,7 +520,7 @@ Output [1]: [d_date_sk#82] (87) CometBroadcastHashJoin Left output [3]: [ss_quantity#78, ss_list_price#79, ss_sold_date_sk#80] Right output [1]: [d_date_sk#82] -Arguments: [ss_sold_date_sk#80], [d_date_sk#82], Inner +Arguments: [ss_sold_date_sk#80], [d_date_sk#82], Inner, BuildRight (88) CometProject Input [4]: [ss_quantity#78, ss_list_price#79, ss_sold_date_sk#80, d_date_sk#82] @@ -539,7 +539,7 @@ Output [1]: [d_date_sk#89] (91) CometBroadcastHashJoin Left output [3]: [cs_quantity#85, cs_list_price#86, cs_sold_date_sk#87] Right output [1]: [d_date_sk#89] -Arguments: [cs_sold_date_sk#87], [d_date_sk#89], Inner +Arguments: [cs_sold_date_sk#87], [d_date_sk#89], Inner, BuildRight (92) CometProject Input [4]: [cs_quantity#85, cs_list_price#86, cs_sold_date_sk#87, d_date_sk#89] @@ -558,7 +558,7 @@ Output [1]: [d_date_sk#96] (95) CometBroadcastHashJoin Left output [3]: [ws_quantity#92, ws_list_price#93, ws_sold_date_sk#94] Right output [1]: [d_date_sk#96] -Arguments: [ws_sold_date_sk#94], [d_date_sk#96], Inner +Arguments: [ws_sold_date_sk#94], [d_date_sk#96], Inner, BuildRight (96) CometProject Input [4]: [ws_quantity#92, ws_list_price#93, ws_sold_date_sk#94, d_date_sk#96] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q14a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q14a/explain.txt index 3b2aa8cbf..611980392 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q14a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q14a/explain.txt @@ -208,7 +208,7 @@ Arguments: [i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] (16) CometBroadcastHashJoin Left output [2]: [cs_item_sk#17, cs_sold_date_sk#18] Right output [4]: [i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] -Arguments: [cs_item_sk#17], [i_item_sk#20], Inner +Arguments: [cs_item_sk#17], [i_item_sk#20], Inner, BuildRight (17) CometProject Input [6]: [cs_item_sk#17, cs_sold_date_sk#18, i_item_sk#20, i_brand_id#21, i_class_id#22, i_category_id#23] @@ -236,7 +236,7 @@ Arguments: [d_date_sk#24] (22) CometBroadcastHashJoin Left output [4]: [cs_sold_date_sk#18, i_brand_id#21, i_class_id#22, i_category_id#23] Right output [1]: [d_date_sk#24] -Arguments: [cs_sold_date_sk#18], [d_date_sk#24], Inner +Arguments: [cs_sold_date_sk#18], [d_date_sk#24], Inner, BuildRight (23) CometProject Input [5]: [cs_sold_date_sk#18, i_brand_id#21, i_class_id#22, i_category_id#23, d_date_sk#24] @@ -249,7 +249,7 @@ Arguments: [i_brand_id#21, i_class_id#22, i_category_id#23] (25) CometBroadcastHashJoin Left output [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] Right output [3]: [i_brand_id#21, i_class_id#22, i_category_id#23] -Arguments: [coalesce(i_brand_id#14, 0), isnull(i_brand_id#14), coalesce(i_class_id#15, 0), isnull(i_class_id#15), coalesce(i_category_id#16, 0), isnull(i_category_id#16)], [coalesce(i_brand_id#21, 0), isnull(i_brand_id#21), coalesce(i_class_id#22, 0), isnull(i_class_id#22), coalesce(i_category_id#23, 0), isnull(i_category_id#23)], LeftSemi +Arguments: [coalesce(i_brand_id#14, 0), isnull(i_brand_id#14), coalesce(i_class_id#15, 0), isnull(i_class_id#15), coalesce(i_category_id#16, 0), isnull(i_category_id#16)], [coalesce(i_brand_id#21, 0), isnull(i_brand_id#21), coalesce(i_class_id#22, 0), isnull(i_class_id#22), coalesce(i_category_id#23, 0), isnull(i_category_id#23)], LeftSemi, BuildRight (26) CometBroadcastExchange Input [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] @@ -258,7 +258,7 @@ Arguments: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] (27) CometBroadcastHashJoin Left output [2]: [ss_item_sk#10, ss_sold_date_sk#11] Right output [4]: [i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] -Arguments: [ss_item_sk#10], [i_item_sk#13], Inner +Arguments: [ss_item_sk#10], [i_item_sk#13], Inner, BuildRight (28) CometProject Input [6]: [ss_item_sk#10, ss_sold_date_sk#11, i_item_sk#13, i_brand_id#14, i_class_id#15, i_category_id#16] @@ -270,7 +270,7 @@ Output [1]: [d_date_sk#26] (30) CometBroadcastHashJoin Left output [4]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16] Right output [1]: [d_date_sk#26] -Arguments: [ss_sold_date_sk#11], [d_date_sk#26], Inner +Arguments: [ss_sold_date_sk#11], [d_date_sk#26], Inner, BuildRight (31) CometProject Input [5]: [ss_sold_date_sk#11, i_brand_id#14, i_class_id#15, i_category_id#16, d_date_sk#26] @@ -313,7 +313,7 @@ Output [4]: [i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] (39) CometBroadcastHashJoin Left output [2]: [ws_item_sk#30, ws_sold_date_sk#31] Right output [4]: [i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] -Arguments: [ws_item_sk#30], [i_item_sk#33], Inner +Arguments: [ws_item_sk#30], [i_item_sk#33], Inner, BuildRight (40) CometProject Input [6]: [ws_item_sk#30, ws_sold_date_sk#31, i_item_sk#33, i_brand_id#34, i_class_id#35, i_category_id#36] @@ -325,7 +325,7 @@ Output [1]: [d_date_sk#37] (42) CometBroadcastHashJoin Left output [4]: [ws_sold_date_sk#31, i_brand_id#34, i_class_id#35, i_category_id#36] Right output [1]: [d_date_sk#37] -Arguments: [ws_sold_date_sk#31], [d_date_sk#37], Inner +Arguments: [ws_sold_date_sk#31], [d_date_sk#37], Inner, BuildRight (43) CometProject Input [5]: [ws_sold_date_sk#31, i_brand_id#34, i_class_id#35, i_category_id#36, d_date_sk#37] @@ -778,7 +778,7 @@ Output [1]: [d_date_sk#163] (128) CometBroadcastHashJoin Left output [3]: [ss_quantity#159, ss_list_price#160, ss_sold_date_sk#161] Right output [1]: [d_date_sk#163] -Arguments: [ss_sold_date_sk#161], [d_date_sk#163], Inner +Arguments: [ss_sold_date_sk#161], [d_date_sk#163], Inner, BuildRight (129) CometProject Input [4]: [ss_quantity#159, ss_list_price#160, ss_sold_date_sk#161, d_date_sk#163] @@ -813,7 +813,7 @@ Arguments: [d_date_sk#170] (135) CometBroadcastHashJoin Left output [3]: [cs_quantity#166, cs_list_price#167, cs_sold_date_sk#168] Right output [1]: [d_date_sk#170] -Arguments: [cs_sold_date_sk#168], [d_date_sk#170], Inner +Arguments: [cs_sold_date_sk#168], [d_date_sk#170], Inner, BuildRight (136) CometProject Input [4]: [cs_quantity#166, cs_list_price#167, cs_sold_date_sk#168, d_date_sk#170] @@ -832,7 +832,7 @@ Output [1]: [d_date_sk#178] (139) CometBroadcastHashJoin Left output [3]: [ws_quantity#174, ws_list_price#175, ws_sold_date_sk#176] Right output [1]: [d_date_sk#178] -Arguments: [ws_sold_date_sk#176], [d_date_sk#178], Inner +Arguments: [ws_sold_date_sk#176], [d_date_sk#178], Inner, BuildRight (140) CometProject Input [4]: [ws_quantity#174, ws_list_price#175, ws_sold_date_sk#176, d_date_sk#178] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q18a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q18a/explain.txt index 6490b0787..1ad55cbea 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q18a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q18a/explain.txt @@ -182,7 +182,7 @@ Arguments: [cd_demo_sk#11, cd_dep_count#14] (7) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9] Right output [2]: [cd_demo_sk#11, cd_dep_count#14] -Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner +Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner, BuildRight (8) CometProject Input [11]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_demo_sk#11, cd_dep_count#14] @@ -210,7 +210,7 @@ Arguments: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_bir (13) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14] Right output [4]: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] -Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner +Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner, BuildRight (14) CometProject Input [13]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] @@ -234,7 +234,7 @@ Arguments: [cd_demo_sk#20] (18) CometBroadcastHashJoin Left output [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] Right output [1]: [cd_demo_sk#20] -Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner +Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner, BuildRight (19) CometProject Input [12]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19, cd_demo_sk#20] @@ -258,7 +258,7 @@ Arguments: [ca_address_sk#21, ca_county#22, ca_state#23, ca_country#24] (23) CometBroadcastHashJoin Left output [10]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19] Right output [4]: [ca_address_sk#21, ca_county#22, ca_state#23, ca_country#24] -Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner +Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner, BuildRight (24) CometProject Input [14]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19, ca_address_sk#21, ca_county#22, ca_state#23, ca_country#24] @@ -286,7 +286,7 @@ Arguments: [d_date_sk#25] (29) CometBroadcastHashJoin Left output [12]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19, ca_county#22, ca_state#23, ca_country#24] Right output [1]: [d_date_sk#25] -Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner +Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner, BuildRight (30) CometProject Input [13]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19, ca_county#22, ca_state#23, ca_country#24, d_date_sk#25] @@ -310,7 +310,7 @@ Arguments: [i_item_sk#27, i_item_id#28] (34) CometBroadcastHashJoin Left output [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19, ca_county#22, ca_state#23, ca_country#24] Right output [2]: [i_item_sk#27, i_item_id#28] -Arguments: [cs_item_sk#3], [i_item_sk#27], Inner +Arguments: [cs_item_sk#3], [i_item_sk#27], Inner, BuildRight (35) CometProject Input [13]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19, ca_county#22, ca_state#23, ca_country#24, i_item_sk#27, i_item_id#28] @@ -353,7 +353,7 @@ Output [2]: [cd_demo_sk#11, cd_dep_count#14] (43) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9] Right output [2]: [cd_demo_sk#11, cd_dep_count#14] -Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner +Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner, BuildRight (44) CometProject Input [11]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_demo_sk#11, cd_dep_count#14] @@ -365,7 +365,7 @@ Output [4]: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_bi (46) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14] Right output [4]: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] -Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner +Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner, BuildRight (47) CometProject Input [13]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] @@ -377,7 +377,7 @@ Output [1]: [cd_demo_sk#20] (49) CometBroadcastHashJoin Left output [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] Right output [1]: [cd_demo_sk#20] -Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner +Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner, BuildRight (50) CometProject Input [12]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19, cd_demo_sk#20] @@ -401,7 +401,7 @@ Arguments: [ca_address_sk#21, ca_state#23, ca_country#24] (54) CometBroadcastHashJoin Left output [10]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19] Right output [3]: [ca_address_sk#21, ca_state#23, ca_country#24] -Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner +Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner, BuildRight (55) CometProject Input [13]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19, ca_address_sk#21, ca_state#23, ca_country#24] @@ -413,7 +413,7 @@ Output [1]: [d_date_sk#25] (57) CometBroadcastHashJoin Left output [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19, ca_state#23, ca_country#24] Right output [1]: [d_date_sk#25] -Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner +Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner, BuildRight (58) CometProject Input [12]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19, ca_state#23, ca_country#24, d_date_sk#25] @@ -425,7 +425,7 @@ Output [2]: [i_item_sk#27, i_item_id#28] (60) CometBroadcastHashJoin Left output [10]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19, ca_state#23, ca_country#24] Right output [2]: [i_item_sk#27, i_item_id#28] -Arguments: [cs_item_sk#3], [i_item_sk#27], Inner +Arguments: [cs_item_sk#3], [i_item_sk#27], Inner, BuildRight (61) CometProject Input [12]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19, ca_state#23, ca_country#24, i_item_sk#27, i_item_id#28] @@ -468,7 +468,7 @@ Output [2]: [cd_demo_sk#11, cd_dep_count#14] (69) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9] Right output [2]: [cd_demo_sk#11, cd_dep_count#14] -Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner +Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner, BuildRight (70) CometProject Input [11]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_demo_sk#11, cd_dep_count#14] @@ -480,7 +480,7 @@ Output [4]: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_bi (72) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14] Right output [4]: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] -Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner +Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner, BuildRight (73) CometProject Input [13]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] @@ -492,7 +492,7 @@ Output [1]: [cd_demo_sk#20] (75) CometBroadcastHashJoin Left output [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] Right output [1]: [cd_demo_sk#20] -Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner +Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner, BuildRight (76) CometProject Input [12]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19, cd_demo_sk#20] @@ -520,7 +520,7 @@ Arguments: [ca_address_sk#21, ca_country#24] (81) CometBroadcastHashJoin Left output [10]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19] Right output [2]: [ca_address_sk#21, ca_country#24] -Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner +Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner, BuildRight (82) CometProject Input [12]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19, ca_address_sk#21, ca_country#24] @@ -532,7 +532,7 @@ Output [1]: [d_date_sk#25] (84) CometBroadcastHashJoin Left output [10]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19, ca_country#24] Right output [1]: [d_date_sk#25] -Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner +Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner, BuildRight (85) CometProject Input [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19, ca_country#24, d_date_sk#25] @@ -544,7 +544,7 @@ Output [2]: [i_item_sk#27, i_item_id#28] (87) CometBroadcastHashJoin Left output [9]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19, ca_country#24] Right output [2]: [i_item_sk#27, i_item_id#28] -Arguments: [cs_item_sk#3], [i_item_sk#27], Inner +Arguments: [cs_item_sk#3], [i_item_sk#27], Inner, BuildRight (88) CometProject Input [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19, ca_country#24, i_item_sk#27, i_item_id#28] @@ -587,7 +587,7 @@ Output [2]: [cd_demo_sk#11, cd_dep_count#14] (96) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9] Right output [2]: [cd_demo_sk#11, cd_dep_count#14] -Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner +Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner, BuildRight (97) CometProject Input [11]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_demo_sk#11, cd_dep_count#14] @@ -599,7 +599,7 @@ Output [4]: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_bi (99) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14] Right output [4]: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] -Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner +Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner, BuildRight (100) CometProject Input [13]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] @@ -611,7 +611,7 @@ Output [1]: [cd_demo_sk#20] (102) CometBroadcastHashJoin Left output [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] Right output [1]: [cd_demo_sk#20] -Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner +Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner, BuildRight (103) CometProject Input [12]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19, cd_demo_sk#20] @@ -639,7 +639,7 @@ Arguments: [ca_address_sk#21] (108) CometBroadcastHashJoin Left output [10]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19] Right output [1]: [ca_address_sk#21] -Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner +Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner, BuildRight (109) CometProject Input [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19, ca_address_sk#21] @@ -651,7 +651,7 @@ Output [1]: [d_date_sk#25] (111) CometBroadcastHashJoin Left output [9]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19] Right output [1]: [d_date_sk#25] -Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner +Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner, BuildRight (112) CometProject Input [10]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19, d_date_sk#25] @@ -663,7 +663,7 @@ Output [2]: [i_item_sk#27, i_item_id#28] (114) CometBroadcastHashJoin Left output [8]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19] Right output [2]: [i_item_sk#27, i_item_id#28] -Arguments: [cs_item_sk#3], [i_item_sk#27], Inner +Arguments: [cs_item_sk#3], [i_item_sk#27], Inner, BuildRight (115) CometProject Input [10]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19, i_item_sk#27, i_item_id#28] @@ -706,7 +706,7 @@ Output [2]: [cd_demo_sk#11, cd_dep_count#14] (123) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9] Right output [2]: [cd_demo_sk#11, cd_dep_count#14] -Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner +Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#11], Inner, BuildRight (124) CometProject Input [11]: [cs_bill_customer_sk#1, cs_bill_cdemo_sk#2, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_demo_sk#11, cd_dep_count#14] @@ -718,7 +718,7 @@ Output [4]: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_bi (126) CometBroadcastHashJoin Left output [9]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14] Right output [4]: [c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] -Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner +Arguments: [cs_bill_customer_sk#1], [c_customer_sk#15], Inner, BuildRight (127) CometProject Input [13]: [cs_bill_customer_sk#1, cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_customer_sk#15, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] @@ -730,7 +730,7 @@ Output [1]: [cd_demo_sk#20] (129) CometBroadcastHashJoin Left output [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19] Right output [1]: [cd_demo_sk#20] -Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner +Arguments: [c_current_cdemo_sk#16], [cd_demo_sk#20], Inner, BuildRight (130) CometProject Input [12]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_cdemo_sk#16, c_current_addr_sk#17, c_birth_year#19, cd_demo_sk#20] @@ -742,7 +742,7 @@ Output [1]: [ca_address_sk#21] (132) CometBroadcastHashJoin Left output [10]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19] Right output [1]: [ca_address_sk#21] -Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner +Arguments: [c_current_addr_sk#17], [ca_address_sk#21], Inner, BuildRight (133) CometProject Input [11]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_current_addr_sk#17, c_birth_year#19, ca_address_sk#21] @@ -754,7 +754,7 @@ Output [1]: [d_date_sk#25] (135) CometBroadcastHashJoin Left output [9]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19] Right output [1]: [d_date_sk#25] -Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner +Arguments: [cs_sold_date_sk#9], [d_date_sk#25], Inner, BuildRight (136) CometProject Input [10]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cs_sold_date_sk#9, cd_dep_count#14, c_birth_year#19, d_date_sk#25] @@ -778,7 +778,7 @@ Arguments: [i_item_sk#27] (140) CometBroadcastHashJoin Left output [8]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19] Right output [1]: [i_item_sk#27] -Arguments: [cs_item_sk#3], [i_item_sk#27], Inner +Arguments: [cs_item_sk#3], [i_item_sk#27], Inner, BuildRight (141) CometProject Input [9]: [cs_item_sk#3, cs_quantity#4, cs_list_price#5, cs_sales_price#6, cs_coupon_amt#7, cs_net_profit#8, cd_dep_count#14, c_birth_year#19, i_item_sk#27] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q20/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q20/explain.txt index 4cfdb411a..bfb24de43 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q20/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q20/explain.txt @@ -53,7 +53,7 @@ Arguments: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class# (6) CometBroadcastHashJoin Left output [3]: [cs_item_sk#1, cs_ext_sales_price#2, cs_sold_date_sk#3] Right output [6]: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] -Arguments: [cs_item_sk#1], [i_item_sk#5], Inner +Arguments: [cs_item_sk#1], [i_item_sk#5], Inner, BuildRight (7) CometProject Input [9]: [cs_item_sk#1, cs_ext_sales_price#2, cs_sold_date_sk#3, i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] @@ -81,7 +81,7 @@ Arguments: [d_date_sk#11] (12) CometBroadcastHashJoin Left output [7]: [cs_ext_sales_price#2, cs_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] Right output [1]: [d_date_sk#11] -Arguments: [cs_sold_date_sk#3], [d_date_sk#11], Inner +Arguments: [cs_sold_date_sk#3], [d_date_sk#11], Inner, BuildRight (13) CometProject Input [8]: [cs_ext_sales_price#2, cs_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10, d_date_sk#11] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q22/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q22/explain.txt index 386de1368..2810779ed 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q22/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q22/explain.txt @@ -59,7 +59,7 @@ Arguments: [d_date_sk#5] (7) CometBroadcastHashJoin Left output [3]: [inv_item_sk#1, inv_quantity_on_hand#2, inv_date_sk#3] Right output [1]: [d_date_sk#5] -Arguments: [inv_date_sk#3], [d_date_sk#5], Inner +Arguments: [inv_date_sk#3], [d_date_sk#5], Inner, BuildRight (8) CometProject Input [4]: [inv_item_sk#1, inv_quantity_on_hand#2, inv_date_sk#3, d_date_sk#5] @@ -83,7 +83,7 @@ Arguments: [i_item_sk#7, i_brand#8, i_class#9, i_category#10, i_product_name#11] (12) CometBroadcastHashJoin Left output [2]: [inv_item_sk#1, inv_quantity_on_hand#2] Right output [5]: [i_item_sk#7, i_brand#8, i_class#9, i_category#10, i_product_name#11] -Arguments: [inv_item_sk#1], [i_item_sk#7], Inner +Arguments: [inv_item_sk#1], [i_item_sk#7], Inner, BuildRight (13) CometProject Input [7]: [inv_item_sk#1, inv_quantity_on_hand#2, i_item_sk#7, i_brand#8, i_class#9, i_category#10, i_product_name#11] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q22a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q22a/explain.txt index 0cb20d476..08bad9380 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q22a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q22a/explain.txt @@ -81,7 +81,7 @@ Arguments: [d_date_sk#6] (7) CometBroadcastHashJoin Left output [4]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [inv_date_sk#4], [d_date_sk#6], Inner +Arguments: [inv_date_sk#4], [d_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, inv_date_sk#4, d_date_sk#6] @@ -105,7 +105,7 @@ Arguments: [i_item_sk#8, i_brand#9, i_class#10, i_category#11, i_product_name#12 (12) CometBroadcastHashJoin Left output [3]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3] Right output [5]: [i_item_sk#8, i_brand#9, i_class#10, i_category#11, i_product_name#12] -Arguments: [inv_item_sk#1], [i_item_sk#8], Inner +Arguments: [inv_item_sk#1], [i_item_sk#8], Inner, BuildRight (13) CometProject Input [8]: [inv_item_sk#1, inv_warehouse_sk#2, inv_quantity_on_hand#3, i_item_sk#8, i_brand#9, i_class#10, i_category#11, i_product_name#12] @@ -129,7 +129,7 @@ Arguments: [w_warehouse_sk#13] (17) CometBroadcastHashJoin Left output [6]: [inv_warehouse_sk#2, inv_quantity_on_hand#3, i_brand#9, i_class#10, i_category#11, i_product_name#12] Right output [1]: [w_warehouse_sk#13] -Arguments: [inv_warehouse_sk#2], [w_warehouse_sk#13], Inner +Arguments: [inv_warehouse_sk#2], [w_warehouse_sk#13], Inner, BuildRight (18) CometProject Input [7]: [inv_warehouse_sk#2, inv_quantity_on_hand#3, i_brand#9, i_class#10, i_category#11, i_product_name#12, w_warehouse_sk#13] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q27a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q27a/explain.txt index 1a95a8820..4abfc188b 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q27a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q27a/explain.txt @@ -106,7 +106,7 @@ Arguments: [cd_demo_sk#10] (7) CometBroadcastHashJoin Left output [8]: [ss_item_sk#1, ss_cdemo_sk#2, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8] Right output [1]: [cd_demo_sk#10] -Arguments: [ss_cdemo_sk#2], [cd_demo_sk#10], Inner +Arguments: [ss_cdemo_sk#2], [cd_demo_sk#10], Inner, BuildRight (8) CometProject Input [9]: [ss_item_sk#1, ss_cdemo_sk#2, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8, cd_demo_sk#10] @@ -134,7 +134,7 @@ Arguments: [d_date_sk#14] (13) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8] Right output [1]: [d_date_sk#14] -Arguments: [ss_sold_date_sk#8], [d_date_sk#14], Inner +Arguments: [ss_sold_date_sk#8], [d_date_sk#14], Inner, BuildRight (14) CometProject Input [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8, d_date_sk#14] @@ -158,7 +158,7 @@ Arguments: [s_store_sk#16, s_state#17] (18) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7] Right output [2]: [s_store_sk#16, s_state#17] -Arguments: [ss_store_sk#3], [s_store_sk#16], Inner +Arguments: [ss_store_sk#3], [s_store_sk#16], Inner, BuildRight (19) CometProject Input [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, s_store_sk#16, s_state#17] @@ -182,7 +182,7 @@ Arguments: [i_item_sk#18, i_item_id#19] (23) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, s_state#17] Right output [2]: [i_item_sk#18, i_item_id#19] -Arguments: [ss_item_sk#1], [i_item_sk#18], Inner +Arguments: [ss_item_sk#1], [i_item_sk#18], Inner, BuildRight (24) CometProject Input [8]: [ss_item_sk#1, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, s_state#17, i_item_sk#18, i_item_id#19] @@ -225,7 +225,7 @@ Output [1]: [cd_demo_sk#10] (32) CometBroadcastHashJoin Left output [8]: [ss_item_sk#1, ss_cdemo_sk#2, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8] Right output [1]: [cd_demo_sk#10] -Arguments: [ss_cdemo_sk#2], [cd_demo_sk#10], Inner +Arguments: [ss_cdemo_sk#2], [cd_demo_sk#10], Inner, BuildRight (33) CometProject Input [9]: [ss_item_sk#1, ss_cdemo_sk#2, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8, cd_demo_sk#10] @@ -237,7 +237,7 @@ Output [1]: [d_date_sk#14] (35) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8] Right output [1]: [d_date_sk#14] -Arguments: [ss_sold_date_sk#8], [d_date_sk#14], Inner +Arguments: [ss_sold_date_sk#8], [d_date_sk#14], Inner, BuildRight (36) CometProject Input [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8, d_date_sk#14] @@ -265,7 +265,7 @@ Arguments: [s_store_sk#16] (41) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7] Right output [1]: [s_store_sk#16] -Arguments: [ss_store_sk#3], [s_store_sk#16], Inner +Arguments: [ss_store_sk#3], [s_store_sk#16], Inner, BuildRight (42) CometProject Input [7]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, s_store_sk#16] @@ -277,7 +277,7 @@ Output [2]: [i_item_sk#18, i_item_id#19] (44) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7] Right output [2]: [i_item_sk#18, i_item_id#19] -Arguments: [ss_item_sk#1], [i_item_sk#18], Inner +Arguments: [ss_item_sk#1], [i_item_sk#18], Inner, BuildRight (45) CometProject Input [7]: [ss_item_sk#1, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, i_item_sk#18, i_item_id#19] @@ -320,7 +320,7 @@ Output [1]: [cd_demo_sk#10] (53) CometBroadcastHashJoin Left output [8]: [ss_item_sk#1, ss_cdemo_sk#2, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8] Right output [1]: [cd_demo_sk#10] -Arguments: [ss_cdemo_sk#2], [cd_demo_sk#10], Inner +Arguments: [ss_cdemo_sk#2], [cd_demo_sk#10], Inner, BuildRight (54) CometProject Input [9]: [ss_item_sk#1, ss_cdemo_sk#2, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8, cd_demo_sk#10] @@ -332,7 +332,7 @@ Output [1]: [d_date_sk#14] (56) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8] Right output [1]: [d_date_sk#14] -Arguments: [ss_sold_date_sk#8], [d_date_sk#14], Inner +Arguments: [ss_sold_date_sk#8], [d_date_sk#14], Inner, BuildRight (57) CometProject Input [8]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, ss_sold_date_sk#8, d_date_sk#14] @@ -344,7 +344,7 @@ Output [1]: [s_store_sk#16] (59) CometBroadcastHashJoin Left output [6]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7] Right output [1]: [s_store_sk#16] -Arguments: [ss_store_sk#3], [s_store_sk#16], Inner +Arguments: [ss_store_sk#3], [s_store_sk#16], Inner, BuildRight (60) CometProject Input [7]: [ss_item_sk#1, ss_store_sk#3, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, s_store_sk#16] @@ -368,7 +368,7 @@ Arguments: [i_item_sk#18] (64) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7] Right output [1]: [i_item_sk#18] -Arguments: [ss_item_sk#1], [i_item_sk#18], Inner +Arguments: [ss_item_sk#1], [i_item_sk#18], Inner, BuildRight (65) CometProject Input [6]: [ss_item_sk#1, ss_quantity#4, ss_list_price#5, ss_sales_price#6, ss_coupon_amt#7, i_item_sk#18] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q34/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q34/explain.txt index 29ecbb2ac..92e11aabe 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q34/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q34/explain.txt @@ -68,7 +68,7 @@ Arguments: [d_date_sk#7] (7) CometBroadcastHashJoin Left output [5]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_sold_date_sk#5] Right output [1]: [d_date_sk#7] -Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner, BuildRight (8) CometProject Input [6]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4, ss_sold_date_sk#5, d_date_sk#7] @@ -96,7 +96,7 @@ Arguments: [s_store_sk#10] (13) CometBroadcastHashJoin Left output [4]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4] Right output [1]: [s_store_sk#10] -Arguments: [ss_store_sk#3], [s_store_sk#10], Inner +Arguments: [ss_store_sk#3], [s_store_sk#10], Inner, BuildRight (14) CometProject Input [5]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_store_sk#3, ss_ticket_number#4, s_store_sk#10] @@ -124,7 +124,7 @@ Arguments: [hd_demo_sk#12] (19) CometBroadcastHashJoin Left output [3]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_ticket_number#4] Right output [1]: [hd_demo_sk#12] -Arguments: [ss_hdemo_sk#2], [hd_demo_sk#12], Inner +Arguments: [ss_hdemo_sk#2], [hd_demo_sk#12], Inner, BuildRight (20) CometProject Input [4]: [ss_customer_sk#1, ss_hdemo_sk#2, ss_ticket_number#4, hd_demo_sk#12] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q35/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q35/explain.txt index 80925f531..790000085 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q35/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q35/explain.txt @@ -85,7 +85,7 @@ Arguments: [d_date_sk#9] (8) CometBroadcastHashJoin Left output [2]: [ss_customer_sk#6, ss_sold_date_sk#7] Right output [1]: [d_date_sk#9] -Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner +Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner, BuildRight (9) CometProject Input [3]: [ss_customer_sk#6, ss_sold_date_sk#7, d_date_sk#9] @@ -98,7 +98,7 @@ Arguments: [ss_customer_sk#6] (11) CometBroadcastHashJoin Left output [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5] Right output [1]: [ss_customer_sk#6] -Arguments: [c_customer_sk#3], [ss_customer_sk#6], LeftSemi +Arguments: [c_customer_sk#3], [ss_customer_sk#6], LeftSemi, BuildRight (12) ColumnarToRow [codegen id : 5] Input [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5] @@ -116,7 +116,7 @@ Output [1]: [d_date_sk#15] (15) CometBroadcastHashJoin Left output [2]: [ws_bill_customer_sk#12, ws_sold_date_sk#13] Right output [1]: [d_date_sk#15] -Arguments: [ws_sold_date_sk#13], [d_date_sk#15], Inner +Arguments: [ws_sold_date_sk#13], [d_date_sk#15], Inner, BuildRight (16) CometProject Input [3]: [ws_bill_customer_sk#12, ws_sold_date_sk#13, d_date_sk#15] @@ -148,7 +148,7 @@ Output [1]: [d_date_sk#19] (22) CometBroadcastHashJoin Left output [2]: [cs_ship_customer_sk#16, cs_sold_date_sk#17] Right output [1]: [d_date_sk#19] -Arguments: [cs_sold_date_sk#17], [d_date_sk#19], Inner +Arguments: [cs_sold_date_sk#17], [d_date_sk#19], Inner, BuildRight (23) CometProject Input [3]: [cs_ship_customer_sk#16, cs_sold_date_sk#17, d_date_sk#19] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q35a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q35a/explain.txt index 75fed430b..215d4240e 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q35a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q35a/explain.txt @@ -79,7 +79,7 @@ Arguments: [d_date_sk#7] (8) CometBroadcastHashJoin Left output [2]: [ss_customer_sk#4, ss_sold_date_sk#5] Right output [1]: [d_date_sk#7] -Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner, BuildRight (9) CometProject Input [3]: [ss_customer_sk#4, ss_sold_date_sk#5, d_date_sk#7] @@ -92,7 +92,7 @@ Arguments: [ss_customer_sk#4] (11) CometBroadcastHashJoin Left output [3]: [c_customer_sk#1, c_current_cdemo_sk#2, c_current_addr_sk#3] Right output [1]: [ss_customer_sk#4] -Arguments: [c_customer_sk#1], [ss_customer_sk#4], LeftSemi +Arguments: [c_customer_sk#1], [ss_customer_sk#4], LeftSemi, BuildRight (12) Scan parquet spark_catalog.default.web_sales Output [2]: [ws_bill_customer_sk#10, ws_sold_date_sk#11] @@ -107,7 +107,7 @@ Output [1]: [d_date_sk#13] (14) CometBroadcastHashJoin Left output [2]: [ws_bill_customer_sk#10, ws_sold_date_sk#11] Right output [1]: [d_date_sk#13] -Arguments: [ws_sold_date_sk#11], [d_date_sk#13], Inner +Arguments: [ws_sold_date_sk#11], [d_date_sk#13], Inner, BuildRight (15) CometProject Input [3]: [ws_bill_customer_sk#10, ws_sold_date_sk#11, d_date_sk#13] @@ -126,7 +126,7 @@ Output [1]: [d_date_sk#18] (18) CometBroadcastHashJoin Left output [2]: [cs_ship_customer_sk#15, cs_sold_date_sk#16] Right output [1]: [d_date_sk#18] -Arguments: [cs_sold_date_sk#16], [d_date_sk#18], Inner +Arguments: [cs_sold_date_sk#16], [d_date_sk#18], Inner, BuildRight (19) CometProject Input [3]: [cs_ship_customer_sk#15, cs_sold_date_sk#16, d_date_sk#18] @@ -143,7 +143,7 @@ Arguments: [customsk#14] (22) CometBroadcastHashJoin Left output [3]: [c_customer_sk#1, c_current_cdemo_sk#2, c_current_addr_sk#3] Right output [1]: [customsk#14] -Arguments: [c_customer_sk#1], [customsk#14], LeftSemi +Arguments: [c_customer_sk#1], [customsk#14], LeftSemi, BuildRight (23) CometProject Input [3]: [c_customer_sk#1, c_current_cdemo_sk#2, c_current_addr_sk#3] @@ -167,7 +167,7 @@ Arguments: [ca_address_sk#20, ca_state#21] (27) CometBroadcastHashJoin Left output [2]: [c_current_cdemo_sk#2, c_current_addr_sk#3] Right output [2]: [ca_address_sk#20, ca_state#21] -Arguments: [c_current_addr_sk#3], [ca_address_sk#20], Inner +Arguments: [c_current_addr_sk#3], [ca_address_sk#20], Inner, BuildRight (28) CometProject Input [4]: [c_current_cdemo_sk#2, c_current_addr_sk#3, ca_address_sk#20, ca_state#21] @@ -191,7 +191,7 @@ Arguments: [cd_demo_sk#22, cd_gender#23, cd_marital_status#24, cd_dep_count#25, (32) CometBroadcastHashJoin Left output [2]: [c_current_cdemo_sk#2, ca_state#21] Right output [6]: [cd_demo_sk#22, cd_gender#23, cd_marital_status#24, cd_dep_count#25, cd_dep_employed_count#26, cd_dep_college_count#27] -Arguments: [c_current_cdemo_sk#2], [cd_demo_sk#22], Inner +Arguments: [c_current_cdemo_sk#2], [cd_demo_sk#22], Inner, BuildRight (33) CometProject Input [8]: [c_current_cdemo_sk#2, ca_state#21, cd_demo_sk#22, cd_gender#23, cd_marital_status#24, cd_dep_count#25, cd_dep_employed_count#26, cd_dep_college_count#27] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q36a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q36a/explain.txt index 482c00216..3bdded0ed 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q36a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q36a/explain.txt @@ -77,7 +77,7 @@ Arguments: [d_date_sk#7] (7) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4, ss_sold_date_sk#5] Right output [1]: [d_date_sk#7] -Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner, BuildRight (8) CometProject Input [6]: [ss_item_sk#1, ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4, ss_sold_date_sk#5, d_date_sk#7] @@ -101,7 +101,7 @@ Arguments: [i_item_sk#9, i_class#10, i_category#11] (12) CometBroadcastHashJoin Left output [4]: [ss_item_sk#1, ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4] Right output [3]: [i_item_sk#9, i_class#10, i_category#11] -Arguments: [ss_item_sk#1], [i_item_sk#9], Inner +Arguments: [ss_item_sk#1], [i_item_sk#9], Inner, BuildRight (13) CometProject Input [7]: [ss_item_sk#1, ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4, i_item_sk#9, i_class#10, i_category#11] @@ -129,7 +129,7 @@ Arguments: [s_store_sk#12] (18) CometBroadcastHashJoin Left output [5]: [ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4, i_class#10, i_category#11] Right output [1]: [s_store_sk#12] -Arguments: [ss_store_sk#2], [s_store_sk#12], Inner +Arguments: [ss_store_sk#2], [s_store_sk#12], Inner, BuildRight (19) CometProject Input [6]: [ss_store_sk#2, ss_ext_sales_price#3, ss_net_profit#4, i_class#10, i_category#11, s_store_sk#12] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q47/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q47/explain.txt index 985169db2..41d045790 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q47/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q47/explain.txt @@ -76,7 +76,7 @@ Arguments: [ss_item_sk#4, ss_store_sk#5, ss_sales_price#6, ss_sold_date_sk#7] (6) CometBroadcastHashJoin Left output [3]: [i_item_sk#1, i_brand#2, i_category#3] Right output [4]: [ss_item_sk#4, ss_store_sk#5, ss_sales_price#6, ss_sold_date_sk#7] -Arguments: [i_item_sk#1], [ss_item_sk#4], Inner +Arguments: [i_item_sk#1], [ss_item_sk#4], Inner, BuildRight (7) CometProject Input [7]: [i_item_sk#1, i_brand#2, i_category#3, ss_item_sk#4, ss_store_sk#5, ss_sales_price#6, ss_sold_date_sk#7] @@ -100,7 +100,7 @@ Arguments: [d_date_sk#9, d_year#10, d_moy#11] (11) CometBroadcastHashJoin Left output [5]: [i_brand#2, i_category#3, ss_store_sk#5, ss_sales_price#6, ss_sold_date_sk#7] Right output [3]: [d_date_sk#9, d_year#10, d_moy#11] -Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner +Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner, BuildRight (12) CometProject Input [8]: [i_brand#2, i_category#3, ss_store_sk#5, ss_sales_price#6, ss_sold_date_sk#7, d_date_sk#9, d_year#10, d_moy#11] @@ -124,7 +124,7 @@ Arguments: [s_store_sk#12, s_store_name#13, s_company_name#14] (16) CometBroadcastHashJoin Left output [6]: [i_brand#2, i_category#3, ss_store_sk#5, ss_sales_price#6, d_year#10, d_moy#11] Right output [3]: [s_store_sk#12, s_store_name#13, s_company_name#14] -Arguments: [ss_store_sk#5], [s_store_sk#12], Inner +Arguments: [ss_store_sk#5], [s_store_sk#12], Inner, BuildRight (17) CometProject Input [9]: [i_brand#2, i_category#3, ss_store_sk#5, ss_sales_price#6, d_year#10, d_moy#11, s_store_sk#12, s_store_name#13, s_company_name#14] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q49/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q49/explain.txt index b1d558bc1..07bd1d0ca 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q49/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q49/explain.txt @@ -116,7 +116,7 @@ Arguments: [wr_item_sk#8, wr_order_number#9, wr_return_quantity#10, wr_return_am (8) CometBroadcastHashJoin Left output [5]: [ws_item_sk#1, ws_order_number#2, ws_quantity#3, ws_net_paid#4, ws_sold_date_sk#6] Right output [4]: [wr_item_sk#8, wr_order_number#9, wr_return_quantity#10, wr_return_amt#11] -Arguments: [ws_order_number#2, ws_item_sk#1], [wr_order_number#9, wr_item_sk#8], Inner +Arguments: [ws_order_number#2, ws_item_sk#1], [wr_order_number#9, wr_item_sk#8], Inner, BuildLeft (9) CometProject Input [9]: [ws_item_sk#1, ws_order_number#2, ws_quantity#3, ws_net_paid#4, ws_sold_date_sk#6, wr_item_sk#8, wr_order_number#9, wr_return_quantity#10, wr_return_amt#11] @@ -144,7 +144,7 @@ Arguments: [d_date_sk#13] (14) CometBroadcastHashJoin Left output [6]: [ws_item_sk#1, ws_quantity#3, ws_net_paid#4, ws_sold_date_sk#6, wr_return_quantity#10, wr_return_amt#11] Right output [1]: [d_date_sk#13] -Arguments: [ws_sold_date_sk#6], [d_date_sk#13], Inner +Arguments: [ws_sold_date_sk#6], [d_date_sk#13], Inner, BuildRight (15) CometProject Input [7]: [ws_item_sk#1, ws_quantity#3, ws_net_paid#4, ws_sold_date_sk#6, wr_return_quantity#10, wr_return_amt#11, d_date_sk#13] @@ -235,7 +235,7 @@ Arguments: [cr_item_sk#39, cr_order_number#40, cr_return_quantity#41, cr_return_ (34) CometBroadcastHashJoin Left output [5]: [cs_item_sk#32, cs_order_number#33, cs_quantity#34, cs_net_paid#35, cs_sold_date_sk#37] Right output [4]: [cr_item_sk#39, cr_order_number#40, cr_return_quantity#41, cr_return_amount#42] -Arguments: [cs_order_number#33, cs_item_sk#32], [cr_order_number#40, cr_item_sk#39], Inner +Arguments: [cs_order_number#33, cs_item_sk#32], [cr_order_number#40, cr_item_sk#39], Inner, BuildLeft (35) CometProject Input [9]: [cs_item_sk#32, cs_order_number#33, cs_quantity#34, cs_net_paid#35, cs_sold_date_sk#37, cr_item_sk#39, cr_order_number#40, cr_return_quantity#41, cr_return_amount#42] @@ -247,7 +247,7 @@ Output [1]: [d_date_sk#44] (37) CometBroadcastHashJoin Left output [6]: [cs_item_sk#32, cs_quantity#34, cs_net_paid#35, cs_sold_date_sk#37, cr_return_quantity#41, cr_return_amount#42] Right output [1]: [d_date_sk#44] -Arguments: [cs_sold_date_sk#37], [d_date_sk#44], Inner +Arguments: [cs_sold_date_sk#37], [d_date_sk#44], Inner, BuildRight (38) CometProject Input [7]: [cs_item_sk#32, cs_quantity#34, cs_net_paid#35, cs_sold_date_sk#37, cr_return_quantity#41, cr_return_amount#42, d_date_sk#44] @@ -338,7 +338,7 @@ Arguments: [sr_item_sk#68, sr_ticket_number#69, sr_return_quantity#70, sr_return (57) CometBroadcastHashJoin Left output [5]: [ss_item_sk#61, ss_ticket_number#62, ss_quantity#63, ss_net_paid#64, ss_sold_date_sk#66] Right output [4]: [sr_item_sk#68, sr_ticket_number#69, sr_return_quantity#70, sr_return_amt#71] -Arguments: [ss_ticket_number#62, ss_item_sk#61], [sr_ticket_number#69, sr_item_sk#68], Inner +Arguments: [ss_ticket_number#62, ss_item_sk#61], [sr_ticket_number#69, sr_item_sk#68], Inner, BuildLeft (58) CometProject Input [9]: [ss_item_sk#61, ss_ticket_number#62, ss_quantity#63, ss_net_paid#64, ss_sold_date_sk#66, sr_item_sk#68, sr_ticket_number#69, sr_return_quantity#70, sr_return_amt#71] @@ -350,7 +350,7 @@ Output [1]: [d_date_sk#73] (60) CometBroadcastHashJoin Left output [6]: [ss_item_sk#61, ss_quantity#63, ss_net_paid#64, ss_sold_date_sk#66, sr_return_quantity#70, sr_return_amt#71] Right output [1]: [d_date_sk#73] -Arguments: [ss_sold_date_sk#66], [d_date_sk#73], Inner +Arguments: [ss_sold_date_sk#66], [d_date_sk#73], Inner, BuildRight (61) CometProject Input [7]: [ss_item_sk#61, ss_quantity#63, ss_net_paid#64, ss_sold_date_sk#66, sr_return_quantity#70, sr_return_amt#71, d_date_sk#73] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q51a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q51a/explain.txt index ba2f8634b..1bcaa1ea1 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q51a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q51a/explain.txt @@ -105,7 +105,7 @@ Arguments: [d_date_sk#5, d_date#6] (7) CometBroadcastHashJoin Left output [3]: [ws_item_sk#1, ws_sales_price#2, ws_sold_date_sk#3] Right output [2]: [d_date_sk#5, d_date#6] -Arguments: [ws_sold_date_sk#3], [d_date_sk#5], Inner +Arguments: [ws_sold_date_sk#3], [d_date_sk#5], Inner, BuildRight (8) CometProject Input [5]: [ws_item_sk#1, ws_sales_price#2, ws_sold_date_sk#3, d_date_sk#5, d_date#6] @@ -219,7 +219,7 @@ Output [2]: [d_date_sk#28, d_date#29] (32) CometBroadcastHashJoin Left output [3]: [ss_item_sk#24, ss_sales_price#25, ss_sold_date_sk#26] Right output [2]: [d_date_sk#28, d_date#29] -Arguments: [ss_sold_date_sk#26], [d_date_sk#28], Inner +Arguments: [ss_sold_date_sk#26], [d_date_sk#28], Inner, BuildRight (33) CometProject Input [5]: [ss_item_sk#24, ss_sales_price#25, ss_sold_date_sk#26, d_date_sk#28, d_date#29] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q57/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q57/explain.txt index f7fa9d271..1b66eb4da 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q57/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q57/explain.txt @@ -76,7 +76,7 @@ Arguments: [cs_call_center_sk#4, cs_item_sk#5, cs_sales_price#6, cs_sold_date_sk (6) CometBroadcastHashJoin Left output [3]: [i_item_sk#1, i_brand#2, i_category#3] Right output [4]: [cs_call_center_sk#4, cs_item_sk#5, cs_sales_price#6, cs_sold_date_sk#7] -Arguments: [i_item_sk#1], [cs_item_sk#5], Inner +Arguments: [i_item_sk#1], [cs_item_sk#5], Inner, BuildRight (7) CometProject Input [7]: [i_item_sk#1, i_brand#2, i_category#3, cs_call_center_sk#4, cs_item_sk#5, cs_sales_price#6, cs_sold_date_sk#7] @@ -100,7 +100,7 @@ Arguments: [d_date_sk#9, d_year#10, d_moy#11] (11) CometBroadcastHashJoin Left output [5]: [i_brand#2, i_category#3, cs_call_center_sk#4, cs_sales_price#6, cs_sold_date_sk#7] Right output [3]: [d_date_sk#9, d_year#10, d_moy#11] -Arguments: [cs_sold_date_sk#7], [d_date_sk#9], Inner +Arguments: [cs_sold_date_sk#7], [d_date_sk#9], Inner, BuildRight (12) CometProject Input [8]: [i_brand#2, i_category#3, cs_call_center_sk#4, cs_sales_price#6, cs_sold_date_sk#7, d_date_sk#9, d_year#10, d_moy#11] @@ -124,7 +124,7 @@ Arguments: [cc_call_center_sk#12, cc_name#13] (16) CometBroadcastHashJoin Left output [6]: [i_brand#2, i_category#3, cs_call_center_sk#4, cs_sales_price#6, d_year#10, d_moy#11] Right output [2]: [cc_call_center_sk#12, cc_name#13] -Arguments: [cs_call_center_sk#4], [cc_call_center_sk#12], Inner +Arguments: [cs_call_center_sk#4], [cc_call_center_sk#12], Inner, BuildRight (17) CometProject Input [8]: [i_brand#2, i_category#3, cs_call_center_sk#4, cs_sales_price#6, d_year#10, d_moy#11, cc_call_center_sk#12, cc_name#13] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q5a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q5a/explain.txt index dc7f857a4..3ca1d3551 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q5a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q5a/explain.txt @@ -142,7 +142,7 @@ Arguments: [d_date_sk#22] (12) CometBroadcastHashJoin Left output [6]: [store_sk#6, date_sk#7, sales_price#8, profit#9, return_amt#10, net_loss#11] Right output [1]: [d_date_sk#22] -Arguments: [date_sk#7], [d_date_sk#22], Inner +Arguments: [date_sk#7], [d_date_sk#22], Inner, BuildRight (13) CometProject Input [7]: [store_sk#6, date_sk#7, sales_price#8, profit#9, return_amt#10, net_loss#11, d_date_sk#22] @@ -166,7 +166,7 @@ Arguments: [s_store_sk#24, s_store_id#25] (17) CometBroadcastHashJoin Left output [5]: [store_sk#6, sales_price#8, profit#9, return_amt#10, net_loss#11] Right output [2]: [s_store_sk#24, s_store_id#25] -Arguments: [store_sk#6], [s_store_sk#24], Inner +Arguments: [store_sk#6], [s_store_sk#24], Inner, BuildRight (18) CometProject Input [7]: [store_sk#6, sales_price#8, profit#9, return_amt#10, net_loss#11, s_store_sk#24, s_store_id#25] @@ -233,7 +233,7 @@ Output [1]: [d_date_sk#60] (31) CometBroadcastHashJoin Left output [6]: [page_sk#44, date_sk#45, sales_price#46, profit#47, return_amt#48, net_loss#49] Right output [1]: [d_date_sk#60] -Arguments: [date_sk#45], [d_date_sk#60], Inner +Arguments: [date_sk#45], [d_date_sk#60], Inner, BuildRight (32) CometProject Input [7]: [page_sk#44, date_sk#45, sales_price#46, profit#47, return_amt#48, net_loss#49, d_date_sk#60] @@ -257,7 +257,7 @@ Arguments: [cp_catalog_page_sk#61, cp_catalog_page_id#62] (36) CometBroadcastHashJoin Left output [5]: [page_sk#44, sales_price#46, profit#47, return_amt#48, net_loss#49] Right output [2]: [cp_catalog_page_sk#61, cp_catalog_page_id#62] -Arguments: [page_sk#44], [cp_catalog_page_sk#61], Inner +Arguments: [page_sk#44], [cp_catalog_page_sk#61], Inner, BuildRight (37) CometProject Input [7]: [page_sk#44, sales_price#46, profit#47, return_amt#48, net_loss#49, cp_catalog_page_sk#61, cp_catalog_page_id#62] @@ -327,7 +327,7 @@ Arguments: [ws_item_sk#92, ws_web_site_sk#93, ws_order_number#94], [ws_item_sk#9 (50) CometBroadcastHashJoin Left output [5]: [wr_item_sk#87, wr_order_number#88, wr_return_amt#89, wr_net_loss#90, wr_returned_date_sk#91] Right output [3]: [ws_item_sk#92, ws_web_site_sk#93, ws_order_number#94] -Arguments: [wr_item_sk#87, wr_order_number#88], [ws_item_sk#92, ws_order_number#94], Inner +Arguments: [wr_item_sk#87, wr_order_number#88], [ws_item_sk#92, ws_order_number#94], Inner, BuildLeft (51) CometProject Input [8]: [wr_item_sk#87, wr_order_number#88, wr_return_amt#89, wr_net_loss#90, wr_returned_date_sk#91, ws_item_sk#92, ws_web_site_sk#93, ws_order_number#94] @@ -343,7 +343,7 @@ Output [1]: [d_date_sk#102] (54) CometBroadcastHashJoin Left output [6]: [wsr_web_site_sk#81, date_sk#82, sales_price#83, profit#84, return_amt#85, net_loss#86] Right output [1]: [d_date_sk#102] -Arguments: [date_sk#82], [d_date_sk#102], Inner +Arguments: [date_sk#82], [d_date_sk#102], Inner, BuildRight (55) CometProject Input [7]: [wsr_web_site_sk#81, date_sk#82, sales_price#83, profit#84, return_amt#85, net_loss#86, d_date_sk#102] @@ -367,7 +367,7 @@ Arguments: [web_site_sk#103, web_site_id#104] (59) CometBroadcastHashJoin Left output [5]: [wsr_web_site_sk#81, sales_price#83, profit#84, return_amt#85, net_loss#86] Right output [2]: [web_site_sk#103, web_site_id#104] -Arguments: [wsr_web_site_sk#81], [web_site_sk#103], Inner +Arguments: [wsr_web_site_sk#81], [web_site_sk#103], Inner, BuildRight (60) CometProject Input [7]: [wsr_web_site_sk#81, sales_price#83, profit#84, return_amt#85, net_loss#86, web_site_sk#103, web_site_id#104] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q6/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q6/explain.txt index 0d9a5c93d..fc156f98e 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q6/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q6/explain.txt @@ -70,7 +70,7 @@ Arguments: [c_customer_sk#3, c_current_addr_sk#4] (6) CometBroadcastHashJoin Left output [2]: [ca_address_sk#1, ca_state#2] Right output [2]: [c_customer_sk#3, c_current_addr_sk#4] -Arguments: [ca_address_sk#1], [c_current_addr_sk#4], Inner +Arguments: [ca_address_sk#1], [c_current_addr_sk#4], Inner, BuildRight (7) CometProject Input [4]: [ca_address_sk#1, ca_state#2, c_customer_sk#3, c_current_addr_sk#4] @@ -95,7 +95,7 @@ Arguments: [ss_item_sk#5, ss_customer_sk#6, ss_sold_date_sk#7] (11) CometBroadcastHashJoin Left output [2]: [ca_state#2, c_customer_sk#3] Right output [3]: [ss_item_sk#5, ss_customer_sk#6, ss_sold_date_sk#7] -Arguments: [c_customer_sk#3], [ss_customer_sk#6], Inner +Arguments: [c_customer_sk#3], [ss_customer_sk#6], Inner, BuildRight (12) CometProject Input [5]: [ca_state#2, c_customer_sk#3, ss_item_sk#5, ss_customer_sk#6, ss_sold_date_sk#7] @@ -123,7 +123,7 @@ Arguments: [d_date_sk#9] (17) CometBroadcastHashJoin Left output [3]: [ca_state#2, ss_item_sk#5, ss_sold_date_sk#7] Right output [1]: [d_date_sk#9] -Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner +Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner, BuildRight (18) CometProject Input [4]: [ca_state#2, ss_item_sk#5, ss_sold_date_sk#7, d_date_sk#9] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q64/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q64/explain.txt index 626c5688c..4088fb409 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q64/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q64/explain.txt @@ -216,7 +216,7 @@ Arguments: [sr_item_sk#14, sr_ticket_number#15], [sr_item_sk#14, sr_ticket_numbe (7) CometBroadcastHashJoin Left output [12]: [ss_item_sk#1, ss_customer_sk#2, ss_cdemo_sk#3, ss_hdemo_sk#4, ss_addr_sk#5, ss_store_sk#6, ss_promo_sk#7, ss_ticket_number#8, ss_wholesale_cost#9, ss_list_price#10, ss_coupon_amt#11, ss_sold_date_sk#12] Right output [2]: [sr_item_sk#14, sr_ticket_number#15] -Arguments: [ss_item_sk#1, ss_ticket_number#8], [sr_item_sk#14, sr_ticket_number#15], Inner +Arguments: [ss_item_sk#1, ss_ticket_number#8], [sr_item_sk#14, sr_ticket_number#15], Inner, BuildLeft (8) CometProject Input [14]: [ss_item_sk#1, ss_customer_sk#2, ss_cdemo_sk#3, ss_hdemo_sk#4, ss_addr_sk#5, ss_store_sk#6, ss_promo_sk#7, ss_ticket_number#8, ss_wholesale_cost#9, ss_list_price#10, ss_coupon_amt#11, ss_sold_date_sk#12, sr_item_sk#14, sr_ticket_number#15] @@ -725,7 +725,7 @@ Arguments: [sr_item_sk#119, sr_ticket_number#120], [sr_item_sk#119, sr_ticket_nu (117) CometBroadcastHashJoin Left output [12]: [ss_item_sk#106, ss_customer_sk#107, ss_cdemo_sk#108, ss_hdemo_sk#109, ss_addr_sk#110, ss_store_sk#111, ss_promo_sk#112, ss_ticket_number#113, ss_wholesale_cost#114, ss_list_price#115, ss_coupon_amt#116, ss_sold_date_sk#117] Right output [2]: [sr_item_sk#119, sr_ticket_number#120] -Arguments: [ss_item_sk#106, ss_ticket_number#113], [sr_item_sk#119, sr_ticket_number#120], Inner +Arguments: [ss_item_sk#106, ss_ticket_number#113], [sr_item_sk#119, sr_ticket_number#120], Inner, BuildLeft (118) CometProject Input [14]: [ss_item_sk#106, ss_customer_sk#107, ss_cdemo_sk#108, ss_hdemo_sk#109, ss_addr_sk#110, ss_store_sk#111, ss_promo_sk#112, ss_ticket_number#113, ss_wholesale_cost#114, ss_list_price#115, ss_coupon_amt#116, ss_sold_date_sk#117, sr_item_sk#119, sr_ticket_number#120] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q67a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q67a/explain.txt index 93fd69c99..76545b83a 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q67a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q67a/explain.txt @@ -103,7 +103,7 @@ Arguments: [d_date_sk#7, d_year#9, d_moy#10, d_qoy#11] (7) CometBroadcastHashJoin Left output [5]: [ss_item_sk#1, ss_store_sk#2, ss_quantity#3, ss_sales_price#4, ss_sold_date_sk#5] Right output [4]: [d_date_sk#7, d_year#9, d_moy#10, d_qoy#11] -Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner +Arguments: [ss_sold_date_sk#5], [d_date_sk#7], Inner, BuildRight (8) CometProject Input [9]: [ss_item_sk#1, ss_store_sk#2, ss_quantity#3, ss_sales_price#4, ss_sold_date_sk#5, d_date_sk#7, d_year#9, d_moy#10, d_qoy#11] @@ -127,7 +127,7 @@ Arguments: [s_store_sk#12, s_store_id#13] (12) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_store_sk#2, ss_quantity#3, ss_sales_price#4, d_year#9, d_moy#10, d_qoy#11] Right output [2]: [s_store_sk#12, s_store_id#13] -Arguments: [ss_store_sk#2], [s_store_sk#12], Inner +Arguments: [ss_store_sk#2], [s_store_sk#12], Inner, BuildRight (13) CometProject Input [9]: [ss_item_sk#1, ss_store_sk#2, ss_quantity#3, ss_sales_price#4, d_year#9, d_moy#10, d_qoy#11, s_store_sk#12, s_store_id#13] @@ -151,7 +151,7 @@ Arguments: [i_item_sk#14, i_brand#15, i_class#16, i_category#17, i_product_name# (17) CometBroadcastHashJoin Left output [7]: [ss_item_sk#1, ss_quantity#3, ss_sales_price#4, d_year#9, d_moy#10, d_qoy#11, s_store_id#13] Right output [5]: [i_item_sk#14, i_brand#15, i_class#16, i_category#17, i_product_name#18] -Arguments: [ss_item_sk#1], [i_item_sk#14], Inner +Arguments: [ss_item_sk#1], [i_item_sk#14], Inner, BuildRight (18) CometProject Input [12]: [ss_item_sk#1, ss_quantity#3, ss_sales_price#4, d_year#9, d_moy#10, d_qoy#11, s_store_id#13, i_item_sk#14, i_brand#15, i_class#16, i_category#17, i_product_name#18] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q70a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q70a/explain.txt index a1c93644a..9e148a827 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q70a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q70a/explain.txt @@ -92,7 +92,7 @@ Arguments: [d_date_sk#5] (7) CometBroadcastHashJoin Left output [3]: [ss_store_sk#1, ss_net_profit#2, ss_sold_date_sk#3] Right output [1]: [d_date_sk#5] -Arguments: [ss_sold_date_sk#3], [d_date_sk#5], Inner +Arguments: [ss_sold_date_sk#3], [d_date_sk#5], Inner, BuildRight (8) CometProject Input [4]: [ss_store_sk#1, ss_net_profit#2, ss_sold_date_sk#3, d_date_sk#5] @@ -145,7 +145,7 @@ Arguments: [s_store_sk#14, s_state#15] (18) CometBroadcastHashJoin Left output [3]: [ss_store_sk#10, ss_net_profit#11, ss_sold_date_sk#12] Right output [2]: [s_store_sk#14, s_state#15] -Arguments: [ss_store_sk#10], [s_store_sk#14], Inner +Arguments: [ss_store_sk#10], [s_store_sk#14], Inner, BuildRight (19) CometProject Input [5]: [ss_store_sk#10, ss_net_profit#11, ss_sold_date_sk#12, s_store_sk#14, s_state#15] @@ -157,7 +157,7 @@ Output [1]: [d_date_sk#16] (21) CometBroadcastHashJoin Left output [3]: [ss_net_profit#11, ss_sold_date_sk#12, s_state#15] Right output [1]: [d_date_sk#16] -Arguments: [ss_sold_date_sk#12], [d_date_sk#16], Inner +Arguments: [ss_sold_date_sk#12], [d_date_sk#16], Inner, BuildRight (22) CometProject Input [4]: [ss_net_profit#11, ss_sold_date_sk#12, s_state#15, d_date_sk#16] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q72/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q72/explain.txt index c35541ada..8bff19a72 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q72/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q72/explain.txt @@ -99,7 +99,7 @@ Arguments: [inv_item_sk#10, inv_warehouse_sk#11, inv_quantity_on_hand#12, inv_da (6) CometBroadcastHashJoin Left output [8]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_quantity#7, cs_sold_date_sk#8] Right output [4]: [inv_item_sk#10, inv_warehouse_sk#11, inv_quantity_on_hand#12, inv_date_sk#13] -Arguments: [cs_item_sk#4], [inv_item_sk#10], Inner, (inv_quantity_on_hand#12 < cs_quantity#7) +Arguments: [cs_item_sk#4], [inv_item_sk#10], Inner, (inv_quantity_on_hand#12 < cs_quantity#7), BuildRight (7) CometProject Input [12]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_quantity#7, cs_sold_date_sk#8, inv_item_sk#10, inv_warehouse_sk#11, inv_quantity_on_hand#12, inv_date_sk#13] @@ -123,7 +123,7 @@ Arguments: [w_warehouse_sk#14, w_warehouse_name#15] (11) CometBroadcastHashJoin Left output [9]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_warehouse_sk#11, inv_date_sk#13] Right output [2]: [w_warehouse_sk#14, w_warehouse_name#15] -Arguments: [inv_warehouse_sk#11], [w_warehouse_sk#14], Inner +Arguments: [inv_warehouse_sk#11], [w_warehouse_sk#14], Inner, BuildRight (12) CometProject Input [11]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_warehouse_sk#11, inv_date_sk#13, w_warehouse_sk#14, w_warehouse_name#15] @@ -147,7 +147,7 @@ Arguments: [i_item_sk#16, i_item_desc#17] (16) CometBroadcastHashJoin Left output [9]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15] Right output [2]: [i_item_sk#16, i_item_desc#17] -Arguments: [cs_item_sk#4], [i_item_sk#16], Inner +Arguments: [cs_item_sk#4], [i_item_sk#16], Inner, BuildRight (17) CometProject Input [11]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_sk#16, i_item_desc#17] @@ -175,7 +175,7 @@ Arguments: [cd_demo_sk#18] (22) CometBroadcastHashJoin Left output [10]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17] Right output [1]: [cd_demo_sk#18] -Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#18], Inner +Arguments: [cs_bill_cdemo_sk#2], [cd_demo_sk#18], Inner, BuildRight (23) CometProject Input [11]: [cs_ship_date_sk#1, cs_bill_cdemo_sk#2, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17, cd_demo_sk#18] @@ -203,7 +203,7 @@ Arguments: [hd_demo_sk#20] (28) CometBroadcastHashJoin Left output [9]: [cs_ship_date_sk#1, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17] Right output [1]: [hd_demo_sk#20] -Arguments: [cs_bill_hdemo_sk#3], [hd_demo_sk#20], Inner +Arguments: [cs_bill_hdemo_sk#3], [hd_demo_sk#20], Inner, BuildRight (29) CometProject Input [10]: [cs_ship_date_sk#1, cs_bill_hdemo_sk#3, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17, hd_demo_sk#20] @@ -231,7 +231,7 @@ Arguments: [d_date_sk#22, d_date#23, d_week_seq#24] (34) CometBroadcastHashJoin Left output [8]: [cs_ship_date_sk#1, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17] Right output [3]: [d_date_sk#22, d_date#23, d_week_seq#24] -Arguments: [cs_sold_date_sk#8], [d_date_sk#22], Inner +Arguments: [cs_sold_date_sk#8], [d_date_sk#22], Inner, BuildRight (35) CometProject Input [11]: [cs_ship_date_sk#1, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, cs_sold_date_sk#8, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17, d_date_sk#22, d_date#23, d_week_seq#24] @@ -255,7 +255,7 @@ Arguments: [d_date_sk#26, d_week_seq#27] (39) CometBroadcastHashJoin Left output [9]: [cs_ship_date_sk#1, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17, d_date#23, d_week_seq#24] Right output [2]: [d_date_sk#26, d_week_seq#27] -Arguments: [d_week_seq#24, inv_date_sk#13], [d_week_seq#27, d_date_sk#26], Inner +Arguments: [d_week_seq#24, inv_date_sk#13], [d_week_seq#27, d_date_sk#26], Inner, BuildRight (40) CometProject Input [11]: [cs_ship_date_sk#1, cs_item_sk#4, cs_promo_sk#5, cs_order_number#6, inv_date_sk#13, w_warehouse_name#15, i_item_desc#17, d_date#23, d_week_seq#24, d_date_sk#26, d_week_seq#27] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q74/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q74/explain.txt index c8a2d3a23..661c552f2 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q74/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q74/explain.txt @@ -102,7 +102,7 @@ Arguments: [ss_customer_sk#5, ss_net_paid#6, ss_sold_date_sk#7] (6) CometBroadcastHashJoin Left output [4]: [c_customer_sk#1, c_customer_id#2, c_first_name#3, c_last_name#4] Right output [3]: [ss_customer_sk#5, ss_net_paid#6, ss_sold_date_sk#7] -Arguments: [c_customer_sk#1], [ss_customer_sk#5], Inner +Arguments: [c_customer_sk#1], [ss_customer_sk#5], Inner, BuildRight (7) CometProject Input [7]: [c_customer_sk#1, c_customer_id#2, c_first_name#3, c_last_name#4, ss_customer_sk#5, ss_net_paid#6, ss_sold_date_sk#7] @@ -126,7 +126,7 @@ Arguments: [d_date_sk#9, d_year#10] (11) CometBroadcastHashJoin Left output [5]: [c_customer_id#2, c_first_name#3, c_last_name#4, ss_net_paid#6, ss_sold_date_sk#7] Right output [2]: [d_date_sk#9, d_year#10] -Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner +Arguments: [ss_sold_date_sk#7], [d_date_sk#9], Inner, BuildRight (12) CometProject Input [7]: [c_customer_id#2, c_first_name#3, c_last_name#4, ss_net_paid#6, ss_sold_date_sk#7, d_date_sk#9, d_year#10] @@ -185,7 +185,7 @@ Arguments: [ss_customer_sk#19, ss_net_paid#20, ss_sold_date_sk#21] (23) CometBroadcastHashJoin Left output [4]: [c_customer_sk#15, c_customer_id#16, c_first_name#17, c_last_name#18] Right output [3]: [ss_customer_sk#19, ss_net_paid#20, ss_sold_date_sk#21] -Arguments: [c_customer_sk#15], [ss_customer_sk#19], Inner +Arguments: [c_customer_sk#15], [ss_customer_sk#19], Inner, BuildRight (24) CometProject Input [7]: [c_customer_sk#15, c_customer_id#16, c_first_name#17, c_last_name#18, ss_customer_sk#19, ss_net_paid#20, ss_sold_date_sk#21] @@ -209,7 +209,7 @@ Arguments: [d_date_sk#23, d_year#24] (28) CometBroadcastHashJoin Left output [5]: [c_customer_id#16, c_first_name#17, c_last_name#18, ss_net_paid#20, ss_sold_date_sk#21] Right output [2]: [d_date_sk#23, d_year#24] -Arguments: [ss_sold_date_sk#21], [d_date_sk#23], Inner +Arguments: [ss_sold_date_sk#21], [d_date_sk#23], Inner, BuildRight (29) CometProject Input [7]: [c_customer_id#16, c_first_name#17, c_last_name#18, ss_net_paid#20, ss_sold_date_sk#21, d_date_sk#23, d_year#24] @@ -274,7 +274,7 @@ Arguments: [ws_bill_customer_sk#34, ws_net_paid#35, ws_sold_date_sk#36] (41) CometBroadcastHashJoin Left output [4]: [c_customer_sk#30, c_customer_id#31, c_first_name#32, c_last_name#33] Right output [3]: [ws_bill_customer_sk#34, ws_net_paid#35, ws_sold_date_sk#36] -Arguments: [c_customer_sk#30], [ws_bill_customer_sk#34], Inner +Arguments: [c_customer_sk#30], [ws_bill_customer_sk#34], Inner, BuildRight (42) CometProject Input [7]: [c_customer_sk#30, c_customer_id#31, c_first_name#32, c_last_name#33, ws_bill_customer_sk#34, ws_net_paid#35, ws_sold_date_sk#36] @@ -286,7 +286,7 @@ Output [2]: [d_date_sk#38, d_year#39] (44) CometBroadcastHashJoin Left output [5]: [c_customer_id#31, c_first_name#32, c_last_name#33, ws_net_paid#35, ws_sold_date_sk#36] Right output [2]: [d_date_sk#38, d_year#39] -Arguments: [ws_sold_date_sk#36], [d_date_sk#38], Inner +Arguments: [ws_sold_date_sk#36], [d_date_sk#38], Inner, BuildRight (45) CometProject Input [7]: [c_customer_id#31, c_first_name#32, c_last_name#33, ws_net_paid#35, ws_sold_date_sk#36, d_date_sk#38, d_year#39] @@ -359,7 +359,7 @@ Arguments: [ws_bill_customer_sk#48, ws_net_paid#49, ws_sold_date_sk#50] (59) CometBroadcastHashJoin Left output [4]: [c_customer_sk#44, c_customer_id#45, c_first_name#46, c_last_name#47] Right output [3]: [ws_bill_customer_sk#48, ws_net_paid#49, ws_sold_date_sk#50] -Arguments: [c_customer_sk#44], [ws_bill_customer_sk#48], Inner +Arguments: [c_customer_sk#44], [ws_bill_customer_sk#48], Inner, BuildRight (60) CometProject Input [7]: [c_customer_sk#44, c_customer_id#45, c_first_name#46, c_last_name#47, ws_bill_customer_sk#48, ws_net_paid#49, ws_sold_date_sk#50] @@ -371,7 +371,7 @@ Output [2]: [d_date_sk#52, d_year#53] (62) CometBroadcastHashJoin Left output [5]: [c_customer_id#45, c_first_name#46, c_last_name#47, ws_net_paid#49, ws_sold_date_sk#50] Right output [2]: [d_date_sk#52, d_year#53] -Arguments: [ws_sold_date_sk#50], [d_date_sk#52], Inner +Arguments: [ws_sold_date_sk#50], [d_date_sk#52], Inner, BuildRight (63) CometProject Input [7]: [c_customer_id#45, c_first_name#46, c_last_name#47, ws_net_paid#49, ws_sold_date_sk#50, d_date_sk#52, d_year#53] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q75/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q75/explain.txt index baf8516e1..564e40928 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q75/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q75/explain.txt @@ -167,7 +167,7 @@ Arguments: [i_item_sk#7, i_brand_id#8, i_class_id#9, i_category_id#10, i_manufac (7) CometBroadcastHashJoin Left output [5]: [cs_item_sk#1, cs_order_number#2, cs_quantity#3, cs_ext_sales_price#4, cs_sold_date_sk#5] Right output [5]: [i_item_sk#7, i_brand_id#8, i_class_id#9, i_category_id#10, i_manufact_id#12] -Arguments: [cs_item_sk#1], [i_item_sk#7], Inner +Arguments: [cs_item_sk#1], [i_item_sk#7], Inner, BuildRight (8) CometProject Input [10]: [cs_item_sk#1, cs_order_number#2, cs_quantity#3, cs_ext_sales_price#4, cs_sold_date_sk#5, i_item_sk#7, i_brand_id#8, i_class_id#9, i_category_id#10, i_manufact_id#12] @@ -191,7 +191,7 @@ Arguments: [d_date_sk#13, d_year#14] (12) CometBroadcastHashJoin Left output [9]: [cs_item_sk#1, cs_order_number#2, cs_quantity#3, cs_ext_sales_price#4, cs_sold_date_sk#5, i_brand_id#8, i_class_id#9, i_category_id#10, i_manufact_id#12] Right output [2]: [d_date_sk#13, d_year#14] -Arguments: [cs_sold_date_sk#5], [d_date_sk#13], Inner +Arguments: [cs_sold_date_sk#5], [d_date_sk#13], Inner, BuildRight (13) CometProject Input [11]: [cs_item_sk#1, cs_order_number#2, cs_quantity#3, cs_ext_sales_price#4, cs_sold_date_sk#5, i_brand_id#8, i_class_id#9, i_category_id#10, i_manufact_id#12, d_date_sk#13, d_year#14] @@ -262,7 +262,7 @@ Output [5]: [i_item_sk#28, i_brand_id#29, i_class_id#30, i_category_id#31, i_man (28) CometBroadcastHashJoin Left output [5]: [ss_item_sk#22, ss_ticket_number#23, ss_quantity#24, ss_ext_sales_price#25, ss_sold_date_sk#26] Right output [5]: [i_item_sk#28, i_brand_id#29, i_class_id#30, i_category_id#31, i_manufact_id#32] -Arguments: [ss_item_sk#22], [i_item_sk#28], Inner +Arguments: [ss_item_sk#22], [i_item_sk#28], Inner, BuildRight (29) CometProject Input [10]: [ss_item_sk#22, ss_ticket_number#23, ss_quantity#24, ss_ext_sales_price#25, ss_sold_date_sk#26, i_item_sk#28, i_brand_id#29, i_class_id#30, i_category_id#31, i_manufact_id#32] @@ -274,7 +274,7 @@ Output [2]: [d_date_sk#33, d_year#34] (31) CometBroadcastHashJoin Left output [9]: [ss_item_sk#22, ss_ticket_number#23, ss_quantity#24, ss_ext_sales_price#25, ss_sold_date_sk#26, i_brand_id#29, i_class_id#30, i_category_id#31, i_manufact_id#32] Right output [2]: [d_date_sk#33, d_year#34] -Arguments: [ss_sold_date_sk#26], [d_date_sk#33], Inner +Arguments: [ss_sold_date_sk#26], [d_date_sk#33], Inner, BuildRight (32) CometProject Input [11]: [ss_item_sk#22, ss_ticket_number#23, ss_quantity#24, ss_ext_sales_price#25, ss_sold_date_sk#26, i_brand_id#29, i_class_id#30, i_category_id#31, i_manufact_id#32, d_date_sk#33, d_year#34] @@ -345,7 +345,7 @@ Output [5]: [i_item_sk#48, i_brand_id#49, i_class_id#50, i_category_id#51, i_man (47) CometBroadcastHashJoin Left output [5]: [ws_item_sk#42, ws_order_number#43, ws_quantity#44, ws_ext_sales_price#45, ws_sold_date_sk#46] Right output [5]: [i_item_sk#48, i_brand_id#49, i_class_id#50, i_category_id#51, i_manufact_id#52] -Arguments: [ws_item_sk#42], [i_item_sk#48], Inner +Arguments: [ws_item_sk#42], [i_item_sk#48], Inner, BuildRight (48) CometProject Input [10]: [ws_item_sk#42, ws_order_number#43, ws_quantity#44, ws_ext_sales_price#45, ws_sold_date_sk#46, i_item_sk#48, i_brand_id#49, i_class_id#50, i_category_id#51, i_manufact_id#52] @@ -357,7 +357,7 @@ Output [2]: [d_date_sk#53, d_year#54] (50) CometBroadcastHashJoin Left output [9]: [ws_item_sk#42, ws_order_number#43, ws_quantity#44, ws_ext_sales_price#45, ws_sold_date_sk#46, i_brand_id#49, i_class_id#50, i_category_id#51, i_manufact_id#52] Right output [2]: [d_date_sk#53, d_year#54] -Arguments: [ws_sold_date_sk#46], [d_date_sk#53], Inner +Arguments: [ws_sold_date_sk#46], [d_date_sk#53], Inner, BuildRight (51) CometProject Input [11]: [ws_item_sk#42, ws_order_number#43, ws_quantity#44, ws_ext_sales_price#45, ws_sold_date_sk#46, i_brand_id#49, i_class_id#50, i_category_id#51, i_manufact_id#52, d_date_sk#53, d_year#54] @@ -478,7 +478,7 @@ Output [5]: [i_item_sk#76, i_brand_id#77, i_class_id#78, i_category_id#79, i_man (76) CometBroadcastHashJoin Left output [5]: [cs_item_sk#70, cs_order_number#71, cs_quantity#72, cs_ext_sales_price#73, cs_sold_date_sk#74] Right output [5]: [i_item_sk#76, i_brand_id#77, i_class_id#78, i_category_id#79, i_manufact_id#80] -Arguments: [cs_item_sk#70], [i_item_sk#76], Inner +Arguments: [cs_item_sk#70], [i_item_sk#76], Inner, BuildRight (77) CometProject Input [10]: [cs_item_sk#70, cs_order_number#71, cs_quantity#72, cs_ext_sales_price#73, cs_sold_date_sk#74, i_item_sk#76, i_brand_id#77, i_class_id#78, i_category_id#79, i_manufact_id#80] @@ -502,7 +502,7 @@ Arguments: [d_date_sk#81, d_year#82] (81) CometBroadcastHashJoin Left output [9]: [cs_item_sk#70, cs_order_number#71, cs_quantity#72, cs_ext_sales_price#73, cs_sold_date_sk#74, i_brand_id#77, i_class_id#78, i_category_id#79, i_manufact_id#80] Right output [2]: [d_date_sk#81, d_year#82] -Arguments: [cs_sold_date_sk#74], [d_date_sk#81], Inner +Arguments: [cs_sold_date_sk#74], [d_date_sk#81], Inner, BuildRight (82) CometProject Input [11]: [cs_item_sk#70, cs_order_number#71, cs_quantity#72, cs_ext_sales_price#73, cs_sold_date_sk#74, i_brand_id#77, i_class_id#78, i_category_id#79, i_manufact_id#80, d_date_sk#81, d_year#82] @@ -554,7 +554,7 @@ Output [5]: [i_item_sk#93, i_brand_id#94, i_class_id#95, i_category_id#96, i_man (93) CometBroadcastHashJoin Left output [5]: [ss_item_sk#87, ss_ticket_number#88, ss_quantity#89, ss_ext_sales_price#90, ss_sold_date_sk#91] Right output [5]: [i_item_sk#93, i_brand_id#94, i_class_id#95, i_category_id#96, i_manufact_id#97] -Arguments: [ss_item_sk#87], [i_item_sk#93], Inner +Arguments: [ss_item_sk#87], [i_item_sk#93], Inner, BuildRight (94) CometProject Input [10]: [ss_item_sk#87, ss_ticket_number#88, ss_quantity#89, ss_ext_sales_price#90, ss_sold_date_sk#91, i_item_sk#93, i_brand_id#94, i_class_id#95, i_category_id#96, i_manufact_id#97] @@ -566,7 +566,7 @@ Output [2]: [d_date_sk#98, d_year#99] (96) CometBroadcastHashJoin Left output [9]: [ss_item_sk#87, ss_ticket_number#88, ss_quantity#89, ss_ext_sales_price#90, ss_sold_date_sk#91, i_brand_id#94, i_class_id#95, i_category_id#96, i_manufact_id#97] Right output [2]: [d_date_sk#98, d_year#99] -Arguments: [ss_sold_date_sk#91], [d_date_sk#98], Inner +Arguments: [ss_sold_date_sk#91], [d_date_sk#98], Inner, BuildRight (97) CometProject Input [11]: [ss_item_sk#87, ss_ticket_number#88, ss_quantity#89, ss_ext_sales_price#90, ss_sold_date_sk#91, i_brand_id#94, i_class_id#95, i_category_id#96, i_manufact_id#97, d_date_sk#98, d_year#99] @@ -618,7 +618,7 @@ Output [5]: [i_item_sk#110, i_brand_id#111, i_class_id#112, i_category_id#113, i (108) CometBroadcastHashJoin Left output [5]: [ws_item_sk#104, ws_order_number#105, ws_quantity#106, ws_ext_sales_price#107, ws_sold_date_sk#108] Right output [5]: [i_item_sk#110, i_brand_id#111, i_class_id#112, i_category_id#113, i_manufact_id#114] -Arguments: [ws_item_sk#104], [i_item_sk#110], Inner +Arguments: [ws_item_sk#104], [i_item_sk#110], Inner, BuildRight (109) CometProject Input [10]: [ws_item_sk#104, ws_order_number#105, ws_quantity#106, ws_ext_sales_price#107, ws_sold_date_sk#108, i_item_sk#110, i_brand_id#111, i_class_id#112, i_category_id#113, i_manufact_id#114] @@ -630,7 +630,7 @@ Output [2]: [d_date_sk#115, d_year#116] (111) CometBroadcastHashJoin Left output [9]: [ws_item_sk#104, ws_order_number#105, ws_quantity#106, ws_ext_sales_price#107, ws_sold_date_sk#108, i_brand_id#111, i_class_id#112, i_category_id#113, i_manufact_id#114] Right output [2]: [d_date_sk#115, d_year#116] -Arguments: [ws_sold_date_sk#108], [d_date_sk#115], Inner +Arguments: [ws_sold_date_sk#108], [d_date_sk#115], Inner, BuildRight (112) CometProject Input [11]: [ws_item_sk#104, ws_order_number#105, ws_quantity#106, ws_ext_sales_price#107, ws_sold_date_sk#108, i_brand_id#111, i_class_id#112, i_category_id#113, i_manufact_id#114, d_date_sk#115, d_year#116] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q77a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q77a/explain.txt index 7943726ea..168e394dd 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q77a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q77a/explain.txt @@ -134,7 +134,7 @@ Arguments: [d_date_sk#6] (7) CometBroadcastHashJoin Left output [4]: [ss_store_sk#1, ss_ext_sales_price#2, ss_net_profit#3, ss_sold_date_sk#4] Right output [1]: [d_date_sk#6] -Arguments: [ss_sold_date_sk#4], [d_date_sk#6], Inner +Arguments: [ss_sold_date_sk#4], [d_date_sk#6], Inner, BuildRight (8) CometProject Input [5]: [ss_store_sk#1, ss_ext_sales_price#2, ss_net_profit#3, ss_sold_date_sk#4, d_date_sk#6] @@ -158,7 +158,7 @@ Arguments: [s_store_sk#8] (12) CometBroadcastHashJoin Left output [3]: [ss_store_sk#1, ss_ext_sales_price#2, ss_net_profit#3] Right output [1]: [s_store_sk#8] -Arguments: [ss_store_sk#1], [s_store_sk#8], Inner +Arguments: [ss_store_sk#1], [s_store_sk#8], Inner, BuildRight (13) CometProject Input [4]: [ss_store_sk#1, ss_ext_sales_price#2, ss_net_profit#3, s_store_sk#8] @@ -201,7 +201,7 @@ Output [1]: [d_date_sk#20] (21) CometBroadcastHashJoin Left output [4]: [sr_store_sk#15, sr_return_amt#16, sr_net_loss#17, sr_returned_date_sk#18] Right output [1]: [d_date_sk#20] -Arguments: [sr_returned_date_sk#18], [d_date_sk#20], Inner +Arguments: [sr_returned_date_sk#18], [d_date_sk#20], Inner, BuildRight (22) CometProject Input [5]: [sr_store_sk#15, sr_return_amt#16, sr_net_loss#17, sr_returned_date_sk#18, d_date_sk#20] @@ -213,7 +213,7 @@ Output [1]: [s_store_sk#21] (24) CometBroadcastHashJoin Left output [3]: [sr_store_sk#15, sr_return_amt#16, sr_net_loss#17] Right output [1]: [s_store_sk#21] -Arguments: [sr_store_sk#15], [s_store_sk#21], Inner +Arguments: [sr_store_sk#15], [s_store_sk#21], Inner, BuildRight (25) CometProject Input [4]: [sr_store_sk#15, sr_return_amt#16, sr_net_loss#17, s_store_sk#21] @@ -265,7 +265,7 @@ Output [1]: [d_date_sk#37] (35) CometBroadcastHashJoin Left output [4]: [cs_call_center_sk#32, cs_ext_sales_price#33, cs_net_profit#34, cs_sold_date_sk#35] Right output [1]: [d_date_sk#37] -Arguments: [cs_sold_date_sk#35], [d_date_sk#37], Inner +Arguments: [cs_sold_date_sk#35], [d_date_sk#37], Inner, BuildRight (36) CometProject Input [5]: [cs_call_center_sk#32, cs_ext_sales_price#33, cs_net_profit#34, cs_sold_date_sk#35, d_date_sk#37] @@ -307,7 +307,7 @@ Output [1]: [d_date_sk#48] (44) CometBroadcastHashJoin Left output [3]: [cr_return_amount#44, cr_net_loss#45, cr_returned_date_sk#46] Right output [1]: [d_date_sk#48] -Arguments: [cr_returned_date_sk#46], [d_date_sk#48], Inner +Arguments: [cr_returned_date_sk#46], [d_date_sk#48], Inner, BuildRight (45) CometProject Input [4]: [cr_return_amount#44, cr_net_loss#45, cr_returned_date_sk#46, d_date_sk#48] @@ -358,7 +358,7 @@ Output [1]: [d_date_sk#63] (55) CometBroadcastHashJoin Left output [4]: [ws_web_page_sk#58, ws_ext_sales_price#59, ws_net_profit#60, ws_sold_date_sk#61] Right output [1]: [d_date_sk#63] -Arguments: [ws_sold_date_sk#61], [d_date_sk#63], Inner +Arguments: [ws_sold_date_sk#61], [d_date_sk#63], Inner, BuildRight (56) CometProject Input [5]: [ws_web_page_sk#58, ws_ext_sales_price#59, ws_net_profit#60, ws_sold_date_sk#61, d_date_sk#63] @@ -382,7 +382,7 @@ Arguments: [wp_web_page_sk#64] (60) CometBroadcastHashJoin Left output [3]: [ws_web_page_sk#58, ws_ext_sales_price#59, ws_net_profit#60] Right output [1]: [wp_web_page_sk#64] -Arguments: [ws_web_page_sk#58], [wp_web_page_sk#64], Inner +Arguments: [ws_web_page_sk#58], [wp_web_page_sk#64], Inner, BuildRight (61) CometProject Input [4]: [ws_web_page_sk#58, ws_ext_sales_price#59, ws_net_profit#60, wp_web_page_sk#64] @@ -425,7 +425,7 @@ Output [1]: [d_date_sk#76] (69) CometBroadcastHashJoin Left output [4]: [wr_web_page_sk#71, wr_return_amt#72, wr_net_loss#73, wr_returned_date_sk#74] Right output [1]: [d_date_sk#76] -Arguments: [wr_returned_date_sk#74], [d_date_sk#76], Inner +Arguments: [wr_returned_date_sk#74], [d_date_sk#76], Inner, BuildRight (70) CometProject Input [5]: [wr_web_page_sk#71, wr_return_amt#72, wr_net_loss#73, wr_returned_date_sk#74, d_date_sk#76] @@ -437,7 +437,7 @@ Output [1]: [wp_web_page_sk#77] (72) CometBroadcastHashJoin Left output [3]: [wr_web_page_sk#71, wr_return_amt#72, wr_net_loss#73] Right output [1]: [wp_web_page_sk#77] -Arguments: [wr_web_page_sk#71], [wp_web_page_sk#77], Inner +Arguments: [wr_web_page_sk#71], [wp_web_page_sk#77], Inner, BuildRight (73) CometProject Input [4]: [wr_web_page_sk#71, wr_return_amt#72, wr_net_loss#73, wp_web_page_sk#77] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q86a/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q86a/explain.txt index 8bc3d6023..e125bab59 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q86a/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q86a/explain.txt @@ -71,7 +71,7 @@ Arguments: [d_date_sk#5] (7) CometBroadcastHashJoin Left output [3]: [ws_item_sk#1, ws_net_paid#2, ws_sold_date_sk#3] Right output [1]: [d_date_sk#5] -Arguments: [ws_sold_date_sk#3], [d_date_sk#5], Inner +Arguments: [ws_sold_date_sk#3], [d_date_sk#5], Inner, BuildRight (8) CometProject Input [4]: [ws_item_sk#1, ws_net_paid#2, ws_sold_date_sk#3, d_date_sk#5] @@ -95,7 +95,7 @@ Arguments: [i_item_sk#7, i_class#8, i_category#9] (12) CometBroadcastHashJoin Left output [2]: [ws_item_sk#1, ws_net_paid#2] Right output [3]: [i_item_sk#7, i_class#8, i_category#9] -Arguments: [ws_item_sk#1], [i_item_sk#7], Inner +Arguments: [ws_item_sk#1], [i_item_sk#7], Inner, BuildRight (13) CometProject Input [5]: [ws_item_sk#1, ws_net_paid#2, i_item_sk#7, i_class#8, i_category#9] diff --git a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q98/explain.txt b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q98/explain.txt index aca305304..799687a19 100644 --- a/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q98/explain.txt +++ b/spark/src/test/resources/tpcds-plan-stability/approved-plans-v2_7/q98/explain.txt @@ -54,7 +54,7 @@ Arguments: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class# (6) CometBroadcastHashJoin Left output [3]: [ss_item_sk#1, ss_ext_sales_price#2, ss_sold_date_sk#3] Right output [6]: [i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] -Arguments: [ss_item_sk#1], [i_item_sk#5], Inner +Arguments: [ss_item_sk#1], [i_item_sk#5], Inner, BuildRight (7) CometProject Input [9]: [ss_item_sk#1, ss_ext_sales_price#2, ss_sold_date_sk#3, i_item_sk#5, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] @@ -82,7 +82,7 @@ Arguments: [d_date_sk#11] (12) CometBroadcastHashJoin Left output [7]: [ss_ext_sales_price#2, ss_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10] Right output [1]: [d_date_sk#11] -Arguments: [ss_sold_date_sk#3], [d_date_sk#11], Inner +Arguments: [ss_sold_date_sk#3], [d_date_sk#11], Inner, BuildRight (13) CometProject Input [8]: [ss_ext_sales_price#2, ss_sold_date_sk#3, i_item_id#6, i_item_desc#7, i_current_price#8, i_class#9, i_category#10, d_date_sk#11]