https://blog.csdn.net/MrZhangBaby/article/details/100581183
1.显示Table和Partition的详细信息
desc formatted test;
image.png
2.分区信息查看
-- 显示test表分区信息
show partitions test;
-- 显示test表 指定(ds=20190903)分区相信信息,如果存在就显示,如果不存在就不显示
show partitions test partition(ds=20190903);
show partitions test partition(ds=20190904);
-- 显示分区的详细信息,可以查看字段
desc formatted test partition(ds=20190903);
image.png
image.png












网友评论