WholeStageCodegen (12)
  HashAggregate [sum,sum,count] [sum(UnscaledValue(cs_ext_ship_cost)),sum(UnscaledValue(cs_net_profit)),count(cs_order_number),order count ,total shipping cost ,total net profit ,sum,sum,count]
    InputAdapter
      Exchange #1
        WholeStageCodegen (11)
          HashAggregate [sum,sum,cs_order_number] [sum(UnscaledValue(cs_ext_ship_cost)),sum(UnscaledValue(cs_net_profit)),count(cs_order_number),count,sum,sum,count]
            HashAggregate [cs_order_number,sum,sum] [sum(UnscaledValue(cs_ext_ship_cost)),sum(UnscaledValue(cs_net_profit)),sum,sum]
              HashAggregate [cs_order_number,cs_ext_ship_cost,cs_net_profit] [sum(UnscaledValue(cs_ext_ship_cost)),sum(UnscaledValue(cs_net_profit)),sum,sum,sum,sum]
                Project [cs_order_number,cs_ext_ship_cost,cs_net_profit]
                  BroadcastHashJoin [cs_ship_date_sk,d_date_sk]
                    Project [cs_ship_date_sk,cs_order_number,cs_ext_ship_cost,cs_net_profit]
                      BroadcastHashJoin [cs_call_center_sk,cc_call_center_sk]
                        Project [cs_ship_date_sk,cs_call_center_sk,cs_order_number,cs_ext_ship_cost,cs_net_profit]
                          BroadcastHashJoin [cs_ship_addr_sk,ca_address_sk]
                            SortMergeJoin [cs_order_number,cr_order_number]
                              InputAdapter
                                WholeStageCodegen (5)
                                  Project [cs_ship_date_sk,cs_ship_addr_sk,cs_call_center_sk,cs_order_number,cs_ext_ship_cost,cs_net_profit]
                                    SortMergeJoin [cs_order_number,cs_order_number,cs_warehouse_sk,cs_warehouse_sk]
                                      InputAdapter
                                        WholeStageCodegen (2)
                                          Sort [cs_order_number]
                                            InputAdapter
                                              Exchange [cs_order_number] #2
                                                WholeStageCodegen (1)
                                                  Project [cs_ship_date_sk,cs_ship_addr_sk,cs_call_center_sk,cs_warehouse_sk,cs_order_number,cs_ext_ship_cost,cs_net_profit]
                                                    Filter [cs_ship_date_sk,cs_ship_addr_sk,cs_call_center_sk]
                                                      Subquery #1
                                                        ObjectHashAggregate [buf] [bloom_filter_agg(xxhash64(ca_address_sk, 42), 17961, 333176, 0, 0),bloomFilter,buf]
                                                          Exchange #3
                                                            ObjectHashAggregate [ca_address_sk] [buf,buf]
                                                              WholeStageCodegen (1)
                                                                Project [ca_address_sk]
                                                                  Filter [ca_state,ca_address_sk]
                                                                    ColumnarToRow
                                                                      InputAdapter
                                                                        Scan parquet spark_catalog.default.customer_address [ca_address_sk,ca_state]
                                                      Subquery #2
                                                        ObjectHashAggregate [buf] [bloom_filter_agg(xxhash64(cc_call_center_sk, 42), 4, 144, 0, 0),bloomFilter,buf]
                                                          Exchange #4
                                                            ObjectHashAggregate [cc_call_center_sk] [buf,buf]
                                                              WholeStageCodegen (1)
                                                                Project [cc_call_center_sk]
                                                                  Filter [cc_county,cc_call_center_sk]
                                                                    ColumnarToRow
                                                                      InputAdapter
                                                                        Scan parquet spark_catalog.default.call_center [cc_call_center_sk,cc_county]
                                                      Subquery #3
                                                        ObjectHashAggregate [buf] [bloom_filter_agg(xxhash64(d_date_sk, 42), 73049, 1141755, 0, 0),bloomFilter,buf]
                                                          Exchange #5
                                                            ObjectHashAggregate [d_date_sk] [buf,buf]
                                                              WholeStageCodegen (1)
                                                                Project [d_date_sk]
                                                                  Filter [d_date,d_date_sk]
                                                                    ColumnarToRow
                                                                      InputAdapter
                                                                        Scan parquet spark_catalog.default.date_dim [d_date_sk,d_date]
                                                      ColumnarToRow
                                                        InputAdapter
                                                          Scan parquet spark_catalog.default.catalog_sales [cs_ship_date_sk,cs_ship_addr_sk,cs_call_center_sk,cs_warehouse_sk,cs_order_number,cs_ext_ship_cost,cs_net_profit,cs_sold_date_sk]
                                      InputAdapter
                                        WholeStageCodegen (4)
                                          Sort [cs_order_number]
                                            InputAdapter
                                              Exchange [cs_order_number] #6
                                                WholeStageCodegen (3)
                                                  Project [cs_warehouse_sk,cs_order_number]
                                                    ColumnarToRow
                                                      InputAdapter
                                                        Scan parquet spark_catalog.default.catalog_sales [cs_warehouse_sk,cs_order_number,cs_sold_date_sk]
                              InputAdapter
                                WholeStageCodegen (7)
                                  Sort [cr_order_number]
                                    InputAdapter
                                      Exchange [cr_order_number] #7
                                        WholeStageCodegen (6)
                                          Project [cr_order_number]
                                            ColumnarToRow
                                              InputAdapter
                                                Scan parquet spark_catalog.default.catalog_returns [cr_order_number,cr_returned_date_sk]
                            InputAdapter
                              BroadcastExchange #8
                                WholeStageCodegen (8)
                                  Project [ca_address_sk]
                                    Filter [ca_state,ca_address_sk]
                                      ColumnarToRow
                                        InputAdapter
                                          Scan parquet spark_catalog.default.customer_address [ca_address_sk,ca_state]
                        InputAdapter
                          BroadcastExchange #9
                            WholeStageCodegen (9)
                              Project [cc_call_center_sk]
                                Filter [cc_county,cc_call_center_sk]
                                  ColumnarToRow
                                    InputAdapter
                                      Scan parquet spark_catalog.default.call_center [cc_call_center_sk,cc_county]
                    InputAdapter
                      BroadcastExchange #10
                        WholeStageCodegen (10)
                          Project [d_date_sk]
                            Filter [d_date,d_date_sk]
                              ColumnarToRow
                                InputAdapter
                                  Scan parquet spark_catalog.default.date_dim [d_date_sk,d_date]
