TakeOrderedAndProject [ext_price,brand,brand_id,i_manufact_id,i_manufact]
  WholeStageCodegen (7)
    HashAggregate [i_brand,i_brand_id,i_manufact_id,i_manufact,sum] [sum(UnscaledValue(ss_ext_sales_price)),brand_id,brand,ext_price,sum]
      InputAdapter
        Exchange [i_brand,i_brand_id,i_manufact_id,i_manufact] #1
          WholeStageCodegen (6)
            HashAggregate [i_brand,i_brand_id,i_manufact_id,i_manufact,ss_ext_sales_price] [sum,sum]
              Project [ss_ext_sales_price,i_brand_id,i_brand,i_manufact_id,i_manufact]
                BroadcastHashJoin [ss_store_sk,s_store_sk,ca_zip,s_zip]
                  Project [ss_store_sk,ss_ext_sales_price,i_brand_id,i_brand,i_manufact_id,i_manufact,ca_zip]
                    BroadcastHashJoin [c_current_addr_sk,ca_address_sk]
                      Project [ss_store_sk,ss_ext_sales_price,i_brand_id,i_brand,i_manufact_id,i_manufact,c_current_addr_sk]
                        BroadcastHashJoin [ss_customer_sk,c_customer_sk]
                          Project [ss_customer_sk,ss_store_sk,ss_ext_sales_price,i_brand_id,i_brand,i_manufact_id,i_manufact]
                            BroadcastHashJoin [ss_item_sk,i_item_sk]
                              Project [ss_item_sk,ss_customer_sk,ss_store_sk,ss_ext_sales_price]
                                BroadcastHashJoin [d_date_sk,ss_sold_date_sk]
                                  Project [d_date_sk]
                                    Filter [d_moy,d_year,d_date_sk]
                                      ColumnarToRow
                                        InputAdapter
                                          Scan parquet spark_catalog.default.date_dim [d_date_sk,d_year,d_moy]
                                  InputAdapter
                                    BroadcastExchange #2
                                      WholeStageCodegen (1)
                                        Filter [ss_item_sk,ss_customer_sk,ss_store_sk]
                                          ColumnarToRow
                                            InputAdapter
                                              Scan parquet spark_catalog.default.store_sales [ss_item_sk,ss_customer_sk,ss_store_sk,ss_ext_sales_price,ss_sold_date_sk]
                              InputAdapter
                                BroadcastExchange #3
                                  WholeStageCodegen (2)
                                    Project [i_item_sk,i_brand_id,i_brand,i_manufact_id,i_manufact]
                                      Filter [i_manager_id,i_item_sk]
                                        ColumnarToRow
                                          InputAdapter
                                            Scan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_brand,i_manufact_id,i_manufact,i_manager_id]
                          InputAdapter
                            BroadcastExchange #4
                              WholeStageCodegen (3)
                                Filter [c_customer_sk,c_current_addr_sk]
                                  ColumnarToRow
                                    InputAdapter
                                      Scan parquet spark_catalog.default.customer [c_customer_sk,c_current_addr_sk]
                      InputAdapter
                        BroadcastExchange #5
                          WholeStageCodegen (4)
                            Filter [ca_address_sk,ca_zip]
                              ColumnarToRow
                                InputAdapter
                                  Scan parquet spark_catalog.default.customer_address [ca_address_sk,ca_zip]
                  InputAdapter
                    BroadcastExchange #6
                      WholeStageCodegen (5)
                        Filter [s_zip,s_store_sk]
                          ColumnarToRow
                            InputAdapter
                              Scan parquet spark_catalog.default.store [s_store_sk,s_zip]
