From 1cf1261f31f134cce4d2b9696fdb06c26c08b221 Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Thu, 26 Oct 2023 21:16:38 -0700 Subject: [PATCH] Add example for routine storage config --- .../main/sphinx/admin/properties-sql-environment.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/src/main/sphinx/admin/properties-sql-environment.md b/docs/src/main/sphinx/admin/properties-sql-environment.md index 21b3cbdf0f68..a4092cef9ace 100644 --- a/docs/src/main/sphinx/admin/properties-sql-environment.md +++ b/docs/src/main/sphinx/admin/properties-sql-environment.md @@ -35,6 +35,18 @@ Set the default catalog for [SQL routine](/routines) storage for all clients. The connector used in the catalog must support [](sql-routine-management). Any usage of a fully qualified name for a routine overrides this default. +The default catalog and schema for SQL routine storage must be configured +together, and the resulting entry must be set as part of the path. For example, +the following example section for [](config-properties) uses the `functions` +schema in the `brain` catalog for routine storage, and adds it as the only entry +on the path: + +```properties +sql.default-function-catalog=brain +sql.default-function-schema=default +sql.path=brain.default +``` + ## `sql.default-function-schema` - **Type:** [](prop-type-string)