prestodb/presto

[docs] Update "How to invalidate metastore cache?" in connector/hive.rst

Aperta

#25.738 aperta il 11 ago 2025

 (1 commento) (1 reazione) (1 assegnatario)Java (5240 fork)batch import
docsfeature requestgood first issue

Metriche repository

Star
 (15.558 stelle)
Metriche merge PR
 (Merge medio 34g 14h) (120 PR mergiate in 30 g)

Descrizione

Update "How to invalidate metastore cache?" in connector/hive.rst as described in @imjalpreet's comment in #24549.

Expected Behavior or Use Case

Updated documentation.

Presto Component, Service, or Connector

Hive metastore documentation.

Context

In #24549 , @imjalpreet commented:

"How to invalidate metastore cache?": This is one of the ways to invalidate the metastore cache and we should update the details in that section.

The last part of that section

Currently, this procedure flushes the cache for all the tables in all the schemas. This is a known limitation and will be enhanced in the future.

This enhancement was actually added a few months back. More advanced procedures to invalidate the cache are documented here: https://prestodb.github.io/docs/0.292/connector/hive.html#procedures - system.invalidate_metastore_cache() and its variants.

Opened this issue.

Guida contributor