local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        join (INNER, PARTITIONED):
            join (INNER, PARTITIONED):
                join (INNER, PARTITIONED):
                    remote exchange (REPARTITION, HASH, [c_customer_id])
                        final aggregation over (c_birth_country, c_customer_id, c_email_address, c_first_name, c_last_name, c_login, c_preferred_cust_flag)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, [c_birth_country, c_customer_id, c_email_address, c_first_name, c_last_name, c_login, c_preferred_cust_flag])
                                    partial aggregation over (c_birth_country, c_customer_id, c_email_address, c_first_name, c_last_name, c_login, c_preferred_cust_flag)
                                        join (INNER, PARTITIONED):
                                            remote exchange (REPARTITION, HASH, [ss_customer_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, [c_customer_sk])
                                                    scan customer
                    local exchange (GATHER, SINGLE, [])
                        remote exchange (REPARTITION, HASH, [c_customer_id_153])
                            final aggregation over (c_birth_country_166, c_customer_id_153, c_email_address_168, c_first_name_160, c_last_name_161, c_login_167, c_preferred_cust_flag_162)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, [c_birth_country_166, c_customer_id_153, c_email_address_168, c_first_name_160, c_last_name_161, c_login_167, c_preferred_cust_flag_162])
                                        partial aggregation over (c_birth_country_166, c_customer_id_153, c_email_address_168, c_first_name_160, c_last_name_161, c_login_167, c_preferred_cust_flag_162)
                                            join (INNER, PARTITIONED):
                                                remote exchange (REPARTITION, HASH, [ss_customer_sk_173])
                                                    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, [c_customer_sk_152])
                                                        scan customer
                local exchange (GATHER, SINGLE, [])
                    remote exchange (REPARTITION, HASH, [c_customer_id_525])
                        final aggregation over (c_birth_country_538, c_customer_id_525, c_email_address_540, c_first_name_532, c_last_name_533, c_login_539, c_preferred_cust_flag_534)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, [c_birth_country_538, c_customer_id_525, c_email_address_540, c_first_name_532, c_last_name_533, c_login_539, c_preferred_cust_flag_534])
                                    partial aggregation over (c_birth_country_538, c_customer_id_525, c_email_address_540, c_first_name_532, c_last_name_533, c_login_539, c_preferred_cust_flag_534)
                                        join (INNER, PARTITIONED):
                                            remote exchange (REPARTITION, HASH, [ws_bill_customer_sk_546])
                                                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, [c_customer_sk_524])
                                                    scan customer
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, [c_customer_id_790])
                    final aggregation over (c_birth_country_803, c_customer_id_790, c_email_address_805, c_first_name_797, c_last_name_798, c_login_804, c_preferred_cust_flag_799)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (REPARTITION, HASH, [c_birth_country_803, c_customer_id_790, c_email_address_805, c_first_name_797, c_last_name_798, c_login_804, c_preferred_cust_flag_799])
                                partial aggregation over (c_birth_country_803, c_customer_id_790, c_email_address_805, c_first_name_797, c_last_name_798, c_login_804, c_preferred_cust_flag_799)
                                    join (INNER, PARTITIONED):
                                        remote exchange (REPARTITION, HASH, [ws_bill_customer_sk_811])
                                            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, [c_customer_sk_789])
                                                scan customer
