Dongjoon Hyun created SPARK-29124:
-------------------------------------

             Summary: Use `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


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to