local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        local exchange (GATHER, SINGLE, [])
            local exchange (REPARTITION, ROUND_ROBIN, [])
                final aggregation over (cd_credit_rating, cd_dep_college_count, cd_dep_count, cd_dep_employed_count, cd_education_status, cd_gender, cd_marital_status, cd_purchase_estimate)
                    local exchange (GATHER, SINGLE, [])
                        remote exchange (REPARTITION, HASH, [cd_credit_rating, cd_dep_college_count, cd_dep_count, cd_dep_employed_count, cd_education_status, cd_gender, cd_marital_status, cd_purchase_estimate])
                            partial aggregation over (cd_credit_rating, cd_dep_college_count, cd_dep_count, cd_dep_employed_count, cd_education_status, cd_gender, cd_marital_status, cd_purchase_estimate)
                                join (RIGHT, PARTITIONED):
                                    final aggregation over (cs_ship_customer_sk)
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPARTITION, HASH, [cs_ship_customer_sk])
                                                partial aggregation over (cs_ship_customer_sk)
                                                    join (INNER, REPLICATED, can skip output duplicates):
                                                        dynamic filter (cs_ship_customer_sk::EQUAL, cs_sold_date_sk::EQUAL)
                                                            scan catalog_sales
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                scan date_dim
                                    local exchange (GATHER, SINGLE, [])
                                        join (RIGHT, PARTITIONED):
                                            final aggregation over (ws_bill_customer_sk)
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPARTITION, HASH, [ws_bill_customer_sk])
                                                        partial aggregation over (ws_bill_customer_sk)
                                                            join (INNER, REPLICATED, can skip output duplicates):
                                                                dynamic filter (ws_bill_customer_sk::EQUAL, ws_sold_date_sk::EQUAL)
                                                                    scan web_sales
                                                                local exchange (GATHER, SINGLE, [])
                                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                                        scan date_dim
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPARTITION, HASH, [ss_customer_sk])
                                                    join (INNER, REPLICATED):
                                                        dynamic filter (cd_demo_sk::EQUAL)
                                                            scan customer_demographics
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                join (INNER, PARTITIONED):
                                                                    final aggregation over (ss_customer_sk)
                                                                        local exchange (GATHER, SINGLE, [])
                                                                            remote exchange (REPARTITION, HASH, [ss_customer_sk])
                                                                                partial aggregation over (ss_customer_sk)
                                                                                    join (INNER, REPLICATED, can skip output duplicates):
                                                                                        dynamic filter (ss_customer_sk::EQUAL, ss_sold_date_sk::EQUAL)
                                                                                            scan store_sales
                                                                                        local exchange (GATHER, SINGLE, [])
                                                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                                                scan date_dim
                                                                    local exchange (GATHER, SINGLE, [])
                                                                        remote exchange (REPARTITION, HASH, [c_customer_sk])
                                                                            join (INNER, REPLICATED):
                                                                                dynamic filter (c_current_addr_sk::EQUAL)
                                                                                    scan customer
                                                                                local exchange (GATHER, SINGLE, [])
                                                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                                                        scan customer_address
