diff --git a/presto-docs/src/main/sphinx/connector/iceberg.rst b/presto-docs/src/main/sphinx/connector/iceberg.rst index 145a95aa7ff01..9bc4a0d7dd0c1 100644 --- a/presto-docs/src/main/sphinx/connector/iceberg.rst +++ b/presto-docs/src/main/sphinx/connector/iceberg.rst @@ -2379,7 +2379,7 @@ Property Name Description The storage table inherits standard Iceberg table properties for partitioning, sorting, and file format. Freshness and Refresh -^^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^^ Materialized views track the snapshot IDs of their base tables to determine staleness. When base tables are modified, the materialized view becomes stale and returns results by querying the base tables directly. After running ``REFRESH MATERIALIZED VIEW``, queries read from the pre-computed storage table. @@ -2388,7 +2388,7 @@ The refresh operation uses a full refresh strategy, replacing all data in the st .. _iceberg-stale-data-handling: Stale Data Handling -""""""""""""""""""" +^^^^^^^^^^^^^^^^^^^ By default, when no staleness properties are configured, queries against a stale materialized view will fall back to executing the underlying view query against the base tables. You can diff --git a/presto-docs/src/main/sphinx/develop/procedures.rst b/presto-docs/src/main/sphinx/develop/procedures.rst index 47ba0782ef9e9..79a02206c1a87 100644 --- a/presto-docs/src/main/sphinx/develop/procedures.rst +++ b/presto-docs/src/main/sphinx/develop/procedures.rst @@ -152,7 +152,7 @@ During startup, the PrestoDB engine collects the procedure providers exposed by respective namespaces (for example, ``hive.system`` or ``iceberg.system``). Once startup is complete, users can invoke these procedures by specifying the corresponding connector namespace, for example: -.. code-block:: java +.. code-block:: sql call iceberg.system.expire_snapshots('default', 'test_table'); call hive.system.invalidate_directory_list_cache(); diff --git a/presto-docs/src/main/sphinx/plugin/native-sidecar-plugin.rst b/presto-docs/src/main/sphinx/plugin/native-sidecar-plugin.rst index f44019a37e46e..c2557dd2f94a6 100644 --- a/presto-docs/src/main/sphinx/plugin/native-sidecar-plugin.rst +++ b/presto-docs/src/main/sphinx/plugin/native-sidecar-plugin.rst @@ -107,7 +107,7 @@ Property Name Description ============================================ ===================================================================== ============================== Expression optimizer ------------------ +-------------------- These properties must be configured in ``etc/expression-manager/native.properties`` to use the native expression optimizer of the ``NativeSidecarPlugin``. diff --git a/presto-docs/src/main/sphinx/presto_cpp/features.rst b/presto-docs/src/main/sphinx/presto_cpp/features.rst index c2ede39d8ac27..6b72e57d7ccc9 100644 --- a/presto-docs/src/main/sphinx/presto_cpp/features.rst +++ b/presto-docs/src/main/sphinx/presto_cpp/features.rst @@ -55,7 +55,7 @@ The request/response flow of Presto C++ is identical to Java workers. The tasks * GET: /v1/operation/server/clearCache?type=memory: It clears the memory cache on worker node. Here is an example: - .. sourcecode:: http + .. code-block:: shell curl -X GET "http://localhost:7777/v1/operation/server/clearCache?type=memory" @@ -63,7 +63,7 @@ The request/response flow of Presto C++ is identical to Java workers. The tasks * GET: /v1/operation/server/clearCache?type=ssd: It clears the ssd cache on worker node. Here is an example: - .. sourcecode:: http + .. code-block:: shell curl -X GET "http://localhost:7777/v1/operation/server/clearCache?type=ssd" @@ -71,7 +71,7 @@ The request/response flow of Presto C++ is identical to Java workers. The tasks * GET: /v1/operation/server/writeSsd: It writes data from memory cache to the ssd cache on worker node. Here is an example: - .. sourcecode:: http + .. code-block:: shell curl -X GET "http://localhost:7777/v1/operation/server/writeSsd"