local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        final aggregation over (ca_state)
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, ["ca_state"])
                    partial aggregation over (ca_state)
                        cross join:
                            join (LEFT, REPLICATED):
                                join (INNER, REPLICATED):
                                    join (INNER, PARTITIONED):
                                        remote exchange (REPARTITION, HASH, ["ss_customer_sk"])
                                            join (INNER, REPLICATED):
                                                scan store_sales
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        join (INNER, REPLICATED):
                                                            scan date_dim
                                                            local exchange (GATHER, SINGLE, [])
                                                                remote exchange (REPLICATE, BROADCAST, [])
                                                                    local exchange (GATHER, SINGLE, [])
                                                                        remote exchange (GATHER, SINGLE, [])
                                                                            final aggregation over (d_month_seq_3)
                                                                                local exchange (GATHER, SINGLE, [])
                                                                                    remote exchange (REPARTITION, HASH, ["d_month_seq_3"])
                                                                                        partial aggregation over (d_month_seq_3)
                                                                                            scan date_dim
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPARTITION, HASH, ["c_customer_sk"])
                                                join (INNER, PARTITIONED):
                                                    remote exchange (REPARTITION, HASH, ["c_current_addr_sk"])
                                                        scan customer
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPARTITION, HASH, ["ca_address_sk"])
                                                            scan customer_address
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPLICATE, BROADCAST, [])
                                            scan item
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPLICATE, BROADCAST, [])
                                        final aggregation over (i_category_43)
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPARTITION, HASH, ["i_category_43"])
                                                    partial aggregation over (i_category_43)
                                                        scan item
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPLICATE, BROADCAST, [])
                                    single aggregation over ()
                                        values (1 rows)
