You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2016/01/05 07:58:39 UTC

[jira] [Created] (SPARK-12642) improve the hash expression to be decoupled from unsafe row

Wenchen Fan created SPARK-12642:
-----------------------------------

             Summary: 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


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