WholeStageCodegen (1)
  CometColumnarToRow
    InputAdapter
      CometTakeOrderedAndProject [cd_gender,cd_marital_status,cd_education_status,cnt1,cd_purchase_estimate,cnt2,cd_credit_rating,cnt3,cd_dep_count,cnt4,cd_dep_employed_count,cnt5,cd_dep_college_count,cnt6]
        CometHashAggregate [count] [cd_gender,cd_marital_status,cd_education_status,cnt1,cd_purchase_estimate,cnt2,cd_credit_rating,cnt3,cd_dep_count,cnt4,cd_dep_employed_count,cnt5,cd_dep_college_count,cnt6,count(1)]
          CometExchange [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
            CometHashAggregate [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]
              CometProject [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]
                CometBroadcastHashJoin [c_current_cdemo_sk,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]
                  CometProject [c_current_cdemo_sk]
                    CometBroadcastHashJoin [c_current_cdemo_sk,c_current_addr_sk,ca_address_sk]
                      CometProject [c_current_cdemo_sk,c_current_addr_sk]
                        CometBroadcastHashJoin [c_customer_sk,c_current_cdemo_sk,c_current_addr_sk,customer_sk]
                          CometBroadcastHashJoin [c_customer_sk,c_current_cdemo_sk,c_current_addr_sk,ss_customer_sk]
                            CometFilter [c_customer_sk,c_current_cdemo_sk,c_current_addr_sk]
                              CometScan [native_iceberg_compat] parquet spark_catalog.default.customer [c_customer_sk,c_current_cdemo_sk,c_current_addr_sk]
                            CometBroadcastExchange [ss_customer_sk] #2
                              CometProject [ss_customer_sk]
                                CometBroadcastHashJoin [ss_customer_sk,ss_sold_date_sk,d_date_sk]
                                  CometScan [native_iceberg_compat] parquet spark_catalog.default.store_sales [ss_customer_sk,ss_sold_date_sk]
                                    SubqueryBroadcast [d_date_sk] #1
                                      BroadcastExchange #3
                                        WholeStageCodegen (1)
                                          CometColumnarToRow
                                            InputAdapter
                                              CometProject [d_date_sk]
                                                CometFilter [d_date_sk,d_year,d_moy]
                                                  CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
                                  CometBroadcastExchange [d_date_sk] #4
                                    CometProject [d_date_sk]
                                      CometFilter [d_date_sk,d_year,d_moy]
                                        CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
                          CometBroadcastExchange [customer_sk] #5
                            CometUnion [customer_sk]
                              CometProject [ws_bill_customer_sk] [customer_sk]
                                CometBroadcastHashJoin [ws_bill_customer_sk,ws_sold_date_sk,d_date_sk]
                                  CometScan [native_iceberg_compat] parquet spark_catalog.default.web_sales [ws_bill_customer_sk,ws_sold_date_sk]
                                    ReusedSubquery [d_date_sk] #1
                                  ReusedExchange [d_date_sk] #4
                              CometProject [cs_ship_customer_sk] [customer_sk]
                                CometBroadcastHashJoin [cs_ship_customer_sk,cs_sold_date_sk,d_date_sk]
                                  CometScan [native_iceberg_compat] parquet spark_catalog.default.catalog_sales [cs_ship_customer_sk,cs_sold_date_sk]
                                    ReusedSubquery [d_date_sk] #1
                                  ReusedExchange [d_date_sk] #4
                      CometBroadcastExchange [ca_address_sk] #6
                        CometProject [ca_address_sk]
                          CometFilter [ca_address_sk,ca_county]
                            CometScan [native_iceberg_compat] parquet spark_catalog.default.customer_address [ca_address_sk,ca_county]
                  CometBroadcastExchange [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] #7
                    CometProject [cd_gender,cd_marital_status,cd_education_status,cd_credit_rating] [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]
                      CometFilter [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]
                        CometScan [native_iceberg_compat] 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]
