-Adding Hive Partitions Programatically.
Hans Uhlig 2012-02-27, 17:17
How can you add a partition to a table programmatically? I have a mapreducejob that needs to perform a "ALTER TABLE x ADD PARTITION IF NOT EXIST (foo=3D bar) LOCATION '<Mapreduce output>' after it completes. Is there an example of this anwhere?