Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 9 additions & 1 deletion _docs/master/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -1835,7 +1835,8 @@
},
"schema" : {
"anyOf" : [ {
"type" : "string"
"type" : "string",
"minLength" : 1
}, {
"type" : "null"
} ]
Expand Down Expand Up @@ -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"
Expand Down
10 changes: 10 additions & 0 deletions _docs/master/troubleshooting-guide/db-connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
10 changes: 9 additions & 1 deletion _site/docs/master/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,8 @@
},
"schema" : {
"anyOf" : [ {
"type" : "string"
"type" : "string",
"minLength" : 1
}, {
"type" : "null"
} ]
Expand Down Expand Up @@ -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"
Expand Down
9 changes: 9 additions & 0 deletions _site/docs/master/troubleshooting-guide/db-connection.html
Original file line number Diff line number Diff line change
Expand Up @@ -4954,6 +4954,15 @@ <h3 id="testing-the-connection-status">Testing the connection status</h3>
</li>
</ol>

<h2 id="snowflake-error-when-running-via-jar-file">Snowflake error when running via JAR file</h2>

<p>If you’re connecting to Snowflake and encounter an error like, <code class="language-plaintext highlighter-rouge">JDBC driver internal error: exception creating result</code> and are running from the JAR file, add <code class="language-plaintext highlighter-rouge">--add-opens java.base/java.nio=ALL-UNNAMED</code> to your <code class="language-plaintext highlighter-rouge">java</code> command:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>java --add-opens java.base/java.nio=ALL-UNNAMED -jar metabase.jar
</code></pre></div></div>

<p>See the docs on <a href="../installation-and-operation/running-the-metabase-jar-file">running the Metabase jar file</a>.</p>

<h2 id="related-problems">Related problems</h2>

<ul>
Expand Down