GitHub user cloud-fan opened a pull request: https://github.com/apache/spark/pull/15988
[SPARK-18519][SQL][BRANCH-2.0] map type can not be used in EqualTo ## What changes were proposed in this pull request? Technically map type is not orderable, but can be used in equality comparison. However, due to the limitation of the current implementation, map type can't be used in equality comparison so that it can't be join key or grouping key. This PR makes this limitation explicit, to avoid wrong result. backport https://github.com/apache/spark/pull/15956 to 2.0 ## How was this patch tested? updated tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloud-fan/spark map-type Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/15988.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #15988 ---- commit acfa6ba6af5a1c484607d0be3b105c3d1829536c Author: Wenchen Fan <wenc...@databricks.com> Date: 2016-11-23T07:05:36Z map type can not be used in EqualTo ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org