[ 
https://issues.apache.org/jira/browse/SPARK-18134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683172#comment-15683172
 ] 

Christian Zorneck commented on SPARK-18134:
-------------------------------------------

I can't use arrays of structs. I have maps with different keys per event.
An array of structs is nothing else than an array of maps with with a static 
defined set of keys. It is not the same. And I can not change the input format.

map<string, string> != array<struct<?:string, ...>>



> SQL: MapType in Group BY and Joins not working
> ----------------------------------------------
>
>                 Key: SPARK-18134
>                 URL: https://issues.apache.org/jira/browse/SPARK-18134
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 2.0.0, 2.0.1
>            Reporter: Christian Zorneck
>
> Since version 1.5 and issue SPARK-9415, MapTypes can no longer be used in 
> GROUP BY and join clauses. This makes it incompatible to HiveQL. So, a Hive 
> feature was removed from Spark. This makes Spark incompatible to various 
> HiveQL statements.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to