[ 
https://issues.apache.org/jira/browse/SPARK-32710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17797261#comment-17797261
 ] 

Eric Xiao commented on SPARK-32710:
-----------------------------------

Hi [~chengsu], I am interested in working on enabling hive bucketing in spark 
and I noticed there are a couple of tickets still open. May I take a stab at 
this ticket?

This ticket does not seem too complicated as well? A couple of questions:
 * Where in Spark would one start to implement the `murmur3hash` algorithm?
 * Is the scope of this ticket just to implement the exact hashing logic found 
in the linked hive code snippet?

> 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.20.10#820010)

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

Reply via email to