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

Allow overwrite/append to external Hive table (with partitions) via HCatStorer

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.12.0
    • Fix Version/s: None
    • Component/s: HCatalog, HiveServer2
    • Labels:
      None

      Description

      I'm using HCatStorer to write to external Hive table with partition from Pig and have the following different use cases:
      1) Need to overwrite (aka, refresh) data into table: Currently I end up doing this outside (drop partition and delete HDFS folder) of Pig which is very painful and error-prone
      2) Need to append (aka, add new file) data to the Hive external table/partition: Again, I end up doing this outside of Pig by copying file in appropriate folder
      It would be very productive for the developers to have both options in HCatStorer.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dip.kharod Dip Kharod
              • Votes:
                11 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated: