local exchange (GATHER, SINGLE, [])
    remote exchange (GATHER, SINGLE, [])
        join (INNER, PARTITIONED):
            join (INNER, PARTITIONED):
                join (INNER, PARTITIONED):
                    local exchange (REPARTITION, ROUND_ROBIN, [])
                        remote exchange (REPARTITION, HASH, ["c_customer_id"])
                            final aggregation over (c_customer_id, c_first_name, c_last_name, d_year)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["c_customer_id", "c_first_name", "c_last_name", "d_year"])
                                        partial aggregation over (c_customer_id, c_first_name, c_last_name, d_year)
                                            join (INNER, PARTITIONED):
                                                remote exchange (REPARTITION, HASH, ["ss_customer_sk"])
                                                    join (INNER, REPLICATED):
                                                        scan store_sales
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                scan date_dim (pushdown = true)
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPARTITION, HASH, ["c_customer_sk"])
                                                        scan customer
                        remote exchange (REPARTITION, HASH, ["c_customer_id_19"])
                            single aggregation over (c_customer_id_19, c_first_name_26, c_last_name_27, d_year_44)
                                join (INNER, REPLICATED):
                                    join (INNER, REPLICATED):
                                        values (0 rows)
                                        values (0 rows)
                                    values (0 rows)
                    local exchange (GATHER, SINGLE, [])
                        remote exchange (REPARTITION, HASH, ["c_customer_id_114"])
                            final aggregation over (c_customer_id_114, c_first_name_121, c_last_name_122, d_year_162)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["c_customer_id_114", "c_first_name_121", "c_last_name_122", "d_year_162"])
                                        partial aggregation over (c_customer_id_114, c_first_name_121, c_last_name_122, d_year_162)
                                            join (INNER, PARTITIONED):
                                                remote exchange (REPARTITION, HASH, ["ss_customer_sk_135"])
                                                    join (INNER, REPLICATED):
                                                        scan store_sales
                                                        local exchange (GATHER, SINGLE, [])
                                                            remote exchange (REPLICATE, BROADCAST, [])
                                                                scan date_dim (pushdown = true)
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPARTITION, HASH, ["c_customer_sk_113"])
                                                        scan customer
                        remote exchange (REPARTITION, HASH, ["c_customer_id_208"])
                            single aggregation over (c_customer_id_208, c_first_name_215, c_last_name_216, d_year_267)
                                join (INNER, REPLICATED):
                                    join (INNER, REPLICATED):
                                        values (0 rows)
                                        values (0 rows)
                                    values (0 rows)
                local exchange (GATHER, SINGLE, [])
                    remote exchange (REPARTITION, HASH, ["c_customer_id_337"])
                        single aggregation over (c_customer_id_337, c_first_name_344, c_last_name_345, d_year_385)
                            join (INNER, REPLICATED):
                                join (INNER, REPLICATED):
                                    values (0 rows)
                                    values (0 rows)
                                values (0 rows)
                    remote exchange (REPARTITION, HASH, ["c_customer_id_431"])
                        final aggregation over (c_customer_id_431, c_first_name_438, c_last_name_439, d_year_490)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["c_customer_id_431", "c_first_name_438", "c_last_name_439", "d_year_490"])
                                    partial aggregation over (c_customer_id_431, c_first_name_438, c_last_name_439, d_year_490)
                                        join (INNER, PARTITIONED):
                                            remote exchange (REPARTITION, HASH, ["ws_bill_customer_sk_453"])
                                                join (INNER, REPLICATED):
                                                    scan web_sales
                                                    local exchange (GATHER, SINGLE, [])
                                                        remote exchange (REPLICATE, BROADCAST, [])
                                                            scan date_dim (pushdown = true)
                                            local exchange (GATHER, SINGLE, [])
                                                remote exchange (REPARTITION, HASH, ["c_customer_sk_430"])
                                                    scan customer
            local exchange (GATHER, SINGLE, [])
                remote exchange (REPARTITION, HASH, ["c_customer_id_560"])
                    single aggregation over (c_customer_id_560, c_first_name_567, c_last_name_568, d_year_608)
                        join (INNER, REPLICATED):
                            join (INNER, REPLICATED):
                                values (0 rows)
                                values (0 rows)
                            values (0 rows)
                remote exchange (REPARTITION, HASH, ["c_customer_id_654"])
                    final aggregation over (c_customer_id_654, c_first_name_661, c_last_name_662, d_year_713)
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (REPARTITION, HASH, ["c_customer_id_654", "c_first_name_661", "c_last_name_662", "d_year_713"])
                                partial aggregation over (c_customer_id_654, c_first_name_661, c_last_name_662, d_year_713)
                                    join (INNER, PARTITIONED):
                                        remote exchange (REPARTITION, HASH, ["ws_bill_customer_sk_676"])
                                            join (INNER, REPLICATED):
                                                scan web_sales
                                                local exchange (GATHER, SINGLE, [])
                                                    remote exchange (REPLICATE, BROADCAST, [])
                                                        scan date_dim (pushdown = true)
                                        local exchange (GATHER, SINGLE, [])
                                            remote exchange (REPARTITION, HASH, ["c_customer_sk_653"])
                                                scan customer
