From 73fd31911913839ae189f4fef41cd059018926f8 Mon Sep 17 00:00:00 2001 From: Metabase Docs bot Date: Mon, 1 Sep 2025 01:45:49 +0000 Subject: [PATCH] [auto] adding content to docs/auto-update-master-2025-09-01-013216->master --- _docs/master/api.html | 10 +++++++++- _docs/master/troubleshooting-guide/db-connection.md | 10 ++++++++++ _site/docs/master/api.html | 10 +++++++++- .../master/troubleshooting-guide/db-connection.html | 9 +++++++++ 4 files changed, 37 insertions(+), 2 deletions(-) diff --git a/_docs/master/api.html b/_docs/master/api.html index 71d457c5b9..df28145069 100644 --- a/_docs/master/api.html +++ b/_docs/master/api.html @@ -1835,7 +1835,8 @@ }, "schema" : { "anyOf" : [ { - "type" : "string" + "type" : "string", + "minLength" : 1 }, { "type" : "null" } ] @@ -2392,6 +2393,13 @@ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.today" } ] }, + "metabase.legacy-mbql.schema.Emptyable" : { + "anyOf" : [ { + "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.StringExpressionArg" + }, { + "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.field-or-expression-ref" + } ] + }, "metabase.legacy-mbql.schema.EqualityComparable" : { "anyOf" : [ { "type" : "boolean" diff --git a/_docs/master/troubleshooting-guide/db-connection.md b/_docs/master/troubleshooting-guide/db-connection.md index 033aacaa8d..0f6892b56d 100644 --- a/_docs/master/troubleshooting-guide/db-connection.md +++ b/_docs/master/troubleshooting-guide/db-connection.md @@ -113,6 +113,16 @@ psql -h HOSTNAME -p PORT -d DATABASENAME -U DATABASEUSER SELECT 1 ``` +## Snowflake error when running via JAR file + +If you're connecting to Snowflake and encounter an error like, `JDBC driver internal error: exception creating result` and are running from the JAR file, add `--add-opens java.base/java.nio=ALL-UNNAMED` to your `java` command: + +``` +java --add-opens java.base/java.nio=ALL-UNNAMED -jar metabase.jar +``` + +See the docs on [running the Metabase jar file](../installation-and-operation/running-the-metabase-jar-file). + ## Related problems - [My connection or query is timing out](./timeout). diff --git a/_site/docs/master/api.html b/_site/docs/master/api.html index 406f4bd5eb..b06015c946 100644 --- a/_site/docs/master/api.html +++ b/_site/docs/master/api.html @@ -1918,7 +1918,8 @@ }, "schema" : { "anyOf" : [ { - "type" : "string" + "type" : "string", + "minLength" : 1 }, { "type" : "null" } ] @@ -2475,6 +2476,13 @@ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.today" } ] }, + "metabase.legacy-mbql.schema.Emptyable" : { + "anyOf" : [ { + "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.StringExpressionArg" + }, { + "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.field-or-expression-ref" + } ] + }, "metabase.legacy-mbql.schema.EqualityComparable" : { "anyOf" : [ { "type" : "boolean" diff --git a/_site/docs/master/troubleshooting-guide/db-connection.html b/_site/docs/master/troubleshooting-guide/db-connection.html index 9555f65819..85c0cc0b95 100644 --- a/_site/docs/master/troubleshooting-guide/db-connection.html +++ b/_site/docs/master/troubleshooting-guide/db-connection.html @@ -4954,6 +4954,15 @@

Testing the connection status

+

Snowflake error when running via JAR file

+ +

If you’re connecting to Snowflake and encounter an error like, JDBC driver internal error: exception creating result and are running from the JAR file, add --add-opens java.base/java.nio=ALL-UNNAMED to your java command:

+ +
java --add-opens java.base/java.nio=ALL-UNNAMED -jar metabase.jar
+
+ +

See the docs on running the Metabase jar file.

+