WholeStageCodegen (54)
  Sort [product_name,store_name,cnt]
    InputAdapter
      Exchange [product_name,store_name,cnt] #1
        WholeStageCodegen (53)
          Project [product_name,store_name,store_zip,b_street_number,b_streen_name,b_city,b_zip,c_street_number,c_street_name,c_city,c_zip,syear,cnt,s1,s2,s3,s1,s2,s3,syear,cnt]
            SortMergeJoin [item_sk,store_name,store_zip,item_sk,store_name,store_zip,cnt,cnt]
              InputAdapter
                WholeStageCodegen (26)
                  Sort [item_sk,store_name,store_zip]
                    InputAdapter
                      Exchange [item_sk,store_name,store_zip] #2
                        WholeStageCodegen (25)
                          HashAggregate [i_product_name,i_item_sk,s_store_name,s_zip,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip,d_year,d_year,d_year,count,sum,sum,sum] [count(1),sum(UnscaledValue(ss_wholesale_cost)),sum(UnscaledValue(ss_list_price)),sum(UnscaledValue(ss_coupon_amt)),product_name,item_sk,store_name,store_zip,b_street_number,b_streen_name,b_city,b_zip,c_street_number,c_street_name,c_city,c_zip,syear,cnt,s1,s2,s3,count,sum,sum,sum]
                            HashAggregate [i_product_name,i_item_sk,s_store_name,s_zip,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip,d_year,d_year,d_year,ss_wholesale_cost,ss_list_price,ss_coupon_amt] [count,sum,sum,sum,count,sum,sum,sum]
                              Project [ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,d_year,d_year,s_store_name,s_zip,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip,i_item_sk,i_product_name]
                                BroadcastHashJoin [ss_item_sk,i_item_sk]
                                  Project [ss_item_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,d_year,d_year,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip]
                                    BroadcastHashJoin [hd_income_band_sk,ib_income_band_sk]
                                      Project [ss_item_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,d_year,d_year,hd_income_band_sk,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip]
                                        BroadcastHashJoin [hd_income_band_sk,ib_income_band_sk]
                                          Project [ss_item_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,d_year,d_year,hd_income_band_sk,hd_income_band_sk,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip]
                                            BroadcastHashJoin [c_current_addr_sk,ca_address_sk]
                                              Project [ss_item_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_addr_sk,d_year,d_year,hd_income_band_sk,hd_income_band_sk,ca_street_number,ca_street_name,ca_city,ca_zip]
                                                BroadcastHashJoin [ss_addr_sk,ca_address_sk]
                                                  Project [ss_item_sk,ss_addr_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_addr_sk,d_year,d_year,hd_income_band_sk,hd_income_band_sk]
                                                    BroadcastHashJoin [c_current_hdemo_sk,hd_demo_sk]
                                                      Project [ss_item_sk,ss_addr_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_hdemo_sk,c_current_addr_sk,d_year,d_year,hd_income_band_sk]
                                                        BroadcastHashJoin [ss_hdemo_sk,hd_demo_sk]
                                                          Project [ss_item_sk,ss_hdemo_sk,ss_addr_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_hdemo_sk,c_current_addr_sk,d_year,d_year]
                                                            BroadcastHashJoin [ss_promo_sk,p_promo_sk]
                                                              Project [ss_item_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_hdemo_sk,c_current_addr_sk,d_year,d_year]
                                                                BroadcastHashJoin [c_current_cdemo_sk,cd_demo_sk,cd_marital_status,cd_marital_status]
                                                                  Project [ss_item_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_cdemo_sk,c_current_hdemo_sk,c_current_addr_sk,d_year,d_year,cd_marital_status]
                                                                    BroadcastHashJoin [ss_cdemo_sk,cd_demo_sk]
                                                                      Project [ss_item_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_cdemo_sk,c_current_hdemo_sk,c_current_addr_sk,d_year,d_year]
                                                                        BroadcastHashJoin [c_first_shipto_date_sk,d_date_sk]
                                                                          Project [ss_item_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_cdemo_sk,c_current_hdemo_sk,c_current_addr_sk,c_first_shipto_date_sk,d_year]
                                                                            BroadcastHashJoin [c_first_sales_date_sk,d_date_sk]
                                                                              Project [ss_item_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_cdemo_sk,c_current_hdemo_sk,c_current_addr_sk,c_first_shipto_date_sk,c_first_sales_date_sk]
                                                                                BroadcastHashJoin [ss_customer_sk,c_customer_sk]
                                                                                  Project [ss_item_sk,ss_customer_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip]
                                                                                    BroadcastHashJoin [ss_store_sk,s_store_sk]
                                                                                      Project [ss_item_sk,ss_customer_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year]
                                                                                        BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
                                                                                          Project [ss_item_sk,ss_customer_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,ss_sold_date_sk]
                                                                                            SortMergeJoin [ss_item_sk,cs_item_sk]
                                                                                              InputAdapter
                                                                                                WholeStageCodegen (3)
                                                                                                  Sort [ss_item_sk]
                                                                                                    InputAdapter
                                                                                                      Exchange [ss_item_sk] #3
                                                                                                        WholeStageCodegen (2)
                                                                                                          Project [ss_item_sk,ss_customer_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,ss_sold_date_sk]
                                                                                                            BroadcastHashJoin [ss_item_sk,ss_ticket_number,sr_item_sk,sr_ticket_number]
                                                                                                              InputAdapter
                                                                                                                BroadcastExchange #4
                                                                                                                  WholeStageCodegen (1)
                                                                                                                    Filter [ss_item_sk,ss_ticket_number,ss_store_sk,ss_customer_sk,ss_cdemo_sk,ss_promo_sk,ss_hdemo_sk,ss_addr_sk]
                                                                                                                      ColumnarToRow
                                                                                                                        InputAdapter
                                                                                                                          Scan parquet spark_catalog.default.store_sales [ss_item_sk,ss_customer_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_promo_sk,ss_ticket_number,ss_wholesale_cost,ss_list_price,ss_coupon_amt,ss_sold_date_sk]
                                                                                                                            SubqueryBroadcast [d_date_sk] #1
                                                                                                                              BroadcastExchange #5
                                                                                                                                WholeStageCodegen (1)
                                                                                                                                  Filter [d_year,d_date_sk]
                                                                                                                                    ColumnarToRow
                                                                                                                                      InputAdapter
                                                                                                                                        Scan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
                                                                                                              Project [sr_item_sk,sr_ticket_number]
                                                                                                                Filter [sr_item_sk,sr_ticket_number]
                                                                                                                  ColumnarToRow
                                                                                                                    InputAdapter
                                                                                                                      Scan parquet spark_catalog.default.store_returns [sr_item_sk,sr_ticket_number,sr_returned_date_sk]
                                                                                              InputAdapter
                                                                                                WholeStageCodegen (9)
                                                                                                  Sort [cs_item_sk]
                                                                                                    Project [cs_item_sk]
                                                                                                      Filter [sale,refund]
                                                                                                        HashAggregate [cs_item_sk,sum,sum,isEmpty] [sum(UnscaledValue(cs_ext_list_price)),sum(((cr_refunded_cash + cr_reversed_charge) + cr_store_credit)),sale,refund,sum,sum,isEmpty]
                                                                                                          InputAdapter
                                                                                                            Exchange [cs_item_sk] #6
                                                                                                              WholeStageCodegen (8)
                                                                                                                HashAggregate [cs_item_sk,cs_ext_list_price,cr_refunded_cash,cr_reversed_charge,cr_store_credit] [sum,sum,isEmpty,sum,sum,isEmpty]
                                                                                                                  Project [cs_item_sk,cs_ext_list_price,cr_refunded_cash,cr_reversed_charge,cr_store_credit]
                                                                                                                    SortMergeJoin [cs_item_sk,cs_order_number,cr_item_sk,cr_order_number]
                                                                                                                      InputAdapter
                                                                                                                        WholeStageCodegen (5)
                                                                                                                          Sort [cs_item_sk,cs_order_number]
                                                                                                                            InputAdapter
                                                                                                                              Exchange [cs_item_sk,cs_order_number] #7
                                                                                                                                WholeStageCodegen (4)
                                                                                                                                  Project [cs_item_sk,cs_order_number,cs_ext_list_price]
                                                                                                                                    Filter [cs_item_sk,cs_order_number]
                                                                                                                                      ColumnarToRow
                                                                                                                                        InputAdapter
                                                                                                                                          Scan parquet spark_catalog.default.catalog_sales [cs_item_sk,cs_order_number,cs_ext_list_price,cs_sold_date_sk]
                                                                                                                      InputAdapter
                                                                                                                        WholeStageCodegen (7)
                                                                                                                          Sort [cr_item_sk,cr_order_number]
                                                                                                                            InputAdapter
                                                                                                                              Exchange [cr_item_sk,cr_order_number] #8
                                                                                                                                WholeStageCodegen (6)
                                                                                                                                  Project [cr_item_sk,cr_order_number,cr_refunded_cash,cr_reversed_charge,cr_store_credit]
                                                                                                                                    Filter [cr_item_sk,cr_order_number]
                                                                                                                                      ColumnarToRow
                                                                                                                                        InputAdapter
                                                                                                                                          Scan parquet spark_catalog.default.catalog_returns [cr_item_sk,cr_order_number,cr_refunded_cash,cr_reversed_charge,cr_store_credit,cr_returned_date_sk]
                                                                                          InputAdapter
                                                                                            ReusedExchange [d_date_sk,d_year] #5
                                                                                      InputAdapter
                                                                                        BroadcastExchange #9
                                                                                          WholeStageCodegen (11)
                                                                                            Filter [s_store_sk,s_store_name,s_zip]
                                                                                              ColumnarToRow
                                                                                                InputAdapter
                                                                                                  Scan parquet spark_catalog.default.store [s_store_sk,s_store_name,s_zip]
                                                                                  InputAdapter
                                                                                    BroadcastExchange #10
                                                                                      WholeStageCodegen (12)
                                                                                        Filter [c_customer_sk,c_first_sales_date_sk,c_first_shipto_date_sk,c_current_cdemo_sk,c_current_hdemo_sk,c_current_addr_sk]
                                                                                          ColumnarToRow
                                                                                            InputAdapter
                                                                                              Scan parquet spark_catalog.default.customer [c_customer_sk,c_current_cdemo_sk,c_current_hdemo_sk,c_current_addr_sk,c_first_shipto_date_sk,c_first_sales_date_sk]
                                                                              InputAdapter
                                                                                BroadcastExchange #11
                                                                                  WholeStageCodegen (13)
                                                                                    Filter [d_date_sk]
                                                                                      ColumnarToRow
                                                                                        InputAdapter
                                                                                          Scan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
                                                                          InputAdapter
                                                                            ReusedExchange [d_date_sk,d_year] #11
                                                                      InputAdapter
                                                                        BroadcastExchange #12
                                                                          WholeStageCodegen (15)
                                                                            Filter [cd_demo_sk,cd_marital_status]
                                                                              ColumnarToRow
                                                                                InputAdapter
                                                                                  Scan parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_marital_status]
                                                                  InputAdapter
                                                                    ReusedExchange [cd_demo_sk,cd_marital_status] #12
                                                              InputAdapter
                                                                BroadcastExchange #13
                                                                  WholeStageCodegen (17)
                                                                    Filter [p_promo_sk]
                                                                      ColumnarToRow
                                                                        InputAdapter
                                                                          Scan parquet spark_catalog.default.promotion [p_promo_sk]
                                                          InputAdapter
                                                            BroadcastExchange #14
                                                              WholeStageCodegen (18)
                                                                Filter [hd_demo_sk,hd_income_band_sk]
                                                                  ColumnarToRow
                                                                    InputAdapter
                                                                      Scan parquet spark_catalog.default.household_demographics [hd_demo_sk,hd_income_band_sk]
                                                      InputAdapter
                                                        ReusedExchange [hd_demo_sk,hd_income_band_sk] #14
                                                  InputAdapter
                                                    BroadcastExchange #15
                                                      WholeStageCodegen (20)
                                                        Filter [ca_address_sk]
                                                          ColumnarToRow
                                                            InputAdapter
                                                              Scan parquet spark_catalog.default.customer_address [ca_address_sk,ca_street_number,ca_street_name,ca_city,ca_zip]
                                              InputAdapter
                                                ReusedExchange [ca_address_sk,ca_street_number,ca_street_name,ca_city,ca_zip] #15
                                          InputAdapter
                                            BroadcastExchange #16
                                              WholeStageCodegen (22)
                                                Filter [ib_income_band_sk]
                                                  ColumnarToRow
                                                    InputAdapter
                                                      Scan parquet spark_catalog.default.income_band [ib_income_band_sk]
                                      InputAdapter
                                        ReusedExchange [ib_income_band_sk] #16
                                  InputAdapter
                                    BroadcastExchange #17
                                      WholeStageCodegen (24)
                                        Project [i_item_sk,i_product_name]
                                          Filter [i_current_price,i_color,i_item_sk]
                                            ColumnarToRow
                                              InputAdapter
                                                Scan parquet spark_catalog.default.item [i_item_sk,i_current_price,i_color,i_product_name]
              InputAdapter
                WholeStageCodegen (52)
                  Sort [item_sk,store_name,store_zip]
                    InputAdapter
                      Exchange [item_sk,store_name,store_zip] #18
                        WholeStageCodegen (51)
                          HashAggregate [i_product_name,i_item_sk,s_store_name,s_zip,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip,d_year,d_year,d_year,count,sum,sum,sum] [count(1),sum(UnscaledValue(ss_wholesale_cost)),sum(UnscaledValue(ss_list_price)),sum(UnscaledValue(ss_coupon_amt)),item_sk,store_name,store_zip,syear,cnt,s1,s2,s3,count,sum,sum,sum]
                            HashAggregate [i_product_name,i_item_sk,s_store_name,s_zip,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip,d_year,d_year,d_year,ss_wholesale_cost,ss_list_price,ss_coupon_amt] [count,sum,sum,sum,count,sum,sum,sum]
                              Project [ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,d_year,d_year,s_store_name,s_zip,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip,i_item_sk,i_product_name]
                                BroadcastHashJoin [ss_item_sk,i_item_sk]
                                  Project [ss_item_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,d_year,d_year,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip]
                                    BroadcastHashJoin [hd_income_band_sk,ib_income_band_sk]
                                      Project [ss_item_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,d_year,d_year,hd_income_band_sk,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip]
                                        BroadcastHashJoin [hd_income_band_sk,ib_income_band_sk]
                                          Project [ss_item_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,d_year,d_year,hd_income_band_sk,hd_income_band_sk,ca_street_number,ca_street_name,ca_city,ca_zip,ca_street_number,ca_street_name,ca_city,ca_zip]
                                            BroadcastHashJoin [c_current_addr_sk,ca_address_sk]
                                              Project [ss_item_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_addr_sk,d_year,d_year,hd_income_band_sk,hd_income_band_sk,ca_street_number,ca_street_name,ca_city,ca_zip]
                                                BroadcastHashJoin [ss_addr_sk,ca_address_sk]
                                                  Project [ss_item_sk,ss_addr_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_addr_sk,d_year,d_year,hd_income_band_sk,hd_income_band_sk]
                                                    BroadcastHashJoin [c_current_hdemo_sk,hd_demo_sk]
                                                      Project [ss_item_sk,ss_addr_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_hdemo_sk,c_current_addr_sk,d_year,d_year,hd_income_band_sk]
                                                        BroadcastHashJoin [ss_hdemo_sk,hd_demo_sk]
                                                          Project [ss_item_sk,ss_hdemo_sk,ss_addr_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_hdemo_sk,c_current_addr_sk,d_year,d_year]
                                                            BroadcastHashJoin [ss_promo_sk,p_promo_sk]
                                                              Project [ss_item_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_hdemo_sk,c_current_addr_sk,d_year,d_year]
                                                                BroadcastHashJoin [c_current_cdemo_sk,cd_demo_sk,cd_marital_status,cd_marital_status]
                                                                  Project [ss_item_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_cdemo_sk,c_current_hdemo_sk,c_current_addr_sk,d_year,d_year,cd_marital_status]
                                                                    BroadcastHashJoin [ss_cdemo_sk,cd_demo_sk]
                                                                      Project [ss_item_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_cdemo_sk,c_current_hdemo_sk,c_current_addr_sk,d_year,d_year]
                                                                        BroadcastHashJoin [c_first_shipto_date_sk,d_date_sk]
                                                                          Project [ss_item_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_cdemo_sk,c_current_hdemo_sk,c_current_addr_sk,c_first_shipto_date_sk,d_year]
                                                                            BroadcastHashJoin [c_first_sales_date_sk,d_date_sk]
                                                                              Project [ss_item_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip,c_current_cdemo_sk,c_current_hdemo_sk,c_current_addr_sk,c_first_shipto_date_sk,c_first_sales_date_sk]
                                                                                BroadcastHashJoin [ss_customer_sk,c_customer_sk]
                                                                                  Project [ss_item_sk,ss_customer_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year,s_store_name,s_zip]
                                                                                    BroadcastHashJoin [ss_store_sk,s_store_sk]
                                                                                      Project [ss_item_sk,ss_customer_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,d_year]
                                                                                        BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
                                                                                          Project [ss_item_sk,ss_customer_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,ss_sold_date_sk]
                                                                                            SortMergeJoin [ss_item_sk,cs_item_sk]
                                                                                              InputAdapter
                                                                                                WholeStageCodegen (29)
                                                                                                  Sort [ss_item_sk]
                                                                                                    InputAdapter
                                                                                                      Exchange [ss_item_sk] #19
                                                                                                        WholeStageCodegen (28)
                                                                                                          Project [ss_item_sk,ss_customer_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_promo_sk,ss_wholesale_cost,ss_list_price,ss_coupon_amt,ss_sold_date_sk]
                                                                                                            BroadcastHashJoin [ss_item_sk,ss_ticket_number,sr_item_sk,sr_ticket_number]
                                                                                                              InputAdapter
                                                                                                                BroadcastExchange #20
                                                                                                                  WholeStageCodegen (27)
                                                                                                                    Filter [ss_item_sk,ss_ticket_number,ss_store_sk,ss_customer_sk,ss_cdemo_sk,ss_promo_sk,ss_hdemo_sk,ss_addr_sk]
                                                                                                                      ColumnarToRow
                                                                                                                        InputAdapter
                                                                                                                          Scan parquet spark_catalog.default.store_sales [ss_item_sk,ss_customer_sk,ss_cdemo_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_promo_sk,ss_ticket_number,ss_wholesale_cost,ss_list_price,ss_coupon_amt,ss_sold_date_sk]
                                                                                                                            SubqueryBroadcast [d_date_sk] #2
                                                                                                                              BroadcastExchange #21
                                                                                                                                WholeStageCodegen (1)
                                                                                                                                  Filter [d_year,d_date_sk]
                                                                                                                                    ColumnarToRow
                                                                                                                                      InputAdapter
                                                                                                                                        Scan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
                                                                                                              Project [sr_item_sk,sr_ticket_number]
                                                                                                                Filter [sr_item_sk,sr_ticket_number]
                                                                                                                  ColumnarToRow
                                                                                                                    InputAdapter
                                                                                                                      Scan parquet spark_catalog.default.store_returns [sr_item_sk,sr_ticket_number,sr_returned_date_sk]
                                                                                              InputAdapter
                                                                                                WholeStageCodegen (35)
                                                                                                  Sort [cs_item_sk]
                                                                                                    Project [cs_item_sk]
                                                                                                      Filter [sale,refund]
                                                                                                        HashAggregate [cs_item_sk,sum,sum,isEmpty] [sum(UnscaledValue(cs_ext_list_price)),sum(((cr_refunded_cash + cr_reversed_charge) + cr_store_credit)),sale,refund,sum,sum,isEmpty]
                                                                                                          InputAdapter
                                                                                                            ReusedExchange [cs_item_sk,sum,sum,isEmpty] #6
                                                                                          InputAdapter
                                                                                            ReusedExchange [d_date_sk,d_year] #21
                                                                                      InputAdapter
                                                                                        ReusedExchange [s_store_sk,s_store_name,s_zip] #9
                                                                                  InputAdapter
                                                                                    ReusedExchange [c_customer_sk,c_current_cdemo_sk,c_current_hdemo_sk,c_current_addr_sk,c_first_shipto_date_sk,c_first_sales_date_sk] #10
                                                                              InputAdapter
                                                                                ReusedExchange [d_date_sk,d_year] #11
                                                                          InputAdapter
                                                                            ReusedExchange [d_date_sk,d_year] #11
                                                                      InputAdapter
                                                                        ReusedExchange [cd_demo_sk,cd_marital_status] #12
                                                                  InputAdapter
                                                                    ReusedExchange [cd_demo_sk,cd_marital_status] #12
                                                              InputAdapter
                                                                ReusedExchange [p_promo_sk] #13
                                                          InputAdapter
                                                            ReusedExchange [hd_demo_sk,hd_income_band_sk] #14
                                                      InputAdapter
                                                        ReusedExchange [hd_demo_sk,hd_income_band_sk] #14
                                                  InputAdapter
                                                    ReusedExchange [ca_address_sk,ca_street_number,ca_street_name,ca_city,ca_zip] #15
                                              InputAdapter
                                                ReusedExchange [ca_address_sk,ca_street_number,ca_street_name,ca_city,ca_zip] #15
                                          InputAdapter
                                            ReusedExchange [ib_income_band_sk] #16
                                      InputAdapter
                                        ReusedExchange [ib_income_band_sk] #16
                                  InputAdapter
                                    ReusedExchange [i_item_sk,i_product_name] #17
