Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Adding Hive Partitions Programatically.


Copy link to this message
-
Adding Hive Partitions Programatically.
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?