WholeStageCodegen (26)
  HashAggregate [count] [count(1),count(1),count]
    InputAdapter
      Exchange #1
        WholeStageCodegen (25)
          HashAggregate [count,count]
            HashAggregate [c_last_name,c_first_name,d_date]
              HashAggregate [c_last_name,c_first_name,d_date]
                HashAggregate [c_last_name,c_first_name,d_date]
                  HashAggregate [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 (24)
                            HashAggregate [c_last_name,c_first_name,d_date]
                              InputAdapter
                                SortMergeJoin [c_last_name,c_first_name,d_date,c_last_name,c_first_name,d_date]
                                  SortMergeJoin [c_last_name,c_first_name,d_date,c_last_name,c_first_name,d_date]
                                    WholeStageCodegen (7)
                                      Sort [c_last_name,c_first_name,d_date]
                                        InputAdapter
                                          Exchange [c_last_name,c_first_name,d_date] #3
                                            WholeStageCodegen (6)
                                              Project [d_date,c_first_name,c_last_name]
                                                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_sold_date_sk,ss_customer_sk]
                                                                    ColumnarToRow
                                                                      InputAdapter
                                                                        Scan parquet default.store_sales [ss_sold_date_sk,ss_customer_sk]
                                                                  InputAdapter
                                                                    BroadcastExchange #5
                                                                      WholeStageCodegen (1)
                                                                        Project [d_date_sk,d_date]
                                                                          Filter [d_month_seq,d_date_sk]
                                                                            ColumnarToRow
                                                                              InputAdapter
                                                                                Scan parquet default.date_dim [d_date_sk,d_date,d_month_seq]
                                                  InputAdapter
                                                    WholeStageCodegen (5)
                                                      Sort [c_customer_sk]
                                                        InputAdapter
                                                          Exchange [c_customer_sk] #6
                                                            WholeStageCodegen (4)
                                                              Filter [c_customer_sk]
                                                                ColumnarToRow
                                                                  InputAdapter
                                                                    Scan parquet default.customer [c_customer_sk,c_first_name,c_last_name]
                                    WholeStageCodegen (15)
                                      Sort [c_last_name,c_first_name,d_date]
                                        InputAdapter
                                          Exchange [c_last_name,c_first_name,d_date] #7
                                            WholeStageCodegen (14)
                                              HashAggregate [c_last_name,c_first_name,d_date]
                                                InputAdapter
                                                  Exchange [c_last_name,c_first_name,d_date] #8
                                                    WholeStageCodegen (13)
                                                      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 (10)
                                                                Sort [cs_bill_customer_sk]
                                                                  InputAdapter
                                                                    Exchange [cs_bill_customer_sk] #9
                                                                      WholeStageCodegen (9)
                                                                        Project [cs_bill_customer_sk,d_date]
                                                                          BroadcastHashJoin [cs_sold_date_sk,d_date_sk]
                                                                            Filter [cs_sold_date_sk,cs_bill_customer_sk]
                                                                              ColumnarToRow
                                                                                InputAdapter
                                                                                  Scan parquet default.catalog_sales [cs_sold_date_sk,cs_bill_customer_sk]
                                                                            InputAdapter
                                                                              ReusedExchange [d_date_sk,d_date] #5
                                                            InputAdapter
                                                              WholeStageCodegen (12)
                                                                Sort [c_customer_sk]
                                                                  InputAdapter
                                                                    ReusedExchange [c_customer_sk,c_first_name,c_last_name] #6
                                  WholeStageCodegen (23)
                                    Sort [c_last_name,c_first_name,d_date]
                                      InputAdapter
                                        Exchange [c_last_name,c_first_name,d_date] #10
                                          WholeStageCodegen (22)
                                            HashAggregate [c_last_name,c_first_name,d_date]
                                              InputAdapter
                                                Exchange [c_last_name,c_first_name,d_date] #11
                                                  WholeStageCodegen (21)
                                                    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 (18)
                                                              Sort [ws_bill_customer_sk]
                                                                InputAdapter
                                                                  Exchange [ws_bill_customer_sk] #12
                                                                    WholeStageCodegen (17)
                                                                      Project [ws_bill_customer_sk,d_date]
                                                                        BroadcastHashJoin [ws_sold_date_sk,d_date_sk]
                                                                          Filter [ws_sold_date_sk,ws_bill_customer_sk]
                                                                            ColumnarToRow
                                                                              InputAdapter
                                                                                Scan parquet default.web_sales [ws_sold_date_sk,ws_bill_customer_sk]
                                                                          InputAdapter
                                                                            ReusedExchange [d_date_sk,d_date] #5
                                                          InputAdapter
                                                            WholeStageCodegen (20)
                                                              Sort [c_customer_sk]
                                                                InputAdapter
                                                                  ReusedExchange [c_customer_sk,c_first_name,c_last_name] #6
