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