final aggregation over ()
    local exchange (GATHER, SINGLE, [])
        remote exchange (GATHER, SINGLE, [])
            partial aggregation over ()
                final aggregation over (c_first_name_122, c_last_name_121, d_date_123)
                    local exchange (REPARTITION, HASH, ["c_first_name_122", "c_last_name_121", "d_date_123"])
                        partial aggregation over (c_first_name, c_last_name, d_date)
                            final aggregation over (c_first_name, c_last_name, d_date)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["c_first_name", "c_last_name", "d_date"])
                                        partial aggregation over (c_first_name, c_last_name, d_date)
                                            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
                        partial aggregation over (c_first_name_46, c_last_name_47, d_date_11)
                            final aggregation over (c_first_name_46, c_last_name_47, d_date_11)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["c_first_name_46", "c_last_name_47", "d_date_11"])
                                        partial aggregation over (c_first_name_46, c_last_name_47, d_date_11)
                                            join (INNER, PARTITIONED):
                                                remote exchange (REPARTITION, HASH, ["cs_bill_customer_sk"])
                                                    join (INNER, REPLICATED):
                                                        scan catalog_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_38"])
                                                        scan customer
                        partial aggregation over (c_first_name_104, c_last_name_105, d_date_69)
                            final aggregation over (c_first_name_104, c_last_name_105, d_date_69)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["c_first_name_104", "c_last_name_105", "d_date_69"])
                                        partial aggregation over (c_first_name_104, c_last_name_105, d_date_69)
                                            join (INNER, PARTITIONED):
                                                remote exchange (REPARTITION, HASH, ["ws_bill_customer_sk"])
                                                    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_96"])
                                                        scan customer
