TakeOrderedAndProject [d_year,sum_agg,brand_id,brand]
  WholeStageCodegen (4)
    HashAggregate [d_year,i_brand,i_brand_id,sum] [sum(UnscaledValue(ss_ext_sales_price)),brand_id,brand,sum_agg,sum]
      InputAdapter
        Exchange [d_year,i_brand,i_brand_id] #1
          WholeStageCodegen (3)
            HashAggregate [d_year,i_brand,i_brand_id,ss_ext_sales_price] [sum,sum]
              Project [d_year,ss_ext_sales_price,i_brand_id,i_brand]
                BroadcastHashJoin [ss_item_sk,i_item_sk]
                  Project [d_year,ss_item_sk,ss_ext_sales_price]
                    BroadcastHashJoin [d_date_sk,ss_sold_date_sk]
                      Project [d_date_sk,d_year]
                        Filter [d_moy,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]
                              ColumnarToRow
                                InputAdapter
                                  Scan parquet spark_catalog.default.store_sales [ss_item_sk,ss_ext_sales_price,ss_sold_date_sk]
                  InputAdapter
                    BroadcastExchange #3
                      WholeStageCodegen (2)
                        Project [i_item_sk,i_brand_id,i_brand]
                          Filter [i_manufact_id,i_item_sk]
                            ColumnarToRow
                              InputAdapter
                                Scan parquet spark_catalog.default.item [i_item_sk,i_brand_id,i_brand,i_manufact_id]
