Skip to content

Commit

Permalink
Fix formatting in Hive Connector Procedures doc
Browse files Browse the repository at this point in the history
  • Loading branch information
steveburnett committed Apr 16, 2024
1 parent 5b7cda2 commit 12aa202
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions presto-docs/src/main/sphinx/connector/hive.rst
Original file line number Diff line number Diff line change
Expand Up @@ -840,28 +840,28 @@ The following procedures are available:

* ``system.create_empty_partition(schema_name, table_name, partition_columns, partition_values)``

Create an empty partition in the specified table.
Create an empty partition in the specified table.

* ``system.sync_partition_metadata(schema_name, table_name, mode, case_sensitive)``

Check and update partitions list in metastore. There are three modes available:
Check and update partitions list in metastore. There are three modes available:

* ``ADD`` : add any partitions that exist on the file system but not in the metastore.
* ``DROP``: drop any partitions that exist in the metastore but not on the file system.
* ``FULL``: perform both ``ADD`` and ``DROP``.
* ``ADD`` : add any partitions that exist on the file system but not in the metastore.
* ``DROP``: drop any partitions that exist in the metastore but not on the file system.
* ``FULL``: perform both ``ADD`` and ``DROP``.

The ``case_sensitive`` argument is optional. The default value is ``true`` for compatibility
with Hive's ``MSCK REPAIR TABLE`` behavior, which expects the partition column names in
file system paths to use lowercase (e.g. ``col_x=SomeValue``). Partitions on the file system
not conforming to this convention are ignored, unless the argument is set to ``false``.
The ``case_sensitive`` argument is optional. The default value is ``true`` for compatibility
with Hive's ``MSCK REPAIR TABLE`` behavior, which expects the partition column names in
file system paths to use lowercase (e.g. ``col_x=SomeValue``). Partitions on the file system
not conforming to this convention are ignored, unless the argument is set to ``false``.

* ``system.invalidate_directory_list_cache()``

Flush full directory list cache.
Flush full directory list cache.

* ``system.invalidate_directory_list_cache(directory_path)``

Invalidate directory list cache for specified directory_path.
Invalidate directory list cache for specified directory_path.

Extra Hidden Columns
--------------------
Expand Down

0 comments on commit 12aa202

Please sign in to comment.