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

Possible code optimization exists for "INSERT OVERWITE on MM table. SELECT FROM (SELECT .. UNION ALL SELECT ..)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0
    • None
    • HiveServer2
    • None

    Description

      removeTempOrDuplicateFiles(.) has an opportunity for performance code optimization for the
      test case of "INSERT OVERWITE on MM table. SELECT FROM (SELECT .. UNION ALL SELECT ..)" from dp_counter_mm.q.

      This is MM table specific and we can avoid calling fs.exists() by creating a specific mmDirectories
      list for the current SELECT statement (out of two SELECTs in our test case from
      the dp_counter_mm.q) from the IOW union all query.

      Attachments

        Activity

          People

            steveyeom2017 Steve Yeom
            steveyeom2017 Steve Yeom
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: