You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/01/13 21:27:39 UTC
[jira] [Resolved] (SPARK-12642) improve the hash expression to be
decoupled from unsafe row
[ https://issues.apache.org/jira/browse/SPARK-12642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-12642.
---------------------------------
Resolution: Fixed
Assignee: Wenchen Fan
Fix Version/s: 2.0.0
> improve the hash expression to be decoupled from unsafe row
> ------------------------------------------------------------
>
> Key: SPARK-12642
> URL: https://issues.apache.org/jira/browse/SPARK-12642
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Wenchen Fan
> Assignee: Wenchen Fan
> Fix For: 2.0.0
>
>
> For example, if the row is (int, double, string): the generated hash function shoudl be something like
> int hash = seed;
> hash = murmur3(getInt(0), hash)
> hash = murmur3(getDouble(1), hash)
> hash = murmur3(getString(2), hash)
> return hash
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org