TakeOrderedAndProject [s_store_name1,s_store_id1,d_week_seq1,(sun_sales1 / sun_sales2),(mon_sales1 / mon_sales2),(tue_sales1 / tue_sales2),(wed_sales1 / wed_sales2),(thu_sales1 / thu_sales2),(fri_sales1 / fri_sales2),(sat_sales1 / sat_sales2)]
  WholeStageCodegen (10)
    Project [s_store_name1,s_store_id1,d_week_seq1,sun_sales1,sun_sales2,mon_sales1,mon_sales2,tue_sales1,tue_sales2,wed_sales1,wed_sales2,thu_sales1,thu_sales2,fri_sales1,fri_sales2,sat_sales1,sat_sales2]
      BroadcastHashJoin [s_store_id1,d_week_seq1,s_store_id2,d_week_seq2]
        Project [s_store_name,d_week_seq,s_store_id,sun_sales,mon_sales,tue_sales,wed_sales,thu_sales,fri_sales,sat_sales]
          BroadcastHashJoin [d_week_seq,d_week_seq]
            Project [d_week_seq,sun_sales,mon_sales,tue_sales,wed_sales,thu_sales,fri_sales,sat_sales,s_store_id,s_store_name]
              BroadcastHashJoin [ss_store_sk,s_store_sk]
                HashAggregate [d_week_seq,ss_store_sk,sum,sum,sum,sum,sum,sum,sum] [sum(UnscaledValue(CASE WHEN (d_day_name = Sunday   ) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Monday   ) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Tuesday  ) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Wednesday) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Thursday ) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Friday   ) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Saturday ) THEN ss_sales_price END)),sun_sales,mon_sales,tue_sales,wed_sales,thu_sales,fri_sales,sat_sales,sum,sum,sum,sum,sum,sum,sum]
                  InputAdapter
                    Exchange [d_week_seq,ss_store_sk] #1
                      WholeStageCodegen (2)
                        HashAggregate [d_week_seq,ss_store_sk,d_day_name,ss_sales_price] [sum,sum,sum,sum,sum,sum,sum,sum,sum,sum,sum,sum,sum,sum]
                          Project [ss_store_sk,ss_sales_price,d_week_seq,d_day_name]
                            BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
                              Filter [ss_store_sk]
                                ColumnarToRow
                                  InputAdapter
                                    Scan parquet spark_catalog.default.store_sales [ss_store_sk,ss_sales_price,ss_sold_date_sk]
                              InputAdapter
                                BroadcastExchange #2
                                  WholeStageCodegen (1)
                                    Filter [d_date_sk,d_week_seq]
                                      Subquery #1
                                        ObjectHashAggregate [buf] [bloom_filter_agg(xxhash64(d_week_seq, 42), 335, 8990, 0, 0),bloomFilter,buf]
                                          Exchange #3
                                            ObjectHashAggregate [d_week_seq] [buf,buf]
                                              WholeStageCodegen (1)
                                                Project [d_week_seq]
                                                  Filter [d_month_seq,d_week_seq]
                                                    ColumnarToRow
                                                      InputAdapter
                                                        Scan parquet spark_catalog.default.date_dim [d_month_seq,d_week_seq]
                                      ColumnarToRow
                                        InputAdapter
                                          Scan parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq,d_day_name]
                InputAdapter
                  BroadcastExchange #4
                    WholeStageCodegen (3)
                      Filter [s_store_sk,s_store_id]
                        ColumnarToRow
                          InputAdapter
                            Scan parquet spark_catalog.default.store [s_store_sk,s_store_id,s_store_name]
            InputAdapter
              BroadcastExchange #5
                WholeStageCodegen (4)
                  Project [d_week_seq]
                    Filter [d_month_seq,d_week_seq]
                      ColumnarToRow
                        InputAdapter
                          Scan parquet spark_catalog.default.date_dim [d_month_seq,d_week_seq]
        InputAdapter
          BroadcastExchange #6
            WholeStageCodegen (9)
              Project [d_week_seq,s_store_id,sun_sales,mon_sales,tue_sales,wed_sales,thu_sales,fri_sales,sat_sales]
                BroadcastHashJoin [d_week_seq,d_week_seq]
                  Project [d_week_seq,sun_sales,mon_sales,tue_sales,wed_sales,thu_sales,fri_sales,sat_sales,s_store_id]
                    BroadcastHashJoin [ss_store_sk,s_store_sk]
                      HashAggregate [d_week_seq,ss_store_sk,sum,sum,sum,sum,sum,sum,sum] [sum(UnscaledValue(CASE WHEN (d_day_name = Sunday   ) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Monday   ) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Tuesday  ) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Wednesday) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Thursday ) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Friday   ) THEN ss_sales_price END)),sum(UnscaledValue(CASE WHEN (d_day_name = Saturday ) THEN ss_sales_price END)),sun_sales,mon_sales,tue_sales,wed_sales,thu_sales,fri_sales,sat_sales,sum,sum,sum,sum,sum,sum,sum]
                        InputAdapter
                          Exchange [d_week_seq,ss_store_sk] #7
                            WholeStageCodegen (6)
                              HashAggregate [d_week_seq,ss_store_sk,d_day_name,ss_sales_price] [sum,sum,sum,sum,sum,sum,sum,sum,sum,sum,sum,sum,sum,sum]
                                Project [ss_store_sk,ss_sales_price,d_week_seq,d_day_name]
                                  BroadcastHashJoin [ss_sold_date_sk,d_date_sk]
                                    Filter [ss_store_sk]
                                      ColumnarToRow
                                        InputAdapter
                                          Scan parquet spark_catalog.default.store_sales [ss_store_sk,ss_sales_price,ss_sold_date_sk]
                                    InputAdapter
                                      BroadcastExchange #8
                                        WholeStageCodegen (5)
                                          Filter [d_date_sk,d_week_seq]
                                            Subquery #2
                                              ObjectHashAggregate [buf] [bloom_filter_agg(xxhash64(d_week_seq, 42), 335, 8990, 0, 0),bloomFilter,buf]
                                                Exchange #9
                                                  ObjectHashAggregate [d_week_seq] [buf,buf]
                                                    WholeStageCodegen (1)
                                                      Project [d_week_seq]
                                                        Filter [d_month_seq,d_week_seq]
                                                          ColumnarToRow
                                                            InputAdapter
                                                              Scan parquet spark_catalog.default.date_dim [d_month_seq,d_week_seq]
                                            ColumnarToRow
                                              InputAdapter
                                                Scan parquet spark_catalog.default.date_dim [d_date_sk,d_week_seq,d_day_name]
                      InputAdapter
                        BroadcastExchange #10
                          WholeStageCodegen (7)
                            Filter [s_store_sk,s_store_id]
                              ColumnarToRow
                                InputAdapter
                                  Scan parquet spark_catalog.default.store [s_store_sk,s_store_id]
                  InputAdapter
                    BroadcastExchange #11
                      WholeStageCodegen (8)
                        Project [d_week_seq]
                          Filter [d_month_seq,d_week_seq]
                            ColumnarToRow
                              InputAdapter
                                Scan parquet spark_catalog.default.date_dim [d_month_seq,d_week_seq]
