|
1 | | ---- |
2 | | -redirect_from: |
3 | | - - /config/databases/snowflake |
4 | | ---- |
5 | | - |
6 | 1 | # Snowflake |
7 | 2 |
|
8 | | -## Prerequisites |
9 | | - |
10 | | -- [The account ID][snowflake-docs-account-id] for [Snowflake][snowflake] |
11 | | -- The warehouse name in the [Snowflake][snowflake] account |
12 | | -- [The region][snowflake-docs-regions] for the [Snowflake][snowflake] warehouse |
13 | | -- The username/password for the [Snowflake][snowflake] account |
| 3 | +[Snowflake][snowflake] is a popular cloud-based data platform. |
14 | 4 |
|
15 | | -## Snowflake quoted identifiers |
| 5 | +## Prerequisites |
16 | 6 |
|
17 | | -Due to an issue in snowflakes opinion about quoted identifers we set a session value to override |
18 | | -snowflake defaults for users that have set an account value for: QUOTED_IDENTIFIERS_IGNORE_CASE |
19 | | -you can learn more about this here: https://docs.snowflake.com/en/sql-reference/identifiers-syntax#double-quoted-identifiers |
| 7 | +- [Account/Server URL][snowflake-docs-account-id] for Snowflake. |
| 8 | +- User name and password or an RSA private key for the Snowflake account. |
| 9 | +- Optionally, the warehouse name, the user role, and the database name. |
20 | 10 |
|
21 | 11 | ## Setup |
22 | 12 |
|
@@ -53,7 +43,7 @@ The following fields are required when creating a Snowflake connection: |
53 | 43 |
|
54 | 44 | <Screenshot |
55 | 45 | alt="Cube Cloud Snowflake Configuration Screen" |
56 | | - src="https://ucarecdn.com/304d6222-3b82-4edc-b35d-63f70375642c/" |
| 46 | + src="https://ucarecdn.com/2a113d20-33ca-4634-b6fa-8886df4d215c/" |
57 | 47 | /> |
58 | 48 |
|
59 | 49 | Cube Cloud also supports connecting to data sources within private VPCs |
@@ -81,7 +71,7 @@ if [dedicated infrastructure][ref-dedicated-infra] is used. Check out the |
81 | 71 | | `CUBEJS_DB_SNOWFLAKE_PRIVATE_KEY_PASS` | The password for the private RSA key. Only required for encrypted keys | A valid password for the encrypted private RSA key | ❌ | |
82 | 72 | | `CUBEJS_DB_SNOWFLAKE_OAUTH_TOKEN_PATH` | The path to the valid oauth toket file | A valid path for the oauth token file | ❌ | |
83 | 73 | | `CUBEJS_DB_SNOWFLAKE_HOST` | Host address to which the driver should connect | A valid hostname | ❌ | |
84 | | -| `CUBEJS_DB_SNOWFLAKE_QUOTED_IDENTIFIERS_IGNORE_CASE` | Whether or not quoted identifiers should be case insensitive. Default is `false` | `true`, `false` | ❌ | |
| 74 | +| `CUBEJS_DB_SNOWFLAKE_QUOTED_IDENTIFIERS_IGNORE_CASE` | Whether or not [quoted identifiers should be case insensitive][link-snowflake-quoted-identifiers]. Default is `false` | `true`, `false` | ❌ | |
85 | 75 | | `CUBEJS_DB_MAX_POOL` | The maximum number of concurrent database connections to pool. Default is `20` | A valid number | ❌ | |
86 | 76 | | `CUBEJS_CONCURRENCY` | The number of [concurrent queries][ref-data-source-concurrency] to the data source | A valid number | ❌ | |
87 | 77 |
|
@@ -210,3 +200,4 @@ connections are made over HTTPS. |
210 | 200 | [snowflake-format-2]: https://docs.snowflake.com/en/user-guide/admin-account-identifier#format-2-account-locator-in-a-region |
211 | 201 | [snowflake-docs-azure]: https://docs.snowflake.com/en/user-guide/data-load-azure-config#option-1-configuring-a-snowflake-storage-integration |
212 | 202 | [azure-bs-docs-get-key]: https://docs.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json&tabs=azure-portal#view-account-access-keys |
| 203 | +[link-snowflake-quoted-identifiers]: https://docs.snowflake.com/en/sql-reference/identifiers-syntax#double-quoted-identifiers |
0 commit comments