Hi, When inserting new rows to table, stats get updated immediately in JDBC connection but are not update in HCatalog (hcat/webhcat).
For example, after insertion to table with one row, running 'DESCRIBE EXTENDED a;' in Beeline console returns "numRows=2" but requesting same details with hcat returns "parameters": {"numRows": "1"} Running "ANALYZE TABLE a COMPUTE STATISTICS" from Beeline does not help either. The output "Table stats" is correct but not reflected in HCatalog. I've attached my hive.stat config as well. Thanks for your help, Amin -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
hive.stats.atomic=false hive.stats.autogather=true hive.stats.collect.rawdatasize=true hive.stats.collect.scancols=false hive.stats.collect.tablekeys=false hive.stats.dbclass=fs hive.stats.dbconnectionstring=jdbc:derby:;databaseName=TempStatsStore;create=true hive.stats.deserialization.factor=1.0 hive.stats.fetch.column.stats=true hive.stats.fetch.partition.stats=true hive.stats.filter.in.factor=1.0 hive.stats.gather.num.threads=10 hive.stats.jdbc.timeout=30s hive.stats.jdbcdriver=org.apache.derby.jdbc.EmbeddedDriver hive.stats.join.factor=1.1 hive.stats.key.prefix.max.length=150 hive.stats.key.prefix.reserve.length=24 hive.stats.list.num.entries=10 hive.stats.map.num.entries=10 hive.stats.max.variable.length=100 hive.stats.ndv.error=20.0 hive.stats.reliable=false hive.stats.retries.max=0 hive.stats.retries.wait=3000ms