GitHub user cloud-fan reopened a pull request:
https://github.com/apache/spark/pull/10435
[SPARK-12480][SQL] add Hash expression that can calculate hash value for a
group of expressions
The hash algorithm is based on
https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/rows.scala#L130-L158
Also use this expression in `Exchange`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloud-fan/spark hash-expr
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10435.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 #10435
----
commit c8b0ea65b147c898467c00d551455abae74eddf0
Author: Wenchen Fan <[email protected]>
Date: 2015-12-22T15:22:59Z
add hash expression
commit 8a89287ed42aadde3d51d95c389ddb1e98c3ccf2
Author: Wenchen Fan <[email protected]>
Date: 2015-12-23T11:48:37Z
address comments
commit 1cdb2bcc1ede58fdd9c1e98bff4b5544b8a6e74e
Author: Wenchen Fan <[email protected]>
Date: 2015-12-24T01:28:54Z
fix hash code
commit 8703b1a127235c49614d326334548f125b81383b
Author: Wenchen Fan <[email protected]>
Date: 2015-12-30T01:58:54Z
add comment to explain the benefit of hash expression
----
---
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]