Skip to content

Commit

Permalink
Add intro to Procedure in the Hive connector
Browse files Browse the repository at this point in the history
Cherry-pick of trinodb/trino#11205

Add an introduction to the Procedure section in the Hive connector.
Include information about call a procedure and an example.

Co-authored-by: Rose Williams <rose.williams@starburstdata.com>
  • Loading branch information
2 people authored and rschlussel committed Apr 4, 2022
1 parent 27579d8 commit cc6992e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions presto-docs/src/main/sphinx/connector/hive.rst
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,14 @@ The following operations are not supported when ``avro_schema_url`` is set:
Procedures
----------

Use the :doc:`/sql/call` statement to perform data manipulation or
administrative tasks. Procedures must include a qualified catalog name, if your
Hive catalog is called ``web``::

CALL web.system.example_procedure()

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.
Expand Down

0 comments on commit cc6992e

Please sign in to comment.