local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        cross join:
            join (LEFT, PARTITIONED):
                remote exchange (REPARTITION, HASH, ["ca_state"])
                    join (INNER, PARTITIONED):
                        remote exchange (REPARTITION, HASH, ["wr_returning_customer_sk"])
                            final hashaggregation over (ca_state, wr_returning_customer_sk)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["ca_state", "wr_returning_customer_sk"])
                                        partial hashaggregation over (ca_state, wr_returning_customer_sk)
                                            join (INNER, PARTITIONED):
                                                remote exchange (REPARTITION, HASH, ["ca_address_sk"])
                                                    scan customer_address
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPARTITION, HASH, ["wr_returning_addr_sk"])
                                                        join (INNER, PARTITIONED):
                                                            remote exchange (REPARTITION, HASH, ["wr_returned_date_sk"])
                                                                scan web_returns
                                                            local exchange (GATHER, SINGLE, [])
                                                                remote exchange (REPARTITION, HASH, ["d_date_sk"])
                                                                    ReuseTableScan date_dim (Consumer)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (REPARTITION, HASH, ["c_customer_sk"])
                                join (INNER, REPLICATED):
                                    scan customer
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPLICATE, BROADCAST, [])
                                            scan customer_address
                final hashaggregation over (ca_state_90)
                    local exchange (GATHER, SINGLE, [])
                        remote exchange (REPARTITION, HASH, ["ca_state_90"])
                            partial hashaggregation over (ca_state_90)
                                final hashaggregation over (ca_state_90, wr_returning_customer_sk_35)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["ca_state_90", "wr_returning_customer_sk_35"])
                                            partial hashaggregation over (ca_state_90, wr_returning_customer_sk_35)
                                                join (INNER, PARTITIONED):
                                                    remote exchange (REPARTITION, HASH, ["ca_address_sk_82"])
                                                        scan customer_address
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPARTITION, HASH, ["wr_returning_addr_sk_38"])
                                                            join (INNER, PARTITIONED):
                                                                remote exchange (REPARTITION, HASH, ["wr_returned_date_sk_28"])
                                                                    scan web_returns
                                                                local exchange (GATHER, SINGLE, [])
                                                                    remote exchange (REPARTITION, HASH, ["d_date_sk_53"])
                                                                        ReuseTableScan date_dim (Producer)
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPLICATE, BROADCAST, [])
                    single hashaggregation over ()
                        values (1 rows)
