WholeStageCodegen (1)
  ColumnarToRow
    InputAdapter
      CometTakeOrderedAndProject [customer_id,customer_first_name,customer_last_name]
        CometProject [customer_id,customer_first_name,customer_last_name]
          CometBroadcastHashJoin [customer_id,year_total,customer_id,customer_first_name,customer_last_name,year_total,year_total,customer_id,year_total]
            CometProject [customer_id,year_total,customer_id,customer_first_name,customer_last_name,year_total,year_total]
              CometBroadcastHashJoin [customer_id,year_total,customer_id,customer_first_name,customer_last_name,year_total,customer_id,year_total]
                CometBroadcastHashJoin [customer_id,year_total,customer_id,customer_first_name,customer_last_name,year_total]
                  CometFilter [customer_id,year_total]
                    CometHashAggregate [customer_id,year_total,c_customer_id,c_first_name,c_last_name,d_year,sum,sum(UnscaledValue(ss_net_paid))]
                      CometExchange [c_customer_id,c_first_name,c_last_name,d_year] #1
                        CometHashAggregate [c_customer_id,c_first_name,c_last_name,d_year,sum,ss_net_paid]
                          CometProject [c_customer_id,c_first_name,c_last_name,ss_net_paid,d_year]
                            CometBroadcastHashJoin [c_customer_id,c_first_name,c_last_name,ss_net_paid,ss_sold_date_sk,d_date_sk,d_year]
                              CometProject [c_customer_id,c_first_name,c_last_name,ss_net_paid,ss_sold_date_sk]
                                CometBroadcastHashJoin [c_customer_sk,c_customer_id,c_first_name,c_last_name,ss_customer_sk,ss_net_paid,ss_sold_date_sk]
                                  CometFilter [c_customer_sk,c_customer_id,c_first_name,c_last_name]
                                    CometScan parquet spark_catalog.default.customer [c_customer_sk,c_customer_id,c_first_name,c_last_name]
                                  CometBroadcastExchange [ss_customer_sk,ss_net_paid,ss_sold_date_sk] #2
                                    CometFilter [ss_customer_sk,ss_net_paid,ss_sold_date_sk]
                                      CometScan parquet spark_catalog.default.store_sales [ss_customer_sk,ss_net_paid,ss_sold_date_sk]
                              CometBroadcastExchange [d_date_sk,d_year] #3
                                CometFilter [d_date_sk,d_year]
                                  CometScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
                  CometBroadcastExchange [customer_id,customer_first_name,customer_last_name,year_total] #4
                    CometHashAggregate [customer_id,customer_first_name,customer_last_name,year_total,c_customer_id,c_first_name,c_last_name,d_year,sum,sum(UnscaledValue(ss_net_paid))]
                      CometExchange [c_customer_id,c_first_name,c_last_name,d_year] #5
                        CometHashAggregate [c_customer_id,c_first_name,c_last_name,d_year,sum,ss_net_paid]
                          CometProject [c_customer_id,c_first_name,c_last_name,ss_net_paid,d_year]
                            CometBroadcastHashJoin [c_customer_id,c_first_name,c_last_name,ss_net_paid,ss_sold_date_sk,d_date_sk,d_year]
                              CometProject [c_customer_id,c_first_name,c_last_name,ss_net_paid,ss_sold_date_sk]
                                CometBroadcastHashJoin [c_customer_sk,c_customer_id,c_first_name,c_last_name,ss_customer_sk,ss_net_paid,ss_sold_date_sk]
                                  CometFilter [c_customer_sk,c_customer_id,c_first_name,c_last_name]
                                    CometScan parquet spark_catalog.default.customer [c_customer_sk,c_customer_id,c_first_name,c_last_name]
                                  ReusedExchange [ss_customer_sk,ss_net_paid,ss_sold_date_sk] #2
                              CometBroadcastExchange [d_date_sk,d_year] #6
                                CometFilter [d_date_sk,d_year]
                                  CometScan parquet spark_catalog.default.date_dim [d_date_sk,d_year]
                CometBroadcastExchange [customer_id,year_total] #7
                  CometFilter [customer_id,year_total]
                    CometHashAggregate [customer_id,year_total,c_customer_id,c_first_name,c_last_name,d_year,sum,sum(UnscaledValue(ws_net_paid))]
                      CometExchange [c_customer_id,c_first_name,c_last_name,d_year] #8
                        CometHashAggregate [c_customer_id,c_first_name,c_last_name,d_year,sum,ws_net_paid]
                          CometProject [c_customer_id,c_first_name,c_last_name,ws_net_paid,d_year]
                            CometBroadcastHashJoin [c_customer_id,c_first_name,c_last_name,ws_net_paid,ws_sold_date_sk,d_date_sk,d_year]
                              CometProject [c_customer_id,c_first_name,c_last_name,ws_net_paid,ws_sold_date_sk]
                                CometBroadcastHashJoin [c_customer_sk,c_customer_id,c_first_name,c_last_name,ws_bill_customer_sk,ws_net_paid,ws_sold_date_sk]
                                  CometFilter [c_customer_sk,c_customer_id,c_first_name,c_last_name]
                                    CometScan parquet spark_catalog.default.customer [c_customer_sk,c_customer_id,c_first_name,c_last_name]
                                  CometBroadcastExchange [ws_bill_customer_sk,ws_net_paid,ws_sold_date_sk] #9
                                    CometFilter [ws_bill_customer_sk,ws_net_paid,ws_sold_date_sk]
                                      CometScan parquet spark_catalog.default.web_sales [ws_bill_customer_sk,ws_net_paid,ws_sold_date_sk]
                              ReusedExchange [d_date_sk,d_year] #3
            CometBroadcastExchange [customer_id,year_total] #10
              CometHashAggregate [customer_id,year_total,c_customer_id,c_first_name,c_last_name,d_year,sum,sum(UnscaledValue(ws_net_paid))]
                CometExchange [c_customer_id,c_first_name,c_last_name,d_year] #11
                  CometHashAggregate [c_customer_id,c_first_name,c_last_name,d_year,sum,ws_net_paid]
                    CometProject [c_customer_id,c_first_name,c_last_name,ws_net_paid,d_year]
                      CometBroadcastHashJoin [c_customer_id,c_first_name,c_last_name,ws_net_paid,ws_sold_date_sk,d_date_sk,d_year]
                        CometProject [c_customer_id,c_first_name,c_last_name,ws_net_paid,ws_sold_date_sk]
                          CometBroadcastHashJoin [c_customer_sk,c_customer_id,c_first_name,c_last_name,ws_bill_customer_sk,ws_net_paid,ws_sold_date_sk]
                            CometFilter [c_customer_sk,c_customer_id,c_first_name,c_last_name]
                              CometScan parquet spark_catalog.default.customer [c_customer_sk,c_customer_id,c_first_name,c_last_name]
                            ReusedExchange [ws_bill_customer_sk,ws_net_paid,ws_sold_date_sk] #9
                        ReusedExchange [d_date_sk,d_year] #6
