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

Bucket map join not being selected when bucketed tables is missing bucket files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      Looks like the following logic kicks in during OpTraitsRulesProcFactory.TableScanRule.checkBucketedTable(), which prevents the table from being considered a proper bucketed table:
      // The number of files for the table should be same as number of
      // buckets.
      if (fileNames.size() != 0 && fileNames.size() != numBuckets)

      { return false; }

      Attachments

        1. HIVE-17939.6.patch
          16 kB
          Deepak Jaiswal
        2. HIVE-17939.5.patch
          16 kB
          Deepak Jaiswal
        3. HIVE-17939.4.patch
          16 kB
          Deepak Jaiswal
        4. HIVE-17939.3.patch
          16 kB
          Deepak Jaiswal
        5. HIVE-17939.2.patch
          16 kB
          Deepak Jaiswal
        6. HIVE-17939.1.patch
          16 kB
          Deepak Jaiswal

        Issue Links

          Activity

            People

              djaiswal Deepak Jaiswal
              djaiswal Deepak Jaiswal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: