final aggregation over ()
    local exchange (GATHER, SINGLE, [])
        remote exchange (GATHER, SINGLE, [])
            partial aggregation over ()
                final aggregation over (group, ws_order_number_25)
                    local exchange (GATHER, SINGLE, [])
                        remote exchange (REPARTITION, HASH, [group, ws_order_number_25])
                            partial aggregation over (group, ws_order_number_25)
                                join (LEFT, PARTITIONED):
                                    final aggregation over (ca_state, d_date, unique, web_company_name, ws_ext_ship_cost, ws_net_profit, ws_order_number_25, ws_ship_addr_sk, ws_ship_date_sk, ws_warehouse_sk, ws_web_site_sk)
                                        local exchange (GATHER, SINGLE, [])
                                            partial aggregation over (ca_state, d_date, unique, web_company_name, ws_ext_ship_cost, ws_net_profit, ws_order_number_25, ws_ship_addr_sk, ws_ship_date_sk, ws_warehouse_sk, ws_web_site_sk)
                                                join (INNER, PARTITIONED, can skip output duplicates):
                                                    remote exchange (REPARTITION, HASH, [ws_order_number_25])
                                                        dynamic filter (ws_order_number_25::EQUAL)
                                                            scan web_sales
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPARTITION, HASH, [ws_order_number])
                                                            join (INNER, REPLICATED):
                                                                join (INNER, REPLICATED):
                                                                    join (INNER, REPLICATED):
                                                                        dynamic filter (ws_ship_addr_sk::EQUAL, ws_ship_date_sk::EQUAL, ws_web_site_sk::EQUAL)
                                                                            scan web_sales
                                                                        local exchange (GATHER, SINGLE, [])
                                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                                scan date_dim
                                                                    local exchange (GATHER, SINGLE, [])
                                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                                            scan web_site
                                                                local exchange (GATHER, SINGLE, [])
                                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                                        scan customer_address
                                    final aggregation over (wr_order_number)
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPARTITION, HASH, [wr_order_number])
                                                partial aggregation over (wr_order_number)
                                                    scan web_returns
