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
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPLICATE, BROADCAST, [])
                                        scan date_dim
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPLICATE, BROADCAST, [])
                                    scan warehouse
