zabetak commented on a change in pull request #1186:
URL: https://github.com/apache/hive/pull/1186#discussion_r447985240
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java
##########
@@ -2264,6 +2255,8 @@ private MergedColumnStatsForPartitions
mergeColStatsForPartitions(String catName
if (colStatsMap.size() < 1) {
LOG.debug("No stats data found for: dbName={} tblName= {} partNames=
{} colNames= ", dbName, tblName, partNames,
colNames);
+ // TODO: If we don't find any stats then most likely we should return
null. Returning an empty object will not
+ // trigger the lookup in the raw store and we will end up with missing
stats.
Review comment:
Yeap, check https://issues.apache.org/jira/browse/HIVE-23781. I was
planning to push a new commit now to update the comment.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]