Description
Spark will enable fast hash map for primitive data types in HashAggregateExec.
Could we also enable this for distinct queries which bufferSchema is empty.
For example, we can also build a fast hash map with the key a + b for query
SELECT distinct a, b from tab