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_item_sk,i_item_sk]
                  Project [ss_item_sk,ss_ext_sales_price]
                    BroadcastHashJoin [c_current_addr_sk,ca_address_sk,ca_zip,s_zip]
                      InputAdapter
                        BroadcastExchange #2
                          WholeStageCodegen (4)
                            Project [ss_item_sk,ss_ext_sales_price,c_current_addr_sk,s_zip]
                              BroadcastHashJoin [ss_store_sk,s_store_sk]
                                Project [ss_item_sk,ss_store_sk,ss_ext_sales_price,c_current_addr_sk]
                                  BroadcastHashJoin [ss_customer_sk,c_customer_sk]
                                    InputAdapter
                                      BroadcastExchange #3
                                        WholeStageCodegen (2)
                                          Project [ss_item_sk,ss_customer_sk,ss_store_sk,ss_ext_sales_price]
                                            BroadcastHashJoin [d_date_sk,ss_sold_date_sk]
                                              InputAdapter
                                                BroadcastExchange #4
                                                  WholeStageCodegen (1)
                                                    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]
                                              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]
                                                      SubqueryBroadcast [d_date_sk] #1
                                                        ReusedExchange [d_date_sk] #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
                                  BroadcastExchange #5
                                    WholeStageCodegen (3)
                                      Filter [s_zip,s_store_sk]
                                        ColumnarToRow
                                          InputAdapter
                                            Scan parquet spark_catalog.default.store [s_store_sk,s_zip]
                      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)
                        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]
