final hashaggregation over ()
    local exchange (GATHER, SINGLE, [])
        remote exchange (GATHER, SINGLE, [])
            partial hashaggregation over ()
                local exchange (GATHER, SINGLE, [])
                    Filter
                        semijoin (PARTITIONED):
                            Filter
                                semijoin (PARTITIONED):
                                    remote exchange (REPARTITION, HASH, ["ws_order_number"])
                                        join (INNER, REPLICATED):
                                            join (INNER, REPLICATED):
                                                join (INNER, REPLICATED):
                                                    Filter
                                                        scan web_sales
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            Filter
                                                                scan customer_address
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        Filter
                                                            scan date_dim
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPLICATE, BROADCAST, [])
                                                    Filter
                                                        scan web_site
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["ws_order_number_17"])
                                            cte ws_wh
                                                Filter
                                                    single hashaggregation over (ws_order_number_17)
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPARTITION, HASH, ["ws_order_number_17"])
                                                                scan web_sales
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["wr_order_number"])
                                    join (INNER, PARTITIONED):
                                        remote exchange (REPARTITION, HASH, ["wr_order_number"])
                                            Filter
                                                scan web_returns
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPARTITION, HASH, ["ws_order_number_99"])
                                                cte ws_wh
                                                    Filter
                                                        single hashaggregation over (ws_order_number_99)
                                                            local exchange (GATHER, SINGLE, [])
                                                                remote exchange (REPARTITION, HASH, ["ws_order_number_99"])
                                                                    scan web_sales
