Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for hive partition caching property #12534

Merged
merged 1 commit into from
May 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 25 additions & 21 deletions docs/src/main/sphinx/connector/hive.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down