[ https://issues.apache.org/jira/browse/SPARK-36203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-36203. ---------------------------------- Resolution: Incomplete > Spark SQL can't use "group by" on the column of map type. > --------------------------------------------------------- > > Key: SPARK-36203 > URL: https://issues.apache.org/jira/browse/SPARK-36203 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.4.5 > Reporter: Bruce Wong > Priority: Major > > I want to know why the 'group by' can't use in column of map tyep. > > *sql:* > select distinct idselect distinct id , cols , extend_value from > test.test_table > -- extend_value's type is map<String, String>. > *error:* > {color:#FF0000}Sql执行错误:org.apache.spark.sql.AnalysisException: Cannot have > map type columns in DataFrame which calls set operations(intersect, except, > etc.), but the type of column extend_value is map<string,string>;{color} > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org