local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        cross join:
            join (LEFT, REPLICATED):
                join (INNER, PARTITIONED):
                    remote exchange (REPARTITION, HASH, ["sr_customer_sk"])
                        join (INNER, REPLICATED):
                            final hashaggregation over (sr_customer_sk, sr_store_sk)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["sr_customer_sk", "sr_store_sk"])
                                        partial hashaggregation over (sr_customer_sk, sr_store_sk)
                                            join (INNER, REPLICATED):
                                                scan store_returns
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        ReuseTableScan date_dim (Consumer)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPLICATE, BROADCAST, [])
                                    scan store
                    local exchange (GATHER, SINGLE, [])
                        remote exchange (REPARTITION, HASH, ["c_customer_sk"])
                            scan customer
                local exchange (GATHER, SINGLE, [])
                    remote exchange (REPLICATE, BROADCAST, [])
                        final hashaggregation over (sr_store_sk_21)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["sr_store_sk_21"])
                                    partial hashaggregation over (sr_store_sk_21)
                                        final hashaggregation over (sr_customer_sk_17, sr_store_sk_21)
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPARTITION, HASH, ["sr_customer_sk_17", "sr_store_sk_21"])
                                                    partial hashaggregation over (sr_customer_sk_17, sr_store_sk_21)
                                                        join (INNER, REPLICATED):
                                                            scan store_returns
                                                            local exchange (GATHER, SINGLE, [])
                                                                remote exchange (REPLICATE, BROADCAST, [])
                                                                    ReuseTableScan date_dim (Producer)
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPLICATE, BROADCAST, [])
                    single hashaggregation over ()
                        values (1 rows)
