@@ -100,35 +100,34 @@ TakeOrderedAndProject [customer_preferred_cust_flag]
100100 InputAdapter
101101 Exchange [customer_id] #10
102102 WholeStageCodegen (24)
103- Project [customer_id,year_total]
104- Filter [year_total]
105- HashAggregate [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year,sum] [sum(UnscaledValue(CheckOverflow((promote_precision(cast(ws_ext_list_price as decimal(8,2))) - promote_precision(cast(ws_ext_discount_amt as decimal(8,2)))), DecimalType(8,2), true))),customer_id,year_total,sum]
106- InputAdapter
107- Exchange [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year] #11
108- WholeStageCodegen (23)
109- HashAggregate [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year,ws_ext_list_price,ws_ext_discount_amt] [sum,sum]
110- Project [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ws_ext_discount_amt,ws_ext_list_price,d_year]
111- SortMergeJoin [ws_bill_customer_sk,c_customer_sk]
112- InputAdapter
113- WholeStageCodegen (20)
114- Sort [ws_bill_customer_sk]
115- InputAdapter
116- Exchange [ws_bill_customer_sk] #12
117- WholeStageCodegen (19)
118- Project [ws_bill_customer_sk,ws_ext_discount_amt,ws_ext_list_price,d_year]
119- BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
120- Filter [ws_bill_customer_sk]
121- ColumnarToRow
122- InputAdapter
123- Scan parquet default.web_sales [ws_bill_customer_sk,ws_ext_discount_amt,ws_ext_list_price,ws_sold_date_sk]
124- ReusedSubquery [d_date_sk] #1
125- InputAdapter
126- ReusedExchange [d_date_sk,d_year] #4
127- InputAdapter
128- WholeStageCodegen (22)
129- Sort [c_customer_sk]
130- InputAdapter
131- ReusedExchange [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address] #5
103+ Filter [year_total]
104+ HashAggregate [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year,sum] [sum(UnscaledValue(CheckOverflow((promote_precision(cast(ws_ext_list_price as decimal(8,2))) - promote_precision(cast(ws_ext_discount_amt as decimal(8,2)))), DecimalType(8,2), true))),customer_id,year_total,sum]
105+ InputAdapter
106+ Exchange [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year] #11
107+ WholeStageCodegen (23)
108+ HashAggregate [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year,ws_ext_list_price,ws_ext_discount_amt] [sum,sum]
109+ Project [c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,ws_ext_discount_amt,ws_ext_list_price,d_year]
110+ SortMergeJoin [ws_bill_customer_sk,c_customer_sk]
111+ InputAdapter
112+ WholeStageCodegen (20)
113+ Sort [ws_bill_customer_sk]
114+ InputAdapter
115+ Exchange [ws_bill_customer_sk] #12
116+ WholeStageCodegen (19)
117+ Project [ws_bill_customer_sk,ws_ext_discount_amt,ws_ext_list_price,d_year]
118+ BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
119+ Filter [ws_bill_customer_sk]
120+ ColumnarToRow
121+ InputAdapter
122+ Scan parquet default.web_sales [ws_bill_customer_sk,ws_ext_discount_amt,ws_ext_list_price,ws_sold_date_sk]
123+ ReusedSubquery [d_date_sk] #1
124+ InputAdapter
125+ ReusedExchange [d_date_sk,d_year] #4
126+ InputAdapter
127+ WholeStageCodegen (22)
128+ Sort [c_customer_sk]
129+ InputAdapter
130+ ReusedExchange [c_customer_sk,c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address] #5
132131 InputAdapter
133132 WholeStageCodegen (34)
134133 Sort [customer_id]
0 commit comments