final hashaggregation over ()
    local exchange (GATHER, SINGLE, [])
        remote exchange (GATHER, SINGLE, [])
            partial hashaggregation over ()
                cross join:
                    join (RIGHT, PARTITIONED):
                        final hashaggregation over (partkey_4)
                            local exchange (GATHER, SINGLE, [])
                                remote exchange (REPARTITION, HASH, ["partkey_4"])
                                    partial hashaggregation over (partkey_4)
                                        scan lineitem
                        local exchange (GATHER, SINGLE, [])
                            remote exchange (REPARTITION, HASH, ["partkey"])
                                join (INNER, REPLICATED):
                                    scan lineitem
                                    local exchange (GATHER, SINGLE, [])
                                        remote exchange (REPLICATE, BROADCAST, [])
                                            scan part
                    local exchange (GATHER, SINGLE, [])
                        remote exchange (REPLICATE, BROADCAST, [])
                            single hashaggregation over ()
                                values (1 rows)
