local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        join (INNER, PARTITIONED):
            join (INNER, PARTITIONED):
                local exchange (GATHER, SINGLE, [])
                    remote exchange (REPARTITION, HASH, ["i_brand", "i_category", "s_company_name", "s_store_name"])
                        final aggregation over (d_moy, d_year, i_brand, i_category, s_company_name, s_store_name)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["d_moy", "d_year", "i_brand", "i_category", "s_company_name", "s_store_name"])
                                    partial aggregation over (d_moy, d_year, i_brand, i_category, s_company_name, s_store_name)
                                        join (INNER, REPLICATED):
                                            join (INNER, REPLICATED):
                                                join (INNER, REPLICATED):
                                                    scan store_sales
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            scan date_dim (pushdown = true)
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        scan store
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPLICATE, BROADCAST, [])
                                                    scan item
                local exchange (GATHER, SINGLE, [])
                    remote exchange (REPARTITION, HASH, ["i_brand_76", "i_category_80", "s_company_name_161", "s_store_name_149"])
                        final aggregation over (d_moy_123, d_year_121, i_brand_76, i_category_80, s_company_name_161, s_store_name_149)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["d_moy_123", "d_year_121", "i_brand_76", "i_category_80", "s_company_name_161", "s_store_name_149"])
                                    partial aggregation over (d_moy_123, d_year_121, i_brand_76, i_category_80, s_company_name_161, s_store_name_149)
                                        join (INNER, REPLICATED):
                                            join (INNER, REPLICATED):
                                                join (INNER, REPLICATED):
                                                    scan store_sales
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            scan date_dim (pushdown = true)
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        scan store
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPLICATE, BROADCAST, [])
                                                    scan item
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, ["i_brand_257", "i_category_261", "s_company_name_342", "s_store_name_330"])
                    final aggregation over (d_moy_304, d_year_302, i_brand_257, i_category_261, s_company_name_342, s_store_name_330)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (REPARTITION, HASH, ["d_moy_304", "d_year_302", "i_brand_257", "i_category_261", "s_company_name_342", "s_store_name_330"])
                                partial aggregation over (d_moy_304, d_year_302, i_brand_257, i_category_261, s_company_name_342, s_store_name_330)
                                    join (INNER, REPLICATED):
                                        join (INNER, REPLICATED):
                                            join (INNER, REPLICATED):
                                                scan store_sales
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        scan date_dim (pushdown = true)
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPLICATE, BROADCAST, [])
                                                    scan store
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPLICATE, BROADCAST, [])
                                                scan item
