local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        final aggregation over (expr_252, expr_253, expr_254, expr_255, expr_256)
            local exchange (REPARTITION, HASH, ["expr_252", "expr_253", "expr_254", "expr_255", "expr_256"])
                remote exchange (REPARTITION, HASH, ["expr_14", "expr_55", "rank", "rank_25", "ws_item_sk"])
                    partial aggregation over (expr_14, expr_55, rank, rank_25, ws_item_sk)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (GATHER, SINGLE, [])
                                final aggregation over (ws_item_sk)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["ws_item_sk"])
                                            partial aggregation 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_106", "expr_141", "rank_118", "rank_120"])
                    partial aggregation over (cs_item_sk, expr_106, expr_141, rank_118, rank_120)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (GATHER, SINGLE, [])
                                final aggregation over (cs_item_sk)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["cs_item_sk"])
                                            partial aggregation 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_202", "expr_247", "rank_214", "rank_216", "ss_item_sk"])
                    partial aggregation over (expr_202, expr_247, rank_214, rank_216, ss_item_sk)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (GATHER, SINGLE, [])
                                final aggregation over (ss_item_sk)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["ss_item_sk"])
                                            partial aggregation 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)
