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

Switch to Plain View
Hive, mail # user - In Beeline what is the syntax for ALTER TABLE ?


Copy link to this message
-
In Beeline what is the syntax for ALTER TABLE ?
Sanjay Subramanian 2013-10-21, 18:41
Hi guys

Using
Hive    0.10.0+198      CDH4

Getting this error for ALTER table command

jdbc:hive2://dev-thdp5.corp.nextag.com:100> ALTER TABLE outpdir_seller_hidden ADD IF NOT EXISTS PARTITION (header_date_partition='2013-10-17', header_servername_partition='lu3') LOCATION '/data/output/impressions/outpdir/2013-10-17/0000008-131018121904385-oozie-oozi-W/outpdir_seller_hidden/sellerhidden/2013-10-17/lu3';
Error: Error while processing statement: FAILED: IllegalArgumentException URI '' in invalid. Must start with file:// or hdfs:// (state=42000,code=40000)

Thanks
Regards

sanjay

CONFIDENTIALITY NOTICE
=====================This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.
+
Thejas Nair 2013-10-22, 00:59
+
Sanjay Subramanian 2013-10-22, 03:27