local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        join (INNER, PARTITIONED):
            join (INNER, PARTITIONED):
                local exchange (GATHER, SINGLE, [])
                    remote exchange (REPARTITION, HASH, ["cc_name", "i_brand", "i_category"])
                        final aggregation over (cc_name, d_moy, d_year, i_brand, i_category)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["cc_name", "d_moy", "d_year", "i_brand", "i_category"])
                                    partial aggregation over (cc_name, d_moy, d_year, i_brand, i_category)
                                        join (INNER, PARTITIONED):
                                            remote exchange (REPARTITION, HASH, ["cs_item_sk"])
                                                join (INNER, REPLICATED):
                                                    join (INNER, REPLICATED):
                                                        scan catalog_sales
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                scan date_dim (pushdown = true)
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            scan call_center
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPARTITION, HASH, ["i_item_sk"])
                                                    scan item
                local exchange (GATHER, SINGLE, [])
                    remote exchange (REPARTITION, HASH, ["cc_name_153", "i_brand_68", "i_category_72"])
                        final aggregation over (cc_name_153, d_moy_126, d_year_124, i_brand_68, i_category_72)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["cc_name_153", "d_moy_126", "d_year_124", "i_brand_68", "i_category_72"])
                                    partial aggregation over (cc_name_153, d_moy_126, d_year_124, i_brand_68, i_category_72)
                                        join (INNER, PARTITIONED):
                                            remote exchange (REPARTITION, HASH, ["cs_item_sk_98"])
                                                join (INNER, REPLICATED):
                                                    join (INNER, REPLICATED):
                                                        scan catalog_sales
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                scan date_dim (pushdown = true)
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            scan call_center
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPARTITION, HASH, ["i_item_sk_60"])
                                                    scan item
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, ["cc_name_338", "i_brand_253", "i_category_257"])
                    final aggregation over (cc_name_338, d_moy_311, d_year_309, i_brand_253, i_category_257)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (REPARTITION, HASH, ["cc_name_338", "d_moy_311", "d_year_309", "i_brand_253", "i_category_257"])
                                partial aggregation over (cc_name_338, d_moy_311, d_year_309, i_brand_253, i_category_257)
                                    join (INNER, PARTITIONED):
                                        remote exchange (REPARTITION, HASH, ["cs_item_sk_283"])
                                            join (INNER, REPLICATED):
                                                join (INNER, REPLICATED):
                                                    scan catalog_sales
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            scan date_dim (pushdown = true)
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        scan call_center
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPARTITION, HASH, ["i_item_sk_245"])
                                                scan item
