local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        final hashaggregation over (i_item_id)
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, ["i_item_id"])
                    partial hashaggregation over (i_item_id)
                        join (INNER, REPLICATED):
                            join (INNER, PARTITIONED):
                                remote exchange (REPARTITION, HASH, ["ss_cdemo_sk"])
                                    join (INNER, REPLICATED):
                                        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 (REPLICATE, BROADCAST, [])
                                                scan promotion (pushdown = true)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["cd_demo_sk"])
                                        scan customer_demographics (pushdown = true)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPLICATE, BROADCAST, [])
                                    scan item
