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

[docs] Fix formatting in Hive Connector Procedures doc #22535

Merged
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
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
Loading