remote exchange (GATHER, SINGLE, [])
    local exchange (GATHER, UNKNOWN, [])
        remote exchange (REPARTITION, ROUND_ROBIN, [])
            join (INNER, PARTITIONED):
                join (INNER, PARTITIONED):
                    join (INNER, PARTITIONED):
                        final hashaggregation over (ca_county_73, d_qoy_48, d_year_44)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["ca_county_73", "d_qoy_48", "d_year_44"])
                                    partial hashaggregation over (ca_county_73, d_qoy_48, d_year_44)
                                        join (INNER, PARTITIONED):
                                            remote exchange (REPARTITION, HASH, ["ss_addr_sk_21"])
                                                join (INNER, REPLICATED):
                                                    scan store_sales
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            scan date_dim
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPARTITION, HASH, ["ca_address_sk_66"])
                                                    scan customer_address
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (REPARTITION, HASH, ["ca_county_157", NullableValue{type=integer, value=2000}, NullableValue{type=integer, value=2}])
                                final hashaggregation over (ca_county_157, d_qoy_132, d_year_128)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["ca_county_157", "d_qoy_132", "d_year_128"])
                                            partial hashaggregation over (ca_county_157, d_qoy_132, d_year_128)
                                                join (INNER, PARTITIONED):
                                                    remote exchange (REPARTITION, HASH, ["ss_addr_sk_105"])
                                                        join (INNER, REPLICATED):
                                                            scan store_sales
                                                            local exchange (GATHER, SINGLE, [])
                                                                remote exchange (REPLICATE, BROADCAST, [])
                                                                    scan date_dim
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPARTITION, HASH, ["ca_address_sk_150"])
                                                            scan customer_address
                    join (INNER, PARTITIONED):
                        final hashaggregation over (ca_county_313, d_qoy_288, d_year_284)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["ca_county_313", "d_qoy_288", "d_year_284"])
                                    partial hashaggregation over (ca_county_313, d_qoy_288, d_year_284)
                                        join (INNER, PARTITIONED):
                                            remote exchange (REPARTITION, HASH, ["ws_bill_addr_sk_251"])
                                                join (INNER, REPLICATED):
                                                    scan web_sales
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            scan date_dim
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPARTITION, HASH, ["ca_address_sk_306"])
                                                    scan customer_address
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (REPARTITION, HASH, ["ca_county_408", NullableValue{type=integer, value=2000}, NullableValue{type=integer, value=2}])
                                final hashaggregation over (ca_county_408, d_qoy_383, d_year_379)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["ca_county_408", "d_qoy_383", "d_year_379"])
                                            partial hashaggregation over (ca_county_408, d_qoy_383, d_year_379)
                                                join (INNER, PARTITIONED):
                                                    remote exchange (REPARTITION, HASH, ["ws_bill_addr_sk_346"])
                                                        join (INNER, REPLICATED):
                                                            scan web_sales
                                                            local exchange (GATHER, SINGLE, [])
                                                                remote exchange (REPLICATE, BROADCAST, [])
                                                                    scan date_dim
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPARTITION, HASH, ["ca_address_sk_401"])
                                                            scan customer_address
                local exchange (GATHER, SINGLE, [])
                    remote exchange (REPARTITION, HASH, ["ca_county", NullableValue{type=integer, value=2000}, NullableValue{type=integer, value=2}])
                        join (INNER, PARTITIONED):
                            final hashaggregation over (ca_county, d_qoy, d_year)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["ca_county", "d_qoy", "d_year"])
                                        partial hashaggregation over (ca_county, d_qoy, d_year)
                                            join (INNER, PARTITIONED):
                                                remote exchange (REPARTITION, HASH, ["ss_addr_sk"])
                                                    join (INNER, REPLICATED):
                                                        scan store_sales
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                scan date_dim
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPARTITION, HASH, ["ca_address_sk"])
                                                        scan customer_address
                            final hashaggregation over (ca_county_218, d_qoy_193, d_year_189)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["ca_county_218", "d_qoy_193", "d_year_189"])
                                        partial hashaggregation over (ca_county_218, d_qoy_193, d_year_189)
                                            join (INNER, PARTITIONED):
                                                remote exchange (REPARTITION, HASH, ["ws_bill_addr_sk"])
                                                    join (INNER, REPLICATED):
                                                        scan web_sales
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                scan date_dim
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPARTITION, HASH, ["ca_address_sk_211"])
                                                        scan customer_address
