TTyb

hive删除表和表中的数据

hive删除表和表中的数据,以及按分区删除数据

hive删除表:

drop table table_name;

hive删除表中数据:

truncate table table_name;

hive按分区删除数据:

alter table table_name drop partition (partition_name=\'分区名\')

分类:

技术点:

相关文章:

  • 2021-09-26
  • 2021-07-10
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-10
  • 2022-12-23
  • 2021-04-04
  • 2021-12-10
  • 2021-06-29
  • 2021-08-13
相关资源
相似解决方案