WholeStageCodegen (27)
  HashAggregate [count] [count(1),count(1),count]
    InputAdapter
      Exchange #1
        WholeStageCodegen (26)
          HashAggregate [count,count]
            Project
              SortMergeJoin [c_last_name,c_first_name,d_date,c_last_name,c_first_name,d_date]
                InputAdapter
                  WholeStageCodegen (17)
                    SortMergeJoin [c_last_name,c_first_name,d_date,c_last_name,c_first_name,d_date]
                      InputAdapter
                        WholeStageCodegen (8)
                          Sort [c_last_name,c_first_name,d_date]
                            InputAdapter
                              Exchange [c_last_name,c_first_name,d_date] #2
                                WholeStageCodegen (7)
                                  HashAggregate [c_last_name,c_first_name,d_date]
                                    InputAdapter
                                      Exchange [c_last_name,c_first_name,d_date] #3
                                        WholeStageCodegen (6)
                                          HashAggregate [c_last_name,c_first_name,d_date]
                                            Project [c_last_name,c_first_name,d_date]
                                              SortMergeJoin [ss_customer_sk,c_customer_sk]
                                                InputAdapter
                                                  WholeStageCodegen (3)
                                                    Sort [ss_customer_sk]
                                                      InputAdapter
                                                        Exchange [ss_customer_sk] #4
                                                          WholeStageCodegen (2)
                                                            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 #5
                                                                            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] #5
                                                InputAdapter
                                                  WholeStageCodegen (5)
                                                    Sort [c_customer_sk]
                                                      InputAdapter
                                                        Exchange [c_customer_sk] #6
                                                          WholeStageCodegen (4)
                                                            Filter [c_customer_sk]
                                                              ColumnarToRow
                                                                InputAdapter
                                                                  Scan parquet spark_catalog.default.customer [c_customer_sk,c_first_name,c_last_name]
                      InputAdapter
                        WholeStageCodegen (16)
                          Sort [c_last_name,c_first_name,d_date]
                            InputAdapter
                              Exchange [c_last_name,c_first_name,d_date] #7
                                WholeStageCodegen (15)
                                  HashAggregate [c_last_name,c_first_name,d_date]
                                    InputAdapter
                                      Exchange [c_last_name,c_first_name,d_date] #8
                                        WholeStageCodegen (14)
                                          HashAggregate [c_last_name,c_first_name,d_date]
                                            Project [c_last_name,c_first_name,d_date]
                                              SortMergeJoin [cs_bill_customer_sk,c_customer_sk]
                                                InputAdapter
                                                  WholeStageCodegen (11)
                                                    Sort [cs_bill_customer_sk]
                                                      InputAdapter
                                                        Exchange [cs_bill_customer_sk] #9
                                                          WholeStageCodegen (10)
                                                            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] #5
                                                InputAdapter
                                                  WholeStageCodegen (13)
                                                    Sort [c_customer_sk]
                                                      InputAdapter
                                                        ReusedExchange [c_customer_sk,c_first_name,c_last_name] #6
                InputAdapter
                  WholeStageCodegen (25)
                    Sort [c_last_name,c_first_name,d_date]
                      InputAdapter
                        Exchange [c_last_name,c_first_name,d_date] #10
                          WholeStageCodegen (24)
                            HashAggregate [c_last_name,c_first_name,d_date]
                              InputAdapter
                                Exchange [c_last_name,c_first_name,d_date] #11
                                  WholeStageCodegen (23)
                                    HashAggregate [c_last_name,c_first_name,d_date]
                                      Project [c_last_name,c_first_name,d_date]
                                        SortMergeJoin [ws_bill_customer_sk,c_customer_sk]
                                          InputAdapter
                                            WholeStageCodegen (20)
                                              Sort [ws_bill_customer_sk]
                                                InputAdapter
                                                  Exchange [ws_bill_customer_sk] #12
                                                    WholeStageCodegen (19)
                                                      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] #5
                                          InputAdapter
                                            WholeStageCodegen (22)
                                              Sort [c_customer_sk]
                                                InputAdapter
                                                  ReusedExchange [c_customer_sk,c_first_name,c_last_name] #6
