TakeOrderedAndProject [c_last_name,ss_ticket_number,c_first_name,ca_city,bought_city,extended_price,extended_tax,list_price]
  WholeStageCodegen (8)
    Project [c_last_name,c_first_name,ca_city,bought_city,ss_ticket_number,extended_price,extended_tax,list_price]
      BroadcastHashJoin [c_current_addr_sk,ca_address_sk,ca_city,bought_city]
        Project [ss_ticket_number,bought_city,extended_price,list_price,extended_tax,c_current_addr_sk,c_first_name,c_last_name]
          BroadcastHashJoin [ss_customer_sk,c_customer_sk]
            HashAggregate [ss_ticket_number,ss_customer_sk,ss_addr_sk,ca_city,sum,sum,sum] [sum(UnscaledValue(ss_ext_sales_price)),sum(UnscaledValue(ss_ext_list_price)),sum(UnscaledValue(ss_ext_tax)),bought_city,extended_price,list_price,extended_tax,sum,sum,sum]
              InputAdapter
                Exchange [ss_ticket_number,ss_customer_sk,ss_addr_sk,ca_city] #1
                  WholeStageCodegen (5)
                    HashAggregate [ss_ticket_number,ss_customer_sk,ss_addr_sk,ca_city,ss_ext_sales_price,ss_ext_list_price,ss_ext_tax] [sum,sum,sum,sum,sum,sum]
                      Project [ss_customer_sk,ss_addr_sk,ss_ticket_number,ss_ext_sales_price,ss_ext_list_price,ss_ext_tax,ca_city]
                        BroadcastHashJoin [ss_addr_sk,ca_address_sk]
                          Project [ss_customer_sk,ss_addr_sk,ss_ticket_number,ss_ext_sales_price,ss_ext_list_price,ss_ext_tax]
                            BroadcastHashJoin [ss_hdemo_sk,hd_demo_sk]
                              Project [ss_customer_sk,ss_hdemo_sk,ss_addr_sk,ss_ticket_number,ss_ext_sales_price,ss_ext_list_price,ss_ext_tax]
                                BroadcastHashJoin [ss_store_sk,s_store_sk]
                                  Project [ss_customer_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_ticket_number,ss_ext_sales_price,ss_ext_list_price,ss_ext_tax]
                                    BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
                                      Filter [ss_store_sk,ss_hdemo_sk,ss_addr_sk,ss_customer_sk]
                                        ColumnarToRow
                                          InputAdapter
                                            Scan parquet spark_catalog.default.store_sales [ss_customer_sk,ss_hdemo_sk,ss_addr_sk,ss_store_sk,ss_ticket_number,ss_ext_sales_price,ss_ext_list_price,ss_ext_tax,ss_sold_date_sk]
                                              SubqueryBroadcast [d_date_sk] #1
                                                BroadcastExchange #2
                                                  WholeStageCodegen (1)
                                                    Project [d_date_sk]
                                                      Filter [d_dom,d_year,d_date_sk]
                                                        ColumnarToRow
                                                          InputAdapter
                                                            Scan parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_dom]
                                      InputAdapter
                                        ReusedExchange [d_date_sk] #2
                                  InputAdapter
                                    BroadcastExchange #3
                                      WholeStageCodegen (2)
                                        Project [s_store_sk]
                                          Filter [s_city,s_store_sk]
                                            ColumnarToRow
                                              InputAdapter
                                                Scan parquet spark_catalog.default.store [s_store_sk,s_city]
                              InputAdapter
                                BroadcastExchange #4
                                  WholeStageCodegen (3)
                                    Project [hd_demo_sk]
                                      Filter [hd_dep_count,hd_vehicle_count,hd_demo_sk]
                                        ColumnarToRow
                                          InputAdapter
                                            Scan parquet spark_catalog.default.household_demographics [hd_demo_sk,hd_dep_count,hd_vehicle_count]
                          InputAdapter
                            BroadcastExchange #5
                              WholeStageCodegen (4)
                                Filter [ca_address_sk,ca_city]
                                  ColumnarToRow
                                    InputAdapter
                                      Scan parquet spark_catalog.default.customer_address [ca_address_sk,ca_city]
            InputAdapter
              BroadcastExchange #6
                WholeStageCodegen (6)
                  Filter [c_customer_sk,c_current_addr_sk]
                    ColumnarToRow
                      InputAdapter
                        Scan parquet spark_catalog.default.customer [c_customer_sk,c_current_addr_sk,c_first_name,c_last_name]
        InputAdapter
          ReusedExchange [ca_address_sk,ca_city] #5
