local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        final aggregation over (d_qoy_176, d_year_175, expr_173, expr_174, i_category_177)
            local exchange (REPARTITION, HASH, ["d_qoy_176", "d_year_175", "expr_173", "expr_174", "i_category_177"])
                local exchange (REPARTITION, ROUND_ROBIN, [])
                    remote exchange (REPARTITION, HASH, ["d_qoy", "d_year", "expr_225", "expr_226", "i_category"])
                        partial aggregation over (d_qoy, d_year, expr_225, expr_226, i_category)
                            join (INNER, PARTITIONED):
                                remote exchange (REPARTITION, HASH, ["ss_item_sk"])
                                    join (INNER, PARTITIONED):
                                        remote exchange (REPARTITION, HASH, ["d_date_sk"])
                                            scan date_dim
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPARTITION, HASH, ["ss_sold_date_sk"])
                                                scan store_sales (pushdown = true)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["i_item_sk"])
                                        scan item
                    remote exchange (REPARTITION, HASH, ["d_qoy_53", "d_year_49", "expr_231", "expr_232", "i_category_32"])
                        partial aggregation over (d_qoy_53, d_year_49, expr_231, expr_232, i_category_32)
                            join (INNER, REPLICATED):
                                scan item
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPLICATE, BROADCAST, [])
                                        join (INNER, REPLICATED):
                                            scan date_dim
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPLICATE, BROADCAST, [])
                                                    scan web_sales (pushdown = true)
                remote exchange (REPARTITION, HASH, ["d_qoy_136", "d_year_132", "expr_155", "expr_168", "i_category_115"])
                    partial aggregation over (d_qoy_136, d_year_132, expr_155, expr_168, i_category_115)
                        join (INNER, PARTITIONED):
                            remote exchange (REPARTITION, HASH, ["i_item_sk_103"])
                                scan item
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["cs_item_sk"])
                                    join (INNER, REPLICATED):
                                        scan date_dim
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPLICATE, BROADCAST, [])
                                                scan catalog_sales (pushdown = true)
