prestodb/presto

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

Ouverte

#25 738 ouverte le 11 août 2025

 (1 commentaire) (1 réaction) (1 personne assignée)Java (5 240 forks)batch import
docsfeature requestgood first issue

Métriques du dépôt

Stars
 (15 558 étoiles)
Métriques de merge PR
 (Merge moyen 34j 14h) (120 PRs mergées en 30 j)

Description

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.

Guide contributeur