0
create table temp TBLPROPERTIES('numRows'='-1') as select * from test_table limit 10;
show tblproperties temp("numRows");
=> 1
insert into table temp select * from test_table limit 10;
show tblproperties temp("numRows");
=> 11 (10 + 1(earlier)
如果我使用插入查询,那么它会正确更新numRows
。 为什么会这样?Hive:numRows tblpropery显示错误的计数