BELUGA BEHR created HIVE-16879: ---------------------------------- Summary: Improve Cache Key Key: HIVE-16879 URL: https://issues.apache.org/jira/browse/HIVE-16879 Project: Hive Issue Type: Improvement Components: Metastore Affects Versions: 2.1.1, 3.0.0 Reporter: BELUGA BEHR Priority: Trivial
Improve cache key for cache implemented in {{org.apache.hadoop.hive.metastore.AggregateStatsCache}}. # Cache some of the key components themselves (db name, table name) to conserve memory for repeated keys and to improve {{equals}} method as now references can be used for equality # Upgrade _debug_ logging to not generate text unless required # Changed _equals_ method to check first for the item most likely to be different, column name -- This message was sent by Atlassian JIRA (v6.3.15#6346)