TakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count,cnt1,cnt2,cnt3,cnt4,cnt5,cnt6]
  WholeStageCodegen (10)
    HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count,count] [count(1),cnt1,cnt2,cnt3,cnt4,cnt5,cnt6,count]
      InputAdapter
        Exchange [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] #1
          WholeStageCodegen (9)
            HashAggregate [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count] [count,count]
              Project [cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
                BroadcastHashJoin [c_current_cdemo_sk,cd_demo_sk]
                  Project [c_current_cdemo_sk]
                    BroadcastHashJoin [c_current_addr_sk,ca_address_sk]
                      Project [c_current_cdemo_sk,c_current_addr_sk]
                        Filter [exists,exists]
                          BroadcastHashJoin [c_customer_sk,cs_ship_customer_sk]
                            BroadcastHashJoin [c_customer_sk,ws_bill_customer_sk]
                              BroadcastHashJoin [c_customer_sk,ss_customer_sk]
                                Filter [c_current_addr_sk,c_current_cdemo_sk]
                                  ColumnarToRow
                                    InputAdapter
                                      Scan parquet spark_catalog.default.customer [c_customer_sk,c_current_cdemo_sk,c_current_addr_sk]
                                InputAdapter
                                  BroadcastExchange #2
                                    WholeStageCodegen (2)
                                      Project [ss_customer_sk]
                                        BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
                                          ColumnarToRow
                                            InputAdapter
                                              Scan parquet spark_catalog.default.store_sales [ss_customer_sk,ss_sold_date_sk]
                                                SubqueryBroadcast [d_date_sk] #1
                                                  BroadcastExchange #3
                                                    WholeStageCodegen (1)
                                                      Project [d_date_sk]
                                                        Filter [d_year,d_moy,d_date_sk]
                                                          ColumnarToRow
                                                            InputAdapter
                                                              Scan parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
                                          InputAdapter
                                            ReusedExchange [d_date_sk] #3
                              InputAdapter
                                BroadcastExchange #4
                                  WholeStageCodegen (4)
                                    Project [ws_bill_customer_sk]
                                      BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
                                        ColumnarToRow
                                          InputAdapter
                                            Scan parquet spark_catalog.default.web_sales [ws_bill_customer_sk,ws_sold_date_sk]
                                              ReusedSubquery [d_date_sk] #1
                                        InputAdapter
                                          ReusedExchange [d_date_sk] #3
                            InputAdapter
                              BroadcastExchange #5
                                WholeStageCodegen (6)
                                  Project [cs_ship_customer_sk]
                                    BroadcastHashJoin [cs_sold_date_sk,d_date_sk]
                                      ColumnarToRow
                                        InputAdapter
                                          Scan parquet spark_catalog.default.catalog_sales [cs_ship_customer_sk,cs_sold_date_sk]
                                            ReusedSubquery [d_date_sk] #1
                                      InputAdapter
                                        ReusedExchange [d_date_sk] #3
                      InputAdapter
                        BroadcastExchange #6
                          WholeStageCodegen (7)
                            Project [ca_address_sk]
                              Filter [ca_county,ca_address_sk]
                                ColumnarToRow
                                  InputAdapter
                                    Scan parquet spark_catalog.default.customer_address [ca_address_sk,ca_county]
                  InputAdapter
                    BroadcastExchange #7
                      WholeStageCodegen (8)
                        Filter [cd_demo_sk]
                          ColumnarToRow
                            InputAdapter
                              Scan parquet spark_catalog.default.customer_demographics [cd_demo_sk,cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count]
