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: [email protected]
For additional commands, e-mail: [email protected]