...
It is also important to note that all partitions created during a single run are part of one transaction; therefore if any part of the process fails, none of the partitions will be added to the table.
Hive Dynamic Partitions
Information about Hive dynamic partitions is available here:
- Design Document for Dynamic Partitions
- Tutorial: Dynamic-Partition Insert
- Hive DML: Dynamic Partition Inserts
Usage with Pig
Usage from Pig is very simple! Instead of specifying all keys as one normally does for a store, users can specify the keys that are actually needed. HCatOutputFormat will trigger on dynamic partitioning usage if necessary (if a key value is not specified) and will inspect the data to write it out appropriately.
...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Previous: Storage Formats Hive design document: Dynamic Partitions General: HCatalog Manual – WebHCat Manual – Hive Wiki Home – Hive Project Site |