【发布时间】:2018-05-23 02:39:15
【问题描述】:
对于分区表,我可以使用如下查询快速计算分区中的行数:
select count(*)
from db.table Partition (P)
where column value is Null
有没有办法为多个分区执行此操作?
我想要的结果如下-
Partition name Count of Null Rows
P1 20000
P2 12000
P3 30000
【问题讨论】: