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 @@
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.
+