Description
This is a follow up of https://github.com/apache/spark/pull/34702#discussion_r762743589 , where we can replace object hash aggregate with sort aggregate as well.
This is a follow up of https://github.com/apache/spark/pull/34702#discussion_r762743589 , where we can replace object hash aggregate with sort aggregate as well.