remote exchange (GATHER, SINGLE, [])
    local exchange (GATHER, UNKNOWN, [])
        remote exchange (REPARTITION, ROUND_ROBIN, [])
            join (INNER, PARTITIONED):
                final aggregation over (ca_city, ca_city_112, ca_street_name, ca_street_name_109, ca_street_number, ca_street_number_108, ca_zip, ca_zip_115, d_year, d_year_32, d_year_61, i_item_sk, i_product_name, s_store_name, s_zip)
                    local exchange (GATHER, SINGLE, [])
                        partial aggregation over (ca_city, ca_city_112, ca_street_name, ca_street_name_109, ca_street_number, ca_street_number_108, ca_zip, ca_zip_115, d_year, d_year_32, d_year_61, i_item_sk, i_product_name, s_store_name, s_zip)
                            join (INNER, PARTITIONED):
                                remote exchange (REPARTITION, HASH, ["cs_item_sk"])
                                    join (INNER, PARTITIONED):
                                        remote exchange (REPARTITION, HASH, ["hd_income_band_sk_100"])
                                            join (INNER, PARTITIONED):
                                                remote exchange (REPARTITION, HASH, ["hd_income_band_sk"])
                                                    join (INNER, PARTITIONED):
                                                        remote exchange (REPARTITION, HASH, ["c_current_addr_sk"])
                                                            join (INNER, PARTITIONED):
                                                                remote exchange (REPARTITION, HASH, ["ss_addr_sk"])
                                                                    join (INNER, PARTITIONED):
                                                                        remote exchange (REPARTITION, HASH, ["c_current_hdemo_sk"])
                                                                            join (INNER, PARTITIONED):
                                                                                remote exchange (REPARTITION, HASH, ["ss_hdemo_sk"])
                                                                                    join (INNER, PARTITIONED):
                                                                                        remote exchange (REPARTITION, HASH, ["ss_promo_sk"])
                                                                                            join (INNER, PARTITIONED):
                                                                                                remote exchange (REPARTITION, HASH, ["c_current_cdemo_sk"])
                                                                                                    join (INNER, PARTITIONED):
                                                                                                        remote exchange (REPARTITION, HASH, ["ss_cdemo_sk"])
                                                                                                            join (INNER, PARTITIONED):
                                                                                                                remote exchange (REPARTITION, HASH, ["c_first_shipto_date_sk"])
                                                                                                                    join (INNER, PARTITIONED):
                                                                                                                        remote exchange (REPARTITION, HASH, ["c_first_sales_date_sk"])
                                                                                                                            join (INNER, PARTITIONED):
                                                                                                                                remote exchange (REPARTITION, HASH, ["ss_customer_sk"])
                                                                                                                                    join (INNER, PARTITIONED):
                                                                                                                                        remote exchange (REPARTITION, HASH, ["ss_store_sk"])
                                                                                                                                            join (INNER, PARTITIONED):
                                                                                                                                                remote exchange (REPARTITION, HASH, ["ss_sold_date_sk"])
                                                                                                                                                    join (INNER, PARTITIONED):
                                                                                                                                                        remote exchange (REPARTITION, HASH, ["sr_item_sk"])
                                                                                                                                                            join (INNER, REPLICATED):
                                                                                                                                                                scan store_sales
                                                                                                                                                                local exchange (GATHER, SINGLE, [])
                                                                                                                                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                                                                                                                                        scan store_returns
                                                                                                                                                        final aggregation over (cs_item_sk)
                                                                                                                                                            local exchange (GATHER, SINGLE, [])
                                                                                                                                                                remote exchange (REPARTITION, HASH, ["cs_item_sk"])
                                                                                                                                                                    partial aggregation over (cs_item_sk)
                                                                                                                                                                        join (INNER, PARTITIONED):
                                                                                                                                                                            remote exchange (REPARTITION, HASH, ["cs_item_sk", "cs_order_number"])
                                                                                                                                                                                scan catalog_sales
                                                                                                                                                                            local exchange (GATHER, SINGLE, [])
                                                                                                                                                                                remote exchange (REPARTITION, HASH, ["cr_item_sk", "cr_order_number"])
                                                                                                                                                                                    scan catalog_returns
                                                                                                                                                local exchange (GATHER, SINGLE, [])
                                                                                                                                                    remote exchange (REPARTITION, HASH, ["d_date_sk"])
                                                                                                                                                        scan date_dim (pushdown = true)
                                                                                                                                        local exchange (GATHER, SINGLE, [])
                                                                                                                                            remote exchange (REPARTITION, HASH, ["s_store_sk"])
                                                                                                                                                scan store
                                                                                                                                local exchange (GATHER, SINGLE, [])
                                                                                                                                    remote exchange (REPARTITION, HASH, ["c_customer_sk"])
                                                                                                                                        scan customer
                                                                                                                        local exchange (GATHER, SINGLE, [])
                                                                                                                            remote exchange (REPARTITION, HASH, ["d_date_sk_26"])
                                                                                                                                scan date_dim
                                                                                                                local exchange (GATHER, SINGLE, [])
                                                                                                                    remote exchange (REPARTITION, HASH, ["d_date_sk_55"])
                                                                                                                        scan date_dim
                                                                                                        local exchange (GATHER, SINGLE, [])
                                                                                                            remote exchange (REPARTITION, HASH, ["cd_demo_sk"])
                                                                                                                scan customer_demographics
                                                                                                local exchange (GATHER, SINGLE, [])
                                                                                                    remote exchange (REPARTITION, HASH, ["cd_demo_sk_87"])
                                                                                                        scan customer_demographics
                                                                                        local exchange (GATHER, SINGLE, [])
                                                                                            remote exchange (REPARTITION, HASH, ["p_promo_sk"])
                                                                                                scan promotion
                                                                                local exchange (GATHER, SINGLE, [])
                                                                                    remote exchange (REPARTITION, HASH, ["hd_demo_sk"])
                                                                                        scan household_demographics
                                                                        local exchange (GATHER, SINGLE, [])
                                                                            remote exchange (REPARTITION, HASH, ["hd_demo_sk_99"])
                                                                                scan household_demographics
                                                                local exchange (GATHER, SINGLE, [])
                                                                    remote exchange (REPARTITION, HASH, ["ca_address_sk"])
                                                                        scan customer_address
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPARTITION, HASH, ["ca_address_sk_106"])
                                                                scan customer_address
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPARTITION, HASH, ["ib_income_band_sk"])
                                                        scan income_band
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPARTITION, HASH, ["ib_income_band_sk_121"])
                                                scan income_band
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["i_item_sk"])
                                        scan item (pushdown = true)
                final aggregation over (ca_city_579, ca_city_593, ca_street_name_576, ca_street_name_590, ca_street_number_575, ca_street_number_589, ca_zip_582, ca_zip_596, d_year_391, d_year_420, d_year_449, i_item_sk_609, i_product_name_630, s_store_name_477, s_zip_497)
                    local exchange (GATHER, SINGLE, [])
                        partial aggregation over (ca_city_579, ca_city_593, ca_street_name_576, ca_street_name_590, ca_street_number_575, ca_street_number_589, ca_zip_582, ca_zip_596, d_year_391, d_year_420, d_year_449, i_item_sk_609, i_product_name_630, s_store_name_477, s_zip_497)
                            join (INNER, PARTITIONED):
                                remote exchange (REPARTITION, HASH, ["cs_item_sk_312"])
                                    join (INNER, PARTITIONED):
                                        remote exchange (REPARTITION, HASH, ["hd_income_band_sk_568"])
                                            join (INNER, PARTITIONED):
                                                remote exchange (REPARTITION, HASH, ["hd_income_band_sk_562"])
                                                    join (INNER, PARTITIONED):
                                                        remote exchange (REPARTITION, HASH, ["c_current_addr_sk_506"])
                                                            join (INNER, PARTITIONED):
                                                                remote exchange (REPARTITION, HASH, ["ss_addr_sk_258"])
                                                                    join (INNER, PARTITIONED):
                                                                        remote exchange (REPARTITION, HASH, ["c_current_hdemo_sk_505"])
                                                                            join (INNER, PARTITIONED):
                                                                                remote exchange (REPARTITION, HASH, ["ss_hdemo_sk_257"])
                                                                                    join (INNER, PARTITIONED):
                                                                                        remote exchange (REPARTITION, HASH, ["ss_promo_sk_260"])
                                                                                            join (INNER, PARTITIONED):
                                                                                                remote exchange (REPARTITION, HASH, ["c_current_cdemo_sk_504"])
                                                                                                    join (INNER, PARTITIONED):
                                                                                                        remote exchange (REPARTITION, HASH, ["ss_cdemo_sk_256"])
                                                                                                            join (INNER, PARTITIONED):
                                                                                                                remote exchange (REPARTITION, HASH, ["c_first_shipto_date_sk_507"])
                                                                                                                    join (INNER, PARTITIONED):
                                                                                                                        remote exchange (REPARTITION, HASH, ["c_first_sales_date_sk_508"])
                                                                                                                            join (INNER, PARTITIONED):
                                                                                                                                remote exchange (REPARTITION, HASH, ["ss_customer_sk_255"])
                                                                                                                                    join (INNER, PARTITIONED):
                                                                                                                                        remote exchange (REPARTITION, HASH, ["ss_store_sk_259"])
                                                                                                                                            join (INNER, PARTITIONED):
                                                                                                                                                remote exchange (REPARTITION, HASH, ["ss_sold_date_sk_252"])
                                                                                                                                                    join (INNER, PARTITIONED):
                                                                                                                                                        remote exchange (REPARTITION, HASH, ["sr_item_sk_278"])
                                                                                                                                                            join (INNER, REPLICATED):
                                                                                                                                                                scan store_sales
                                                                                                                                                                local exchange (GATHER, SINGLE, [])
                                                                                                                                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                                                                                                                                        scan store_returns
                                                                                                                                                        final aggregation over (cs_item_sk_312)
                                                                                                                                                            local exchange (GATHER, SINGLE, [])
                                                                                                                                                                remote exchange (REPARTITION, HASH, ["cs_item_sk_312"])
                                                                                                                                                                    partial aggregation over (cs_item_sk_312)
                                                                                                                                                                        join (INNER, PARTITIONED):
                                                                                                                                                                            remote exchange (REPARTITION, HASH, ["cs_item_sk_312", "cs_order_number_314"])
                                                                                                                                                                                scan catalog_sales
                                                                                                                                                                            local exchange (GATHER, SINGLE, [])
                                                                                                                                                                                remote exchange (REPARTITION, HASH, ["cr_item_sk_334", "cr_order_number_348"])
                                                                                                                                                                                    scan catalog_returns
                                                                                                                                                local exchange (GATHER, SINGLE, [])
                                                                                                                                                    remote exchange (REPARTITION, HASH, ["d_date_sk_385"])
                                                                                                                                                        scan date_dim (pushdown = true)
                                                                                                                                        local exchange (GATHER, SINGLE, [])
                                                                                                                                            remote exchange (REPARTITION, HASH, ["s_store_sk_472"])
                                                                                                                                                scan store
                                                                                                                                local exchange (GATHER, SINGLE, [])
                                                                                                                                    remote exchange (REPARTITION, HASH, ["c_customer_sk_502"])
                                                                                                                                        scan customer
                                                                                                                        local exchange (GATHER, SINGLE, [])
                                                                                                                            remote exchange (REPARTITION, HASH, ["d_date_sk_414"])
                                                                                                                                scan date_dim
                                                                                                                local exchange (GATHER, SINGLE, [])
                                                                                                                    remote exchange (REPARTITION, HASH, ["d_date_sk_443"])
                                                                                                                        scan date_dim
                                                                                                        local exchange (GATHER, SINGLE, [])
                                                                                                            remote exchange (REPARTITION, HASH, ["cd_demo_sk_521"])
                                                                                                                scan customer_demographics
                                                                                                local exchange (GATHER, SINGLE, [])
                                                                                                    remote exchange (REPARTITION, HASH, ["cd_demo_sk_531"])
                                                                                                        scan customer_demographics
                                                                                        local exchange (GATHER, SINGLE, [])
                                                                                            remote exchange (REPARTITION, HASH, ["p_promo_sk_541"])
                                                                                                scan promotion
                                                                                local exchange (GATHER, SINGLE, [])
                                                                                    remote exchange (REPARTITION, HASH, ["hd_demo_sk_561"])
                                                                                        scan household_demographics
                                                                        local exchange (GATHER, SINGLE, [])
                                                                            remote exchange (REPARTITION, HASH, ["hd_demo_sk_567"])
                                                                                scan household_demographics
                                                                local exchange (GATHER, SINGLE, [])
                                                                    remote exchange (REPARTITION, HASH, ["ca_address_sk_573"])
                                                                        scan customer_address
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPARTITION, HASH, ["ca_address_sk_587"])
                                                                scan customer_address
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPARTITION, HASH, ["ib_income_band_sk_601"])
                                                        scan income_band
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPARTITION, HASH, ["ib_income_band_sk_605"])
                                                scan income_band
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["i_item_sk_609"])
                                        scan item (pushdown = true)
