问题:
select count() from t1;
得到的数量为0,
原因:
该表创建时指定的存储格式为parquet,所以count()无法统计
解决办法:
count单独某个字段可以统计出数目
通过count(*)统计hive表中数据数量为0
猜你喜欢
转载自blog.csdn.net/struggling_rong/article/details/82806488
今日推荐
周排行