Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7292 Hive on Spark
  3. HIVE-8638

Implement bucket map join optimization [Spark Branch]

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • Spark
    • None

    Description

      In the hive-on-mr implementation, bucket map join optimization has to depend on the map join hint. While in the hive-on-tez implementation, a join can be automatically converted to bucket map join if certain conditions are met such as:
      1. the optimization flag hive.convert.join.bucket.mapjoin.tez is ON
      2. all join tables are buckets and each small table's bucket number can be divided by big table's bucket number
      3. bucket columns == join columns

      In the hive-on-spark implementation, it is ideal to have the bucket map join auto-convertion support. when all the required criteria are met, a join can be automatically converted to a bucket map join.

      Attachments

        1. HIVE-8638.4-spark.patch
          262 kB
          Jimmy Xiang
        2. HIVE-8638.5-spark.patch
          267 kB
          Jimmy Xiang

        Issue Links

          Activity

            People

              jxiang Jimmy Xiang
              nyang Na Yang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: