remote exchange (GATHER, SINGLE, [])
    local exchange (GATHER, UNKNOWN, [])
        remote exchange (REPARTITION, ROUND_ROBIN, [])
            join (INNER, PARTITIONED):
                remote exchange (REPARTITION, HASH, ["ss_customer_sk"])
                    final aggregation over (ss_customer_sk, ss_ticket_number)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (REPARTITION, HASH, ["ss_customer_sk", "ss_ticket_number"])
                                partial aggregation over (ss_customer_sk, ss_ticket_number)
                                    join (INNER, REPLICATED):
                                        join (INNER, PARTITIONED):
                                            remote exchange (REPARTITION, HASH, ["ss_hdemo_sk"])
                                                join (INNER, REPLICATED):
                                                    scan store_sales
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            scan date_dim (pushdown = true)
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPARTITION, HASH, ["hd_demo_sk"])
                                                    scan household_demographics (pushdown = true)
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPLICATE, BROADCAST, [])
                                                scan store (pushdown = true)
                local exchange (GATHER, SINGLE, [])
                    remote exchange (REPARTITION, HASH, ["c_customer_sk"])
                        scan customer
