[
https://issues.apache.org/jira/browse/SPARK-9415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648845#comment-14648845
]
Apache Spark commented on SPARK-9415:
-------------------------------------
User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/7819
> MapType should not support equality & ordering
> ----------------------------------------------
>
> Key: SPARK-9415
> URL: https://issues.apache.org/jira/browse/SPARK-9415
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
> Priority: Blocker
>
> MapType today happened to support equality comparison because we use Scala
> maps under the hood. However, map type should not support equality, hash, or
> ordering (i.e. cannot be used as join keys, grouping keys, or in
> equality/ordering tests).
> We should throw the appropriate analysis exception for these cases.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]