GitHub user maropu opened a pull request:
https://github.com/apache/spark/pull/13847
[SPARK-16135][SQL] Implement hashCode and euqals in UnsafeMapData
## What changes were proposed in this pull request?
This pr to implement `hashCode` and `euqals` in `UnsafeMapData` because of
the `==` behaivour of `UnsafeMapData` is different from that of
`ArrayBasedMapData`.
## How was this patch tested?
Add a new test suite `MapDataSuite` for comparison tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maropu/spark UnsafeMapTest
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13847.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 #13847
----
commit 50f8be3e06186e6bbe1404800db1fb226a9e1c5c
Author: Takeshi YAMAMURO <[email protected]>
Date: 2016-06-22T12:12:47Z
Add tests for UnsafeMapData
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]