WholeStageCodegen (88)
  Sort [product_name,store_name,cnt,s1,s1]
    InputAdapter
      Exchange [product_name,store_name,cnt,s1,s1] #1
        WholeStageCodegen (87)
          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 (43)
                  Sort [item_sk,store_name,store_zip]
                    InputAdapter
                      Exchange [item_sk,store_name,store_zip] #2
                        WholeStageCodegen (42)
                          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]
                            InputAdapter
                              Exchange [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] #3
                                WholeStageCodegen (41)
                                  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]
                                                  SortMergeJoin [c_current_addr_sk,ca_address_sk]
                                                    InputAdapter
                                                      WholeStageCodegen (35)
                                                        Sort [c_current_addr_sk]
                                                          InputAdapter
                                                            Exchange [c_current_addr_sk] #4
                                                              WholeStageCodegen (34)
                                                                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]
                                                                  SortMergeJoin [ss_addr_sk,ca_address_sk]
                                                                    InputAdapter
                                                                      WholeStageCodegen (31)
                                                                        Sort [ss_addr_sk]
                                                                          InputAdapter
                                                                            Exchange [ss_addr_sk] #5
                                                                              WholeStageCodegen (30)
                                                                                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]
                                                                                              SortMergeJoin [c_current_cdemo_sk,cd_demo_sk,cd_marital_status,cd_marital_status]
                                                                                                InputAdapter
                                                                                                  WholeStageCodegen (24)
                                                                                                    Sort [c_current_cdemo_sk]
                                                                                                      InputAdapter
                                                                                                        Exchange [c_current_cdemo_sk] #6
                                                                                                          WholeStageCodegen (23)
                                                                                                            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]
                                                                                                              SortMergeJoin [ss_cdemo_sk,cd_demo_sk]
                                                                                                                InputAdapter
                                                                                                                  WholeStageCodegen (20)
                                                                                                                    Sort [ss_cdemo_sk]
                                                                                                                      InputAdapter
                                                                                                                        Exchange [ss_cdemo_sk] #7
                                                                                                                          WholeStageCodegen (19)
                                                                                                                            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]
                                                                                                                                      SortMergeJoin [ss_customer_sk,c_customer_sk]
                                                                                                                                        InputAdapter
                                                                                                                                          WholeStageCodegen (14)
                                                                                                                                            Sort [ss_customer_sk]
                                                                                                                                              InputAdapter
                                                                                                                                                Exchange [ss_customer_sk] #8
                                                                                                                                                  WholeStageCodegen (13)
                                                                                                                                                    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]
                                                                                                                                                              BroadcastHashJoin [ss_item_sk,cs_item_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,ss_ticket_number,sr_item_sk,sr_ticket_number]
                                                                                                                                                                    InputAdapter
                                                                                                                                                                      WholeStageCodegen (2)
                                                                                                                                                                        Sort [ss_item_sk,ss_ticket_number]
                                                                                                                                                                          InputAdapter
                                                                                                                                                                            Exchange [ss_item_sk,ss_ticket_number] #9
                                                                                                                                                                              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]
                                                                                                                                                                                  Subquery #2
                                                                                                                                                                                    ObjectHashAggregate [buf] [bloom_filter_agg(xxhash64(i_item_sk, 42), 1250, 30121, 0, 0),bloomFilter,buf]
                                                                                                                                                                                      Exchange #11
                                                                                                                                                                                        ObjectHashAggregate [i_item_sk] [buf,buf]
                                                                                                                                                                                          WholeStageCodegen (1)
                                                                                                                                                                                            Project [i_item_sk]
                                                                                                                                                                                              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]
                                                                                                                                                                                  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 #10
                                                                                                                                                                                            WholeStageCodegen (1)
                                                                                                                                                                                              Filter [d_year,d_date_sk]
                                                                                                                                                                                                ColumnarToRow
                                                                                                                                                                                                  InputAdapter
                                                                                                                                                                                                    Scan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
                                                                                                                                                                    InputAdapter
                                                                                                                                                                      WholeStageCodegen (4)
                                                                                                                                                                        Sort [sr_item_sk,sr_ticket_number]
                                                                                                                                                                          InputAdapter
                                                                                                                                                                            Exchange [sr_item_sk,sr_ticket_number] #12
                                                                                                                                                                              WholeStageCodegen (3)
                                                                                                                                                                                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
                                                                                                                                                                  BroadcastExchange #13
                                                                                                                                                                    WholeStageCodegen (10)
                                                                                                                                                                      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] #14
                                                                                                                                                                                WholeStageCodegen (9)
                                                                                                                                                                                  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 (6)
                                                                                                                                                                                            Sort [cs_item_sk,cs_order_number]
                                                                                                                                                                                              InputAdapter
                                                                                                                                                                                                Exchange [cs_item_sk,cs_order_number] #15
                                                                                                                                                                                                  WholeStageCodegen (5)
                                                                                                                                                                                                    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 (8)
                                                                                                                                                                                            Sort [cr_item_sk,cr_order_number]
                                                                                                                                                                                              InputAdapter
                                                                                                                                                                                                Exchange [cr_item_sk,cr_order_number] #16
                                                                                                                                                                                                  WholeStageCodegen (7)
                                                                                                                                                                                                    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] #10
                                                                                                                                                        InputAdapter
                                                                                                                                                          BroadcastExchange #17
                                                                                                                                                            WholeStageCodegen (12)
                                                                                                                                                              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
                                                                                                                                          WholeStageCodegen (16)
                                                                                                                                            Sort [c_customer_sk]
                                                                                                                                              InputAdapter
                                                                                                                                                Exchange [c_customer_sk] #18
                                                                                                                                                  WholeStageCodegen (15)
                                                                                                                                                    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 #19
                                                                                                                                        WholeStageCodegen (17)
                                                                                                                                          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] #19
                                                                                                                InputAdapter
                                                                                                                  WholeStageCodegen (22)
                                                                                                                    Sort [cd_demo_sk]
                                                                                                                      InputAdapter
                                                                                                                        Exchange [cd_demo_sk] #20
                                                                                                                          WholeStageCodegen (21)
                                                                                                                            Filter [cd_demo_sk,cd_marital_status]
                                                                                                                              ColumnarToRow
                                                                                                                                InputAdapter
                                                                                                                                  Scan parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_marital_status]
                                                                                                InputAdapter
                                                                                                  WholeStageCodegen (26)
                                                                                                    Sort [cd_demo_sk]
                                                                                                      InputAdapter
                                                                                                        ReusedExchange [cd_demo_sk,cd_marital_status] #20
                                                                                            InputAdapter
                                                                                              BroadcastExchange #21
                                                                                                WholeStageCodegen (27)
                                                                                                  Filter [p_promo_sk]
                                                                                                    ColumnarToRow
                                                                                                      InputAdapter
                                                                                                        Scan parquet spark_catalog.default.promotion [p_promo_sk]
                                                                                        InputAdapter
                                                                                          BroadcastExchange #22
                                                                                            WholeStageCodegen (28)
                                                                                              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] #22
                                                                    InputAdapter
                                                                      WholeStageCodegen (33)
                                                                        Sort [ca_address_sk]
                                                                          InputAdapter
                                                                            Exchange [ca_address_sk] #23
                                                                              WholeStageCodegen (32)
                                                                                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
                                                      WholeStageCodegen (37)
                                                        Sort [ca_address_sk]
                                                          InputAdapter
                                                            ReusedExchange [ca_address_sk,ca_street_number,ca_street_name,ca_city,ca_zip] #23
                                                InputAdapter
                                                  BroadcastExchange #24
                                                    WholeStageCodegen (38)
                                                      Filter [ib_income_band_sk]
                                                        ColumnarToRow
                                                          InputAdapter
                                                            Scan parquet spark_catalog.default.income_band [ib_income_band_sk]
                                            InputAdapter
                                              ReusedExchange [ib_income_band_sk] #24
                                        InputAdapter
                                          BroadcastExchange #25
                                            WholeStageCodegen (40)
                                              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 (86)
                  Sort [item_sk,store_name,store_zip]
                    InputAdapter
                      Exchange [item_sk,store_name,store_zip] #26
                        WholeStageCodegen (85)
                          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]
                            InputAdapter
                              Exchange [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] #27
                                WholeStageCodegen (84)
                                  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]
                                                  SortMergeJoin [c_current_addr_sk,ca_address_sk]
                                                    InputAdapter
                                                      WholeStageCodegen (78)
                                                        Sort [c_current_addr_sk]
                                                          InputAdapter
                                                            Exchange [c_current_addr_sk] #28
                                                              WholeStageCodegen (77)
                                                                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]
                                                                  SortMergeJoin [ss_addr_sk,ca_address_sk]
                                                                    InputAdapter
                                                                      WholeStageCodegen (74)
                                                                        Sort [ss_addr_sk]
                                                                          InputAdapter
                                                                            Exchange [ss_addr_sk] #29
                                                                              WholeStageCodegen (73)
                                                                                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]
                                                                                              SortMergeJoin [c_current_cdemo_sk,cd_demo_sk,cd_marital_status,cd_marital_status]
                                                                                                InputAdapter
                                                                                                  WholeStageCodegen (67)
                                                                                                    Sort [c_current_cdemo_sk]
                                                                                                      InputAdapter
                                                                                                        Exchange [c_current_cdemo_sk] #30
                                                                                                          WholeStageCodegen (66)
                                                                                                            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]
                                                                                                              SortMergeJoin [ss_cdemo_sk,cd_demo_sk]
                                                                                                                InputAdapter
                                                                                                                  WholeStageCodegen (63)
                                                                                                                    Sort [ss_cdemo_sk]
                                                                                                                      InputAdapter
                                                                                                                        Exchange [ss_cdemo_sk] #31
                                                                                                                          WholeStageCodegen (62)
                                                                                                                            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]
                                                                                                                                      SortMergeJoin [ss_customer_sk,c_customer_sk]
                                                                                                                                        InputAdapter
                                                                                                                                          WholeStageCodegen (57)
                                                                                                                                            Sort [ss_customer_sk]
                                                                                                                                              InputAdapter
                                                                                                                                                Exchange [ss_customer_sk] #32
                                                                                                                                                  WholeStageCodegen (56)
                                                                                                                                                    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]
                                                                                                                                                              BroadcastHashJoin [ss_item_sk,cs_item_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,ss_ticket_number,sr_item_sk,sr_ticket_number]
                                                                                                                                                                    InputAdapter
                                                                                                                                                                      WholeStageCodegen (45)
                                                                                                                                                                        Sort [ss_item_sk,ss_ticket_number]
                                                                                                                                                                          InputAdapter
                                                                                                                                                                            Exchange [ss_item_sk,ss_ticket_number] #33
                                                                                                                                                                              WholeStageCodegen (44)
                                                                                                                                                                                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]
                                                                                                                                                                                  ReusedSubquery [bloomFilter] #2
                                                                                                                                                                                  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] #3
                                                                                                                                                                                          BroadcastExchange #34
                                                                                                                                                                                            WholeStageCodegen (1)
                                                                                                                                                                                              Filter [d_year,d_date_sk]
                                                                                                                                                                                                ColumnarToRow
                                                                                                                                                                                                  InputAdapter
                                                                                                                                                                                                    Scan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
                                                                                                                                                                    InputAdapter
                                                                                                                                                                      WholeStageCodegen (47)
                                                                                                                                                                        Sort [sr_item_sk,sr_ticket_number]
                                                                                                                                                                          InputAdapter
                                                                                                                                                                            ReusedExchange [sr_item_sk,sr_ticket_number] #12
                                                                                                                                                                InputAdapter
                                                                                                                                                                  ReusedExchange [cs_item_sk] #13
                                                                                                                                                            InputAdapter
                                                                                                                                                              ReusedExchange [d_date_sk,d_year] #34
                                                                                                                                                        InputAdapter
                                                                                                                                                          ReusedExchange [s_store_sk,s_store_name,s_zip] #17
                                                                                                                                        InputAdapter
                                                                                                                                          WholeStageCodegen (59)
                                                                                                                                            Sort [c_customer_sk]
                                                                                                                                              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] #18
                                                                                                                                    InputAdapter
                                                                                                                                      ReusedExchange [d_date_sk,d_year] #19
                                                                                                                                InputAdapter
                                                                                                                                  ReusedExchange [d_date_sk,d_year] #19
                                                                                                                InputAdapter
                                                                                                                  WholeStageCodegen (65)
                                                                                                                    Sort [cd_demo_sk]
                                                                                                                      InputAdapter
                                                                                                                        ReusedExchange [cd_demo_sk,cd_marital_status] #20
                                                                                                InputAdapter
                                                                                                  WholeStageCodegen (69)
                                                                                                    Sort [cd_demo_sk]
                                                                                                      InputAdapter
                                                                                                        ReusedExchange [cd_demo_sk,cd_marital_status] #20
                                                                                            InputAdapter
                                                                                              ReusedExchange [p_promo_sk] #21
                                                                                        InputAdapter
                                                                                          ReusedExchange [hd_demo_sk,hd_income_band_sk] #22
                                                                                    InputAdapter
                                                                                      ReusedExchange [hd_demo_sk,hd_income_band_sk] #22
                                                                    InputAdapter
                                                                      WholeStageCodegen (76)
                                                                        Sort [ca_address_sk]
                                                                          InputAdapter
                                                                            ReusedExchange [ca_address_sk,ca_street_number,ca_street_name,ca_city,ca_zip] #23
                                                    InputAdapter
                                                      WholeStageCodegen (80)
                                                        Sort [ca_address_sk]
                                                          InputAdapter
                                                            ReusedExchange [ca_address_sk,ca_street_number,ca_street_name,ca_city,ca_zip] #23
                                                InputAdapter
                                                  ReusedExchange [ib_income_band_sk] #24
                                            InputAdapter
                                              ReusedExchange [ib_income_band_sk] #24
                                        InputAdapter
                                          ReusedExchange [i_item_sk,i_product_name] #25
