I have a Hive table:
CREATE EXTERNAL TABLE IF NOT EXISTS t1 (
column1 string,
column2 string
) PARTITIONED BY (datestamp string) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'
LOCATION '/path';
In Hive I can list partitions of this table with: show partitions t1
In Hive I can add partitions to this table with: add partition...
How can I do these 2 commands in Pig (Grunt)? (show Hive partitions and Add Hive partition)
I could not find these 2 commands (list partitions, add partitions) for Pig in org.apache.hcatalog.pig.HCatLoader()
Is there any working example for Pig to do these 2 commands?