local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        final aggregation over (s_store_name)
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, ["s_store_name"])
                    partial aggregation over (s_store_name)
                        join (INNER, PARTITIONED):
                            remote exchange (REPARTITION, HASH, ["substr_55"])
                                join (INNER, REPLICATED):
                                    join (INNER, REPLICATED):
                                        scan store_sales
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPLICATE, BROADCAST, [])
                                                scan date_dim
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPLICATE, BROADCAST, [])
                                            scan store
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["substr_56"])
                                    final aggregation over (expr_29)
                                        local exchange (REPARTITION, HASH, ["expr_29"])
                                            remote exchange (REPARTITION, HASH, ["expr_47"])
                                                partial aggregation over (expr_47)
                                                    scan customer_address
                                            remote exchange (REPARTITION, HASH, ["expr_50"])
                                                partial aggregation over (expr_50)
                                                    final aggregation over (ca_zip_11)
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPARTITION, HASH, ["ca_zip_11"])
                                                                partial aggregation over (ca_zip_11)
                                                                    join (INNER, PARTITIONED):
                                                                        remote exchange (REPARTITION, HASH, ["ca_address_sk_2"])
                                                                            scan customer_address
                                                                        local exchange (GATHER, SINGLE, [])
                                                                            remote exchange (REPARTITION, HASH, ["c_current_addr_sk"])
                                                                                scan customer
