local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        final aggregation over (d_week_seq_15, i_item_desc, w_warehouse_name)
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, ["d_week_seq_15", "i_item_desc", "w_warehouse_name"])
                    partial aggregation over (d_week_seq_15, i_item_desc, w_warehouse_name)
                        join (LEFT, PARTITIONED):
                            remote exchange (REPARTITION, HASH, ["cs_order_number", "inv_item_sk"])
                                join (LEFT, REPLICATED):
                                    join (INNER, PARTITIONED):
                                        remote exchange (REPARTITION, HASH, ["d_week_seq_15", "inv_item_sk"])
                                            join (INNER, REPLICATED):
                                                join (INNER, REPLICATED):
                                                    scan inventory
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            scan date_dim
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        scan warehouse
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPARTITION, HASH, ["cs_item_sk", "d_week_seq"])
                                                join (INNER, REPLICATED):
                                                    join (INNER, REPLICATED):
                                                        join (INNER, REPLICATED):
                                                            join (INNER, REPLICATED):
                                                                join (INNER, REPLICATED):
                                                                    scan catalog_sales
                                                                    local exchange (GATHER, SINGLE, [])
                                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                                            scan customer_demographics
                                                                local exchange (GATHER, SINGLE, [])
                                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                                        scan household_demographics
                                                            local exchange (GATHER, SINGLE, [])
                                                                remote exchange (REPLICATE, BROADCAST, [])
                                                                    scan date_dim
                                                        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, [])
                                            scan promotion
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["cr_item_sk", "cr_order_number"])
                                    scan catalog_returns
