Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17792

Enable Bucket Map Join when there are extra keys other than bucketed columns

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Query Planning, Tez
    • Labels:
      None

      Description

      Currently this wont go through Bucket Map Join(BMJ)

      CREATE TABLE tab_part (key int, value string) PARTITIONED BY(ds STRING) CLUSTERED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE;
      CREATE TABLE tab(key int, value string) PARTITIONED BY(ds STRING) STORED AS TEXTFILE;

      select a.key, a.value, b.value
      from tab a join tab_part b on a.key = b.key and a.value = b.value;

        Attachments

        1. HIVE-17792.1.patch
          68 kB
          Deepak Jaiswal
        2. HIVE-17792.2.patch
          70 kB
          Deepak Jaiswal
        3. HIVE-17792.3.patch
          72 kB
          Deepak Jaiswal
        4. HIVE-17792.4.patch
          84 kB
          Deepak Jaiswal
        5. HIVE-17792.5.patch
          133 kB
          Deepak Jaiswal

          Issue Links

            Activity

              People

              • Assignee:
                djaiswal Deepak Jaiswal
                Reporter:
                djaiswal Deepak Jaiswal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: