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

Broadcast join with two ints could be very slow

    Details

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

      Description

      If the two join columns have the same value, the hash code of them will be (a ^ b), which is 0, then the HashMap will be very very slow.

        Issue Links

          Activity

          Hide
          apachespark Apache Spark added a comment -

          User 'davies' has created a pull request for this issue:
          https://github.com/apache/spark/pull/11188

          Show
          apachespark Apache Spark added a comment - User 'davies' has created a pull request for this issue: https://github.com/apache/spark/pull/11188
          Hide
          davies Davies Liu added a comment -
          Show
          davies Davies Liu added a comment - Fixed by https://github.com/apache/spark/pull/11130

            People

            • Assignee:
              davies Davies Liu
              Reporter:
              davies Davies Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development