Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-29124

Use MurmurHash3 `bytesHash(data, seed)` instead of `bytesHash(data)`

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

      This issue changes `bytesHash(data)` API invocation with the underlaying `byteHash(data, arraySeed)` invocation because they are identical.

      def bytesHash(data: Array[Byte]): Int = bytesHash(data, arraySeed)
      

      The `byteHash(data)` API is changed between Scala versions by the following commit.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dongjoon Dongjoon Hyun
                Reporter:
                dongjoon Dongjoon Hyun
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: