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

Use HashedRelation instead of HashSet in Left Semi Joins

    XMLWordPrintableJSON

Details

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

    Description

      BroadcastLeftSemiJoinHash and LeftSemiJoinHash both use a HashSet when not condition (besides the equality conditions) has been defined. We should use the HashedRelation here, this is a more optimized datastructure for the problem at hand and this reduces code complexity.

      Attachments

        Activity

          People

            xguo27 Xiu Guo
            hvanhovell Herman van Hövell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: