You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2019/09/17 20:36:00 UTC
[jira] [Updated] (SPARK-29124) Use MurmurHash3 `bytesHash(data,
seed)` instead of `bytesHash(data)`
[ https://issues.apache.org/jira/browse/SPARK-29124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-29124:
----------------------------------
Summary: Use MurmurHash3 `bytesHash(data, seed)` instead of `bytesHash(data)` (was: Use `bytesHash(data, seed)` instead of `bytesHash(data)`)
> Use MurmurHash3 `bytesHash(data, seed)` instead of `bytesHash(data)`
> ---------------------------------------------------------------------
>
> Key: SPARK-29124
> URL: https://issues.apache.org/jira/browse/SPARK-29124
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 3.0.0
> Reporter: Dongjoon Hyun
> Priority: Minor
>
> This issue changes `bytesHash(data)` API invocation with the underlaying `byteHash(data, arraySeed)` invocation because they are identical.
> {code}
> def bytesHash(data: Array[Byte]): Int = bytesHash(data, arraySeed)
> {code}
> The `byteHash(data)` API is changed between Scala versions by the following commit.
> - https://github.com/scala/scala/commit/846ee2b1a47014c69ebd2352d91d467be74918b5#diff-ac889f851e109fc4387cd738d52ce177
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org