local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        join (INNER, PARTITIONED):
            final aggregation over (i_item_id)
                local exchange (GATHER, SINGLE, [])
                    remote exchange (REPARTITION, HASH, ["i_item_id"])
                        partial aggregation over (i_item_id)
                            semijoin (REPLICATED):
                                join (INNER, REPLICATED):
                                    join (INNER, REPLICATED):
                                        scan store_returns
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPLICATE, BROADCAST, [])
                                                scan date_dim
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPLICATE, BROADCAST, [])
                                            scan item
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPLICATE, BROADCAST, [])
                                        semijoin (REPLICATED):
                                            scan date_dim
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPLICATE, BROADCAST, [])
                                                    scan date_dim
            join (INNER, PARTITIONED):
                final aggregation over (i_item_id_82)
                    local exchange (GATHER, SINGLE, [])
                        remote exchange (REPARTITION, HASH, ["i_item_id_82"])
                            partial aggregation over (i_item_id_82)
                                semijoin (REPLICATED):
                                    join (INNER, REPLICATED):
                                        join (INNER, REPLICATED):
                                            scan catalog_returns
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPLICATE, BROADCAST, [])
                                                    scan date_dim
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPLICATE, BROADCAST, [])
                                                scan item
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPLICATE, BROADCAST, [])
                                            semijoin (REPLICATED):
                                                scan date_dim
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        scan date_dim
                final aggregation over (i_item_id_216)
                    local exchange (GATHER, SINGLE, [])
                        remote exchange (REPARTITION, HASH, ["i_item_id_216"])
                            partial aggregation over (i_item_id_216)
                                semijoin (REPLICATED):
                                    join (INNER, REPLICATED):
                                        join (INNER, REPLICATED):
                                            scan web_returns
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPLICATE, BROADCAST, [])
                                                    scan date_dim
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPLICATE, BROADCAST, [])
                                                scan item
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPLICATE, BROADCAST, [])
                                            semijoin (REPLICATED):
                                                scan date_dim
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        scan date_dim
