How to delete/truncate tables from Hadoop-Hive?

前端 未结 4 2081
温柔的废话
温柔的废话 2020-12-29 05:30

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

4条回答
  •  -上瘾入骨i
    2020-12-29 06:16

    You can use drop command to delete meta data and actual data from HDFS.

    And just to delete data and keep the table structure, use truncate command.

    For further help regarding hive ql, check language manual of hive.

提交回复
热议问题