local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        final aggregation over (i_item_id, w_state)
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, ["i_item_id", "w_state"])
                    partial aggregation over (i_item_id, w_state)
                        join (INNER, REPLICATED):
                            join (INNER, REPLICATED):
                                join (INNER, REPLICATED):
                                    join (LEFT, REPLICATED):
                                        scan catalog_sales
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPLICATE, BROADCAST, [])
                                                scan catalog_returns
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPLICATE, BROADCAST, [])
                                            scan item (pushdown = true)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPLICATE, BROADCAST, [])
                                        scan date_dim (pushdown = true)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPLICATE, BROADCAST, [])
                                    scan warehouse
