TakeOrderedAndProject [ca_zip,sum(cs_sales_price)]
  WholeStageCodegen (11)
    HashAggregate [ca_zip,sum] [sum(UnscaledValue(cs_sales_price)),sum(cs_sales_price),sum]
      InputAdapter
        Exchange [ca_zip] #1
          WholeStageCodegen (10)
            HashAggregate [ca_zip,cs_sales_price] [sum,sum]
              Project [cs_sales_price,ca_zip]
                SortMergeJoin [cs_bill_customer_sk,c_customer_sk,ca_zip,ca_state,cs_sales_price]
                  InputAdapter
                    WholeStageCodegen (3)
                      Sort [cs_bill_customer_sk]
                        InputAdapter
                          Exchange [cs_bill_customer_sk] #2
                            WholeStageCodegen (2)
                              Project [cs_bill_customer_sk,cs_sales_price]
                                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_sales_price,cs_sold_date_sk]
                                          SubqueryBroadcast [d_date_sk] #1
                                            BroadcastExchange #3
                                              WholeStageCodegen (1)
                                                Project [d_date_sk]
                                                  Filter [d_qoy,d_year,d_date_sk]
                                                    ColumnarToRow
                                                      InputAdapter
                                                        Scan parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_qoy]
                                  InputAdapter
                                    ReusedExchange [d_date_sk] #3
                  InputAdapter
                    WholeStageCodegen (9)
                      Sort [c_customer_sk]
                        InputAdapter
                          Exchange [c_customer_sk] #4
                            WholeStageCodegen (8)
                              Project [c_customer_sk,ca_state,ca_zip]
                                SortMergeJoin [c_current_addr_sk,ca_address_sk]
                                  InputAdapter
                                    WholeStageCodegen (5)
                                      Sort [c_current_addr_sk]
                                        InputAdapter
                                          Exchange [c_current_addr_sk] #5
                                            WholeStageCodegen (4)
                                              Filter [c_customer_sk,c_current_addr_sk]
                                                ColumnarToRow
                                                  InputAdapter
                                                    Scan parquet spark_catalog.default.customer [c_customer_sk,c_current_addr_sk]
                                  InputAdapter
                                    WholeStageCodegen (7)
                                      Sort [ca_address_sk]
                                        InputAdapter
                                          Exchange [ca_address_sk] #6
                                            WholeStageCodegen (6)
                                              Filter [ca_address_sk]
                                                ColumnarToRow
                                                  InputAdapter
                                                    Scan parquet spark_catalog.default.customer_address [ca_address_sk,ca_state,ca_zip]
