From a1337bdec4e92e63c451e9ce256c4633a84a163f Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Thu, 25 Jul 2024 16:02:24 -0700 Subject: [PATCH] Add docs for sql path parameter for clients - CLI and JDBC driver --- docs/src/main/sphinx/client/cli.md | 4 ++++ docs/src/main/sphinx/client/jdbc.md | 3 +++ 2 files changed, 7 insertions(+) diff --git a/docs/src/main/sphinx/client/cli.md b/docs/src/main/sphinx/client/cli.md index 1af8cad1b034..786e38676772 100644 --- a/docs/src/main/sphinx/client/cli.md +++ b/docs/src/main/sphinx/client/cli.md @@ -169,6 +169,10 @@ mode: selected set of options. * - `--no-progress` - Do not show query processing progress. +* - `--path` + - Set the default [SQL path](/sql/set-path) for the session. Useful for + setting a catalog and schema location for [catalog + routines](routine-catalog). * - `--password` - Prompts for a password. Use if your Trino server requires password authentication. You can set the `TRINO_PASSWORD` environment variable with diff --git a/docs/src/main/sphinx/client/jdbc.md b/docs/src/main/sphinx/client/jdbc.md index 34a39d1c122e..6b887ee4d34e 100644 --- a/docs/src/main/sphinx/client/jdbc.md +++ b/docs/src/main/sphinx/client/jdbc.md @@ -133,6 +133,9 @@ may not be specified using both methods. - Extra information about the client. * - `clientTags` - Client tags for selecting resource groups. Example: `abc,xyz` +* - `path` + - Set the default [SQL path](/sql/set-path) for the session. Useful for + setting a catalog and schema location for [catalog routines](routine-catalog). * - `traceToken` - Trace token for correlating requests across systems. * - `source`