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

use unsafeRow.hashCode() as hash value in HashAggregate

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:
      None

      Description

      This is a followup PR for #21149.

      New way uses unsafeRow.hashCode() as hash value in HashAggregate.
      The unsafe row has [null bit set] etc., the result should be different, so we don't need weird `48`.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yucai yucai
                Reporter:
                yucai yucai
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: