local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        final hashaggregation over (ca_state, cd_dep_college_count, cd_dep_count, cd_dep_employed_count, cd_gender, cd_marital_status)
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, ["ca_state", "cd_dep_college_count", "cd_dep_count", "cd_dep_employed_count", "cd_gender", "cd_marital_status"])
                    partial hashaggregation over (ca_state, cd_dep_college_count, cd_dep_count, cd_dep_employed_count, cd_gender, cd_marital_status)
                        join (LEFT, PARTITIONED):
                            join (LEFT, PARTITIONED):
                                remote exchange (REPARTITION, HASH, ["c_customer_sk"])
                                    join (INNER, REPLICATED):
                                        scan customer_demographics
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPLICATE, BROADCAST, [])
                                                join (INNER, PARTITIONED):
                                                    remote exchange (REPARTITION, HASH, ["c_customer_sk"])
                                                        join (INNER, PARTITIONED):
                                                            remote exchange (REPARTITION, HASH, ["c_current_addr_sk"])
                                                                scan customer
                                                            local exchange (GATHER, SINGLE, [])
                                                                remote exchange (REPARTITION, HASH, ["ca_address_sk"])
                                                                    scan customer_address
                                                    final hashaggregation over (ss_customer_sk)
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPARTITION, HASH, ["ss_customer_sk"])
                                                                partial hashaggregation over (ss_customer_sk)
                                                                    join (INNER, REPLICATED):
                                                                        scan store_sales
                                                                        local exchange (GATHER, SINGLE, [])
                                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                                scan date_dim (pushdown = true)
                                final hashaggregation over (ws_bill_customer_sk)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["ws_bill_customer_sk"])
                                            partial hashaggregation over (ws_bill_customer_sk)
                                                join (INNER, REPLICATED):
                                                    scan web_sales
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            scan date_dim (pushdown = true)
                            final hashaggregation over (cs_ship_customer_sk)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["cs_ship_customer_sk"])
                                        partial hashaggregation over (cs_ship_customer_sk)
                                            join (INNER, REPLICATED):
                                                scan catalog_sales
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        scan date_dim (pushdown = true)
