Skip to content
Open
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
14 changes: 13 additions & 1 deletion presto-docs/src/main/sphinx/presto_cpp/properties.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,19 @@ alphabetical order.
* **Type:** ``string``
* **Default value:** ``presto.default``

Specifies the namespace prefix for native C++ functions.
Specifies the namespace prefix for native C++ functions. This prefix is used when
registering Velox functions in Prestissimo to ensure proper function resolution in
multi-catalog environments.

.. warning::

**Critical**: When registering Velox functions, you **must** follow the
``catalog.schema.`` prefix pattern. Functions registered without this pattern
will cause worker node crashes.

The configured value (for example, ``presto.default``) is automatically appended with a
trailing dot (``.``) to form the complete prefix (``presto.default.``). This results
in fully qualified function names like ``presto.default.substr`` or ``presto.default.sum``. Note, internal functions (prefixed with ``$internal$``) do not follow this pattern and are exempt from the three-part naming requirement.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
in fully qualified function names like ``presto.default.substr`` or ``presto.default.sum``. Note, internal functions (prefixed with ``$internal$``) do not follow this pattern and are exempt from the three-part naming requirement.
in fully qualified function names like ``presto.default.substr`` or ``presto.default.sum``. Internal functions (prefixed with ``$internal$``) do not follow this pattern and are exempt from the three-part naming requirement.


Worker Properties
-----------------
Expand Down
Loading