local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        final hashaggregation over (expr_189, expr_190, expr_191, expr_192, expr_193)
            local exchange (REPARTITION, HASH, ["expr_189", "expr_190", "expr_191", "expr_192", "expr_193"])
                remote exchange (REPARTITION, HASH, ["expr_14", "expr_34", "rank", "rank_19", "ws_item_sk"])
                    partial hashaggregation over (expr_14, expr_34, rank, rank_19, ws_item_sk)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (GATHER, SINGLE, [])
                                final hashaggregation over (ws_item_sk)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["ws_item_sk"])
                                            partial hashaggregation over (ws_item_sk)
                                                join (INNER, PARTITIONED):
                                                    remote exchange (REPARTITION, HASH, ["wr_item_sk", "wr_order_number"])
                                                        scan web_returns (pushdown = true)
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPARTITION, HASH, ["ws_item_sk", "ws_order_number"])
                                                            join (INNER, REPLICATED):
                                                                scan web_sales (pushdown = true)
                                                                local exchange (GATHER, SINGLE, [])
                                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                                        scan date_dim (pushdown = true)
                remote exchange (REPARTITION, HASH, ["cs_item_sk", "expr_104", "expr_85", "rank_91", "rank_93"])
                    partial hashaggregation over (cs_item_sk, expr_104, expr_85, rank_91, rank_93)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (GATHER, SINGLE, [])
                                final hashaggregation over (cs_item_sk)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["cs_item_sk"])
                                            partial hashaggregation over (cs_item_sk)
                                                join (INNER, PARTITIONED):
                                                    remote exchange (REPARTITION, HASH, ["cr_item_sk", "cr_order_number"])
                                                        scan catalog_returns (pushdown = true)
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPARTITION, HASH, ["cs_item_sk", "cs_order_number"])
                                                            join (INNER, REPLICATED):
                                                                scan catalog_sales (pushdown = true)
                                                                local exchange (GATHER, SINGLE, [])
                                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                                        scan date_dim (pushdown = true)
                remote exchange (REPARTITION, HASH, ["expr_160", "expr_184", "rank_166", "rank_168", "ss_item_sk"])
                    partial hashaggregation over (expr_160, expr_184, rank_166, rank_168, ss_item_sk)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (GATHER, SINGLE, [])
                                final hashaggregation over (ss_item_sk)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["ss_item_sk"])
                                            partial hashaggregation over (ss_item_sk)
                                                join (INNER, PARTITIONED):
                                                    remote exchange (REPARTITION, HASH, ["sr_item_sk", "sr_ticket_number"])
                                                        scan store_returns (pushdown = true)
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPARTITION, HASH, ["ss_item_sk", "ss_ticket_number"])
                                                            join (INNER, REPLICATED):
                                                                scan store_sales (pushdown = true)
                                                                local exchange (GATHER, SINGLE, [])
                                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                                        scan date_dim (pushdown = true)
