TakeOrderedAndProject [qoh,i_product_name,i_brand,i_class,i_category]
  WholeStageCodegen (3)
    HashAggregate [i_product_name,i_brand,i_class,i_category,spark_grouping_id,sum,count] [avg(inv_quantity_on_hand),qoh,sum,count]
      CometColumnarToRow
        InputAdapter
          CometColumnarExchange [i_product_name,i_brand,i_class,i_category,spark_grouping_id] #1
            WholeStageCodegen (2)
              HashAggregate [i_product_name,i_brand,i_class,i_category,spark_grouping_id,inv_quantity_on_hand] [sum,count,sum,count]
                Expand [inv_quantity_on_hand,i_product_name,i_brand,i_class,i_category]
                  Project [inv_quantity_on_hand,i_product_name,i_brand,i_class,i_category]
                    BroadcastNestedLoopJoin
                      CometColumnarToRow
                        InputAdapter
                          CometProject [inv_quantity_on_hand,i_brand,i_class,i_category,i_product_name]
                            CometBroadcastHashJoin [inv_item_sk,inv_quantity_on_hand,i_item_sk,i_brand,i_class,i_category,i_product_name]
                              CometProject [inv_item_sk,inv_quantity_on_hand]
                                CometBroadcastHashJoin [inv_item_sk,inv_quantity_on_hand,inv_date_sk,d_date_sk]
                                  CometFilter [inv_item_sk,inv_quantity_on_hand,inv_date_sk]
                                    CometScan [native_iceberg_compat] parquet spark_catalog.default.inventory [inv_item_sk,inv_quantity_on_hand,inv_date_sk]
                                      SubqueryBroadcast [d_date_sk] #1
                                        BroadcastExchange #2
                                          WholeStageCodegen (1)
                                            CometColumnarToRow
                                              InputAdapter
                                                CometProject [d_date_sk]
                                                  CometFilter [d_date_sk,d_month_seq]
                                                    CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_month_seq]
                                  CometBroadcastExchange [d_date_sk] #3
                                    CometProject [d_date_sk]
                                      CometFilter [d_date_sk,d_month_seq]
                                        CometScan [native_iceberg_compat] parquet spark_catalog.default.date_dim [d_date_sk,d_month_seq]
                              CometBroadcastExchange [i_item_sk,i_brand,i_class,i_category,i_product_name] #4
                                CometProject [i_brand,i_class,i_category,i_product_name] [i_item_sk,i_brand,i_class,i_category,i_product_name]
                                  CometFilter [i_item_sk,i_brand,i_class,i_category,i_product_name]
                                    CometScan [native_iceberg_compat] parquet spark_catalog.default.item [i_item_sk,i_brand,i_class,i_category,i_product_name]
                      InputAdapter
                        BroadcastExchange #5
                          WholeStageCodegen (1)
                            CometColumnarToRow
                              InputAdapter
                                CometScan [native_iceberg_compat] parquet spark_catalog.default.warehouse
