local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        final aggregation over (ca_zip)
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, ["ca_zip"])
                    partial aggregation over (ca_zip)
                        join (INNER, PARTITIONED):
                            remote exchange (REPARTITION, HASH, ["cs_bill_customer_sk"])
                                join (INNER, REPLICATED):
                                    scan catalog_sales
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPLICATE, BROADCAST, [])
                                            scan date_dim
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["c_customer_sk"])
                                    join (INNER, PARTITIONED):
                                        remote exchange (REPARTITION, HASH, ["c_current_addr_sk"])
                                            scan customer
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPARTITION, HASH, ["ca_address_sk"])
                                                scan customer_address
