Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-29124][CORE] Use MurmurHash3
bytesHash(data, seed)
instead o…
…f `bytesHash(data)` This PR changes `bytesHash(data)` API invocation with the underlaying `byteHash(data, arraySeed)` invocation. ```scala def bytesHash(data: Array[Byte]): Int = bytesHash(data, arraySeed) ``` The original API is changed between Scala versions by the following commit. From Scala 2.12.9, the semantic of the function is changed. If we use the underlying form, we are safe during Scala version migration. - scala/scala@846ee2b#diff-ac889f851e109fc4387cd738d52ce177 No. This is a kind of refactoring. Pass the Jenkins with the existing tests. Closes apache#25821 from dongjoon-hyun/SPARK-SCALA-HASH. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
- Loading branch information