jcamachor opened a new pull request #1504: URL: https://github.com/apache/hive/pull/1504
### What changes were proposed in this pull request? This PR creates a query-level cache for HMS requests. The lifecycle of that cache is associated to the lifecycle of the query. This basically means that each unique request to certain HMS APIs should only be served once from HMS, while follow-up repetitive calls will be retrieved from cache. The initial implementation includes caching for 19 APIs. This PR also extends existing local HS2 HMS cache implementation introduced in HIVE-23949 to support other requests (getTableColumnStatistics, getPartitionsByNames, getValidWriteIds). In fact, implementation relies on some of the logic introduced in that JIRA since there are some commonalities. ### Why are the changes needed? This should improve compilation latency. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests. ---------------------------------------------------------------- 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]
