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

Relax constraint for Spark bucket join and remove HashClusteredDistribution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • SQL
    • None

    Description

      Currently Spark has HashClusteredDistribution and ClusteredDistribution. The only difference between the two is that the former is more strict when deciding whether bucket join is allowed to avoid shuffle: comparing to the latter, it requires exact match between the clustering keys from the output partitioning (i.e., HashPartitioning) and the join keys. However, this is unnecessary, as we should be able to avoid shuffle when the set of clustering keys is a subset of join keys, just like ClusteredDistribution.

      Attachments

        Issue Links

          Activity

            People

              csun Chao Sun
              csun Chao Sun
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: