WholeStageCodegen (13)
  HashAggregate [count] [count(1),count(1),count]
    InputAdapter
      Exchange #1
        WholeStageCodegen (12)
          HashAggregate [count,count]
            Project
              BroadcastHashJoin [c_last_name,c_first_name,d_date,c_last_name,c_first_name,d_date]
                BroadcastHashJoin [c_last_name,c_first_name,d_date,c_last_name,c_first_name,d_date]
                  HashAggregate [c_last_name,c_first_name,d_date]
                    InputAdapter
                      Exchange [c_last_name,c_first_name,d_date] #2
                        WholeStageCodegen (3)
                          HashAggregate [c_last_name,c_first_name,d_date]
                            Project [c_last_name,c_first_name,d_date]
                              BroadcastHashJoin [ss_customer_sk,c_customer_sk]
                                Project [ss_customer_sk,d_date]
                                  BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
                                    Filter [ss_customer_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,d_date]
                                                    Filter [d_month_seq,d_date_sk]
                                                      ColumnarToRow
                                                        InputAdapter
                                                          Scan parquet spark_catalog.default.date_dim [d_date_sk,d_date,d_month_seq]
                                    InputAdapter
                                      ReusedExchange [d_date_sk,d_date] #3
                                InputAdapter
                                  BroadcastExchange #4
                                    WholeStageCodegen (2)
                                      Filter [c_customer_sk]
                                        ColumnarToRow
                                          InputAdapter
                                            Scan parquet spark_catalog.default.customer [c_customer_sk,c_first_name,c_last_name]
                  InputAdapter
                    BroadcastExchange #5
                      WholeStageCodegen (7)
                        HashAggregate [c_last_name,c_first_name,d_date]
                          InputAdapter
                            Exchange [c_last_name,c_first_name,d_date] #6
                              WholeStageCodegen (6)
                                HashAggregate [c_last_name,c_first_name,d_date]
                                  Project [c_last_name,c_first_name,d_date]
                                    BroadcastHashJoin [cs_bill_customer_sk,c_customer_sk]
                                      Project [cs_bill_customer_sk,d_date]
                                        BroadcastHashJoin [cs_sold_date_sk,d_date_sk]
                                          Filter [cs_bill_customer_sk]
                                            ColumnarToRow
                                              InputAdapter
                                                Scan parquet spark_catalog.default.catalog_sales [cs_bill_customer_sk,cs_sold_date_sk]
                                                  ReusedSubquery [d_date_sk] #1
                                          InputAdapter
                                            ReusedExchange [d_date_sk,d_date] #3
                                      InputAdapter
                                        ReusedExchange [c_customer_sk,c_first_name,c_last_name] #4
                InputAdapter
                  BroadcastExchange #7
                    WholeStageCodegen (11)
                      HashAggregate [c_last_name,c_first_name,d_date]
                        InputAdapter
                          Exchange [c_last_name,c_first_name,d_date] #8
                            WholeStageCodegen (10)
                              HashAggregate [c_last_name,c_first_name,d_date]
                                Project [c_last_name,c_first_name,d_date]
                                  BroadcastHashJoin [ws_bill_customer_sk,c_customer_sk]
                                    Project [ws_bill_customer_sk,d_date]
                                      BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
                                        Filter [ws_bill_customer_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,d_date] #3
                                    InputAdapter
                                      ReusedExchange [c_customer_sk,c_first_name,c_last_name] #4
