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

Add hashUTF8String convenience method to hasher classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • SQL
    • None

    Description

      Add hashUTF8String() to the hasher classes to allow Spark SQL codegen to generate cleaner code for hashing UTF8String. No change in behavior otherwise.

      Although with the introduction of SPARK-10399, the code size for hashing UTF8String is already smaller, it's still good to extract a separate function in the hasher classes so that the generated code can stay clean.

      Attachments

        Activity

          People

            rednaxelafx Kris Mok
            rednaxelafx Kris Mok
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: