You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Su (Jira)" <ji...@apache.org> on 2020/08/27 06:08:00 UTC

[jira] [Created] (SPARK-32710) Add Hive Murmur3Hash expression

Cheng Su created SPARK-32710:
--------------------------------

             Summary: Add Hive Murmur3Hash expression
                 Key: SPARK-32710
                 URL: https://issues.apache.org/jira/browse/SPARK-32710
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Cheng Su


To allow Spark to write Hive 3 compatible bucketed table, we need to follow the same hash function with Hive/Presto. Hive murmur3hash is quite some different with Spark murmur3hash (with different default seed, different logic for NULL, array, map, struct, detail in [https://github.com/apache/hive/blob/ece58fff1b53ea451bfc524c4c15f63ee12eca00/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java#L813]).  So here introduce a Hive murmur3hash expression.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org