How to delete/truncate tables from Hadoop-Hive?

0 votes
asked Feb 28, 2017 in Hive by anonymous

Please tell me how to delete table from hive and also tell from where i can get more information about hive queries.

2 Answers

0 votes
answered Feb 28, 2017 by anonymous
hive -e "TRUNCATE TABLE IF EXISTS $tablename"