final aggregation over ()
    local exchange (GATHER, SINGLE, [])
        remote exchange (GATHER, SINGLE, [])
            partial aggregation over ()
                final aggregation over (expr_138, expr_139, expr_140)
                    local exchange (REPARTITION, HASH, ["expr_138", "expr_139", "expr_140"])
                        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_51, c_last_name_52, d_date_16)
                            final aggregation over (c_first_name_51, c_last_name_52, d_date_16)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["c_first_name_51", "c_last_name_52", "d_date_16"])
                                        partial aggregation over (c_first_name_51, c_last_name_52, d_date_16)
                                            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_43"])
                                                        scan customer
                        partial aggregation over (c_first_name_115, c_last_name_116, d_date_80)
                            final aggregation over (c_first_name_115, c_last_name_116, d_date_80)
                                local exchange (GATHER, SINGLE, [])
                                    remote exchange (REPARTITION, HASH, ["c_first_name_115", "c_last_name_116", "d_date_80"])
                                        partial aggregation over (c_first_name_115, c_last_name_116, d_date_80)
                                            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_107"])
                                                        scan customer
