Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3883

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 0.12.0
    • None
    • impl, internal-udfs
    • None
    • Production

    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

        Activity

          People

            Unassigned Unassigned
            dip.kharod Dip Kharod
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: