修复hive重命名分区后新分区为0的问题

hive分区重命名后,新的分区的分区大小为0 ,

例如

复制代码
alter table entersv.ods_t_test partition(dt='2022-11-08') rename to partition(dt='2022-11-21')

ods_t_test 的2022-11-21分区大小为0。怎样修复

下面的示例代码:

复制代码
-- 修复表的元数据
msck repair table entersv.ods_t_test;
-- 重新计算分区的统计信息
analyze table entersv.ods_t_test partition(dt) compute statistics;
相关推荐
D明明就是我2 小时前
Hive 知识点梳理
数据仓库·hive·hadoop
dessler1 天前
Elasticsearch(ES)简介与入门
linux·运维·hdfs
笨蛋少年派2 天前
HDFS简介
大数据·hadoop·hdfs
工作中的程序员3 天前
hive sql优化基础
hive·sql
风跟我说过她4 天前
Sqoop的安装与配置
hive·hadoop·经验分享·centos·hbase·sqoop
weixin_525936335 天前
金融大数据处理与分析
hadoop·python·hdfs·金融·数据分析·spark·matplotlib
秃头菜狗5 天前
十三、格式化 HDFS 文件系统、启动伪分布式集群
大数据·hadoop·hdfs
DashingGuy8 天前
hive、spark任务报错或者异常怎么排查以及定位哪段sql
hive·sql·spark
秦JaccLink11 天前
Hive语句执行顺序详解
数据仓库·hive·hadoop
AI算力网络与通信11 天前
大数据领域 Hive 数据仓库搭建实战
大数据·数据仓库·hive·ai