Hi Friends,

I have created a hive external table with partition. I want to alter the
hive table  partition through spark with java code.

 alter table table1
 add if not exists
 partition(datetime='2015-12-01')
 location 'hdfs://localhost:54310/spark/twitter/datetime=2015-12-01/'

The above query i am executing it manually. i want to execute it through
Spark with Java code. Please help me


Thanks
Soniya

Reply via email to