local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        local exchange (GATHER, SINGLE, [])
            remote exchange (REPARTITION, HASH, ["expr_16", "expr_17"])
                final aggregation over (groupid, i_category$gid, i_class$gid)
                    local exchange (REPARTITION, HASH, ["groupid", "i_category$gid", "i_class$gid"])
                        remote exchange (REPARTITION, HASH, ["groupid", "i_category$gid", "i_class$gid"])
                            partial aggregation over (groupid, i_category$gid, i_class$gid)
                                join (INNER, PARTITIONED):
                                    remote exchange (REPARTITION, HASH, ["ss_item_sk"])
                                        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 (pushdown = true)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["i_item_sk"])
                                            scan item
