Skip to content

Commit

Permalink
Add docs for hive partition caching property
Browse files Browse the repository at this point in the history
  • Loading branch information
colebow authored and martint committed May 26, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 65cb61c commit 63eb4ed
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions docs/src/main/sphinx/connector/hive.rst
Original file line number Diff line number Diff line change
@@ -469,33 +469,37 @@ Specific properties can be used to further configure the
`Thrift <#thrift-metastore-configuration-properties>`__ or
`Glue <#aws-glue-catalog-configuration-properties>`__ metastore.

======================================= =============================================================
Property Name Description
======================================= =============================================================
``hive.metastore`` The type of Hive metastore to use. Trino currently supports
the default Hive Thrift metastore (``thrift``), and the AWS
Glue Catalog (``glue``) as metadata sources. Default is
``thrift``.
========================================== =============================================================
Property Name Description
========================================== =============================================================
``hive.metastore`` The type of Hive metastore to use. Trino currently supports
the default Hive Thrift metastore (``thrift``), and the AWS
Glue Catalog (``glue``) as metadata sources. Default is
``thrift``.

``hive.metastore-cache-ttl`` Duration how long cached metastore data should be considered
valid. Default is ``0s``.
``hive.metastore-cache.cache-partitions`` Enable caching for partition metadata. You can disable
caching to avoid inconsistent behavior that results from it.
Default is ``true``.

``hive.metastore-cache-maximum-size`` Maximum number of metastore data objects in the Hive
metastore cache. Default is ``10000``.
``hive.metastore-cache-ttl`` Duration how long cached metastore data should be considered
valid. Default is ``0s``.

``hive.metastore-refresh-interval`` Asynchronously refresh cached metastore data after access
if it is older than this but is not yet expired, allowing
subsequent accesses to see fresh data.
``hive.metastore-cache-maximum-size`` Maximum number of metastore data objects in the Hive
metastore cache. Default is ``10000``.

``hive.metastore-refresh-max-threads`` Maximum threads used to refresh cached metastore data.
Default is ``10``.
``hive.metastore-refresh-interval`` Asynchronously refresh cached metastore data after access
if it is older than this but is not yet expired, allowing
subsequent accesses to see fresh data.

``hive.metastore-timeout`` Timeout for Hive metastore requests. Default is ``10s``.
``hive.metastore-refresh-max-threads`` Maximum threads used to refresh cached metastore data.
Default is ``10``.

``hive.hide-delta-lake-tables`` Controls whether to hide Delta Lake tables in table
listings. Currently applies only when using the AWS Glue
metastore. Default is ``false``.
======================================= =============================================================
``hive.metastore-timeout`` Timeout for Hive metastore requests. Default is ``10s``.

``hive.hide-delta-lake-tables`` Controls whether to hide Delta Lake tables in table
listings. Currently applies only when using the AWS Glue
metastore. Default is ``false``.
========================================== =============================================================

.. _hive-thrift-metastore:

0 comments on commit 63eb4ed

Please sign in to comment.