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

Allow flattening of table subdirectories resulted when using TEZ engine and UNION clause

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • None

    Description

      Right now, when writing data into a table with Tez engine and the clause UNION ALL is the last step of the query, Hive on Tez will create a subdirectory for each branch of the UNION ALL.

      With this patch the subdirectories are removed, and the files are renamed and moved to the parent directory.

      Attachments

        1. HIVE-21100.3.patch
          14 kB
          George Pachitariu
        2. HIVE-21100.2.patch
          14 kB
          George Pachitariu
        3. HIVE-21100.1.patch
          11 kB
          George Pachitariu
        4. HIVE-21100.patch
          9 kB
          George Pachitariu

        Activity

          People

            ayushtkn Ayush Saxena
            george.pachitariu George Pachitariu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h