Skip to content

Commit 94f01da

Browse files
authored
docs: Add CUBEJS_DB_DUCKDB_SCHEMA (#7219)
1 parent 74f1915 commit 94f01da

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

docs/docs-new/pages/product/configuration/data-sources/duckdb.mdx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,16 @@ If you are not using MotherDuck, leave the **MotherDuck Token** field blank.
4949

5050
## Environment Variables
5151

52-
| Environment Variable | Description | Possible Values | Required | [Supports multiple data sources?][ref-config-multiple-ds-decorating-env] |
53-
| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- | :------: | :----------------------------------------------------------------------: |
54-
| `CUBEJS_DB_DUCKDB_MEMORY_LIMIT` | The maximum memory limit for DuckDB. Equivalent to `SET memory_limit=<MEMORY_LIMIT>`. Default is 75% of available RAM | A valid memory limit |||
55-
| `CUBEJS_DB_DUCKDB_MOTHER_DUCK_TOKEN` | The service token to use for connections to MotherDuck | A valid [MotherDuck service token][motherduck-docs-svc-token] |||
56-
| `CUBEJS_DB_DUCKDB_S3_ACCESS_KEY_ID` | The Access Key ID to use for database connections | A valid Access Key ID |||
57-
| `CUBEJS_DB_DUCKDB_S3_SECRET_ACCESS_KEY` | The Secret Access Key to use for database connections | A valid Secret Access Key |||
58-
| `CUBEJS_DB_DUCKDB_S3_ENDPOINT` | The S3 endpoint | A valid [S3 endpoint][duckdb-docs-s3-import] |||
59-
| `CUBEJS_DB_DUCKDB_S3_REGION` | The [region of the bucket][duckdb-docs-s3-import] | A valid AWS region |||
60-
| `CUBEJS_CONCURRENCY` | The number of concurrent connections each queue has to the database. Default is `2` | A valid number |||
52+
| Environment Variable | Description | Possible Values | Required | [Supports multiple data sources?][ref-config-multiple-ds-decorating-env] |
53+
| --------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- | :------: | :----------------------------------------------------------------------: |
54+
| `CUBEJS_DB_DUCKDB_MEMORY_LIMIT` | The maximum memory limit for DuckDB. Equivalent to `SET memory_limit=<MEMORY_LIMIT>`. Default is 75% of available RAM | A valid memory limit |||
55+
| `CUBEJS_DB_DUCKDB_SCHEMA` | The [default search schema][link-duckdb-configuration-ref] | A valid schema name |||
56+
| `CUBEJS_DB_DUCKDB_MOTHERDUCK_TOKEN` | The service token to use for connections to MotherDuck | A valid [MotherDuck service token][motherduck-docs-svc-token] |||
57+
| `CUBEJS_DB_DUCKDB_S3_ACCESS_KEY_ID` | The Access Key ID to use for database connections | A valid Access Key ID |||
58+
| `CUBEJS_DB_DUCKDB_S3_SECRET_ACCESS_KEY` | The Secret Access Key to use for database connections | A valid Secret Access Key |||
59+
| `CUBEJS_DB_DUCKDB_S3_ENDPOINT` | The S3 endpoint | A valid [S3 endpoint][duckdb-docs-s3-import] |||
60+
| `CUBEJS_DB_DUCKDB_S3_REGION` | The [region of the bucket][duckdb-docs-s3-import] | A valid AWS region |||
61+
| `CUBEJS_CONCURRENCY` | The number of concurrent connections each queue has to the database. Default is `2` | A valid number |||
6162

6263
## Pre-Aggregation Feature Support
6364

@@ -110,6 +111,7 @@ connections are made over HTTPS.
110111
[duckdb-docs-approx-agg-fns]:
111112
https://duckdb.org/docs/sql/aggregates.html#approximate-aggregates
112113
[duckdb-docs-s3-import]: https://duckdb.org/docs/guides/import/s3_import
114+
[link-duckdb-configuration-ref]: https://duckdb.org/docs/sql/configuration.html#configuration-reference
113115
[motherduck]: https://motherduck.com/
114116
[motherduck-docs-architecture]:
115117
https://motherduck.com/docs/architecture-and-capabilities#hybrid-execution

docs/docs-new/pages/reference/configuration/environment-variables.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,15 @@ The [maximum memory limit][duckdb-docs-config] for DuckDB. Equivalent to
221221

222222
[duckdb-docs-config]: https://duckdb.org/docs/sql/configuration.html
223223

224-
## `CUBEJS_DB_DUCKDB_MOTHER_DUCK_TOKEN`
224+
## `CUBEJS_DB_DUCKDB_SCHEMA`
225+
226+
The [default search schema][duckdb-docs-config] for DuckDB.
227+
228+
| Possible Values | Default in Development | Default in Production |
229+
| ------------------- | ---------------------- | --------------------- |
230+
| A valid schema name | `main` | `main` |
231+
232+
## `CUBEJS_DB_DUCKDB_MOTHERDUCK_TOKEN`
225233

226234
The [service token][motherduck-docs-svc-token] to use for connections to
227235
MotherDuck.

0 commit comments

Comments
 (0)