tustvold opened a new issue, #7647: URL: https://github.com/apache/arrow-datafusion/issues/7647
### Is your feature request related to a problem or challenge? Currently grouping on a dictionary column will return dictionary-encoded group keys. Given that group keys inherently have few repeated values, especially when grouping on a single column, the use of dictionary encoding is unlikely to be yielding significant returns. Additionally following https://github.com/apache/arrow-datafusion/pull/7587 computing the dictionary is a non-trivial operation that could be eliminated ### Describe the solution you'd like When grouping on a dictionary column, e.g. `Dictionary(DataType::Int32, DataType::Utf8)`, the returned schema should be the underlying value type, i.e. `DataType::Utf8`. ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
