remote exchange (GATHER, SINGLE, [])
    cross join:
        final hashaggregation over (c_first_name, c_last_name, s_store_name)
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, ["c_first_name", "c_last_name", "s_store_name"])
                    partial hashaggregation over (c_first_name, c_last_name, s_store_name)
                        final hashaggregation over (c_first_name, c_last_name, ca_state, i_color, i_current_price, i_manager_id, i_size, i_units, s_state, s_store_name)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["c_first_name", "c_last_name", "ca_state", "i_color", "i_current_price", "i_manager_id", "i_size", "i_units", "s_state", "s_store_name"])
                                    partial hashaggregation over (c_first_name, c_last_name, ca_state, i_color, i_current_price, i_manager_id, i_size, i_units, s_state, s_store_name)
                                        join (INNER, REPLICATED):
                                            join (INNER, PARTITIONED):
                                                remote exchange (REPARTITION, HASH, ["ss_customer_sk"])
                                                    join (INNER, PARTITIONED):
                                                        remote exchange (REPARTITION, HASH, ["sr_item_sk", "sr_ticket_number"])
                                                            scan store_returns
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPARTITION, HASH, ["ss_item_sk", "ss_ticket_number"])
                                                                join (INNER, REPLICATED):
                                                                    scan store_sales
                                                                    local exchange (GATHER, SINGLE, [])
                                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                                            scan item
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPARTITION, HASH, ["c_customer_sk"])
                                                        scan customer
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPLICATE, BROADCAST, [])
                                                    join (INNER, REPLICATED):
                                                        scan customer_address
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                scan store
        local exchange (GATHER, SINGLE, [])
            remote exchange (REPLICATE, BROADCAST, [])
                final hashaggregation over ()
                    local exchange (GATHER, SINGLE, [])
                        remote exchange (GATHER, SINGLE, [])
                            partial hashaggregation over ()
                                final hashaggregation over (c_first_name_159, c_last_name_160, ca_state_177, i_color_146, i_current_price_134, i_manager_id_149, i_size_144, i_units_147, s_state_124, s_store_name_105)
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPARTITION, HASH, ["c_first_name_159", "c_last_name_160", "ca_state_177", "i_color_146", "i_current_price_134", "i_manager_id_149", "i_size_144", "i_units_147", "s_state_124", "s_store_name_105"])
                                            partial hashaggregation over (c_first_name_159, c_last_name_160, ca_state_177, i_color_146, i_current_price_134, i_manager_id_149, i_size_144, i_units_147, s_state_124, s_store_name_105)
                                                join (INNER, PARTITIONED):
                                                    remote exchange (REPARTITION, HASH, ["c_birth_country_165", "s_zip_125"])
                                                        join (INNER, REPLICATED):
                                                            join (INNER, PARTITIONED):
                                                                remote exchange (REPARTITION, HASH, ["ss_customer_sk_60"])
                                                                    join (INNER, PARTITIONED):
                                                                        remote exchange (REPARTITION, HASH, ["ss_item_sk_59", "ss_ticket_number_66"])
                                                                            join (INNER, REPLICATED):
                                                                                scan store_sales
                                                                                local exchange (GATHER, SINGLE, [])
                                                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                                                        scan store
                                                                        local exchange (GATHER, SINGLE, [])
                                                                            remote exchange (REPARTITION, HASH, ["sr_item_sk_82", "sr_ticket_number_89"])
                                                                                scan store_returns
                                                                local exchange (GATHER, SINGLE, [])
                                                                    remote exchange (REPARTITION, HASH, ["c_customer_sk_151"])
                                                                        scan customer
                                                            local exchange (GATHER, SINGLE, [])
                                                                remote exchange (REPLICATE, BROADCAST, [])
                                                                    scan item
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPARTITION, HASH, ["ca_zip_178", "upper_248"])
                                                            scan customer_address
