- 博客(1)
- 收藏
- 关注
原创 Hive中文分区名引起的血案
说明:hive清理元数据,由于分区名称带有中文名称,导致表无法删除,故手动清理元数据库。1、查询tbl_id和part_id注意:一个库可能会有同名的表。确认要删的表属于哪个库select * from TBLS where TBL_NAME=‘dwd_mhs_ipt_dischargesummary’ \G得到tbl_id、sd_idselect * from PARTITIONS where tbl_id=‘974’ \G得到part_id,有多个part_idselect * from
2022-03-21 23:19:21 1901
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人