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/29 18:57:00 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-32710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheng Su updated SPARK-32710:
-----------------------------
    Affects Version/s:     (was: 3.0.0)
                       3.1.0

> 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.1.0
>            Reporter: Cheng Su
>            Priority: Minor
>
> 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