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 hashaggregation 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 hashaggregation 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_58", "i_category_62", "s_company_name_143", "s_store_name_131"])
                        final hashaggregation over (d_moy_105, d_year_103, i_brand_58, i_category_62, s_company_name_143, s_store_name_131)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["d_moy_105", "d_year_103", "i_brand_58", "i_category_62", "s_company_name_143", "s_store_name_131"])
                                    partial hashaggregation over (d_moy_105, d_year_103, i_brand_58, i_category_62, s_company_name_143, s_store_name_131)
                                        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_221", "i_category_225", "s_company_name_306", "s_store_name_294"])
                    final hashaggregation over (d_moy_268, d_year_266, i_brand_221, i_category_225, s_company_name_306, s_store_name_294)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (REPARTITION, HASH, ["d_moy_268", "d_year_266", "i_brand_221", "i_category_225", "s_company_name_306", "s_store_name_294"])
                                partial hashaggregation over (d_moy_268, d_year_266, i_brand_221, i_category_225, s_company_name_306, s_store_name_294)
                                    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
