From eb3a8a7ad5b3049a483bb4ab8383439a0fca0d16 Mon Sep 17 00:00:00 2001 From: Steve Burnett Date: Mon, 30 Jun 2025 15:22:58 -0400 Subject: [PATCH] Add doc for offset config and session properties --- .../src/main/sphinx/admin/properties-session.rst | 10 ++++++++++ presto-docs/src/main/sphinx/admin/properties.rst | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/presto-docs/src/main/sphinx/admin/properties-session.rst b/presto-docs/src/main/sphinx/admin/properties-session.rst index ab0efbc74a363..5bd1e24b1cfa1 100644 --- a/presto-docs/src/main/sphinx/admin/properties-session.rst +++ b/presto-docs/src/main/sphinx/admin/properties-session.rst @@ -93,6 +93,16 @@ be executed within a single node. The corresponding configuration property is :ref:`admin/properties:\`\`single-node-execution-enabled\`\``. +``offset_clause_enabled`` +^^^^^^^^^^^^^^^^^^^^^^^^^ + +* **Type:** ``boolean`` +* **Default value:** ``false`` + +To enable the ``OFFSET`` clause in SQL query expressions, set this property to ``true``. + +The corresponding configuration property is :ref:`admin/properties:\`\`offset-clause-enabled\`\``. + Spilling Properties ------------------- diff --git a/presto-docs/src/main/sphinx/admin/properties.rst b/presto-docs/src/main/sphinx/admin/properties.rst index 74e521a9f6328..4537567486463 100644 --- a/presto-docs/src/main/sphinx/admin/properties.rst +++ b/presto-docs/src/main/sphinx/admin/properties.rst @@ -117,6 +117,16 @@ Note: The default value can cause errors when large session properties or other large session information is involved. See :ref:`troubleshoot/query:\`\`Request Header Fields Too Large\`\``. +``offset-clause-enabled`` +^^^^^^^^^^^^^^^^^^^^^^^^^ + +* **Type:** ``boolean`` +* **Default value:** ``false`` + +To enable the ``OFFSET`` clause in SQL query expressions, set this property to ``true``. + +The corresponding session property is :ref:`admin/properties-session:\`\`offset_clause_enabled\`\``. + Memory Management Properties ----------------------------