Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
Currently, Spark GROUP BY doesn't allow map data types, otherwise the plan analysis fails: https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/ExprUtils.scala#L197-L203
Using implemented map_sort from https://issues.apache.org/jira/browse/SPARK-47007 we should implement GROUP BY for map data types.