Daniel Dai created HIVE-20896: --------------------------------- Summary: CachedStore fail to cache stats in multiple code paths Key: HIVE-20896 URL: https://issues.apache.org/jira/browse/HIVE-20896 Project: Hive Issue Type: Bug Components: Standalone Metastore Reporter: Daniel Dai Assignee: Daniel Dai
Bunch of issues discovered in CachedStore to keep up column statistics: 1. The criteria for partition/non-partition is wrong (table.isSetPartitionKeys() is always true) 2. In update(), partition column stats are removed when populate table basic stats 3. Dirty flags are true right after prewarm(), so the first update() does not do anything 4. Could invoke cacheLock without holding the lock, which results a freeze in update() -- This message was sent by Atlassian JIRA (v7.6.3#76005)