Version v0.44 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
Snowflake
Schemas
Here you can specify which schemas you want to sync and scan. Options are:
- All
- Only these…
- All except…
For the Only these and All except options, you can input a comma-separated list of values to tell Metabase which schemas you want to include (or exclude). For example:
foo,bar,baz
You can use the * wildcard to match multiple schemas.
Let’s say you have three schemas: foo, bar, and baz.
- If you have Only these… set, and enter the string
b*, you’ll sync with bar and baz. - If you have All except… set, and enter the string
b*, you’ll just sync foo.
Note that only the * wildcard is supported; you can’t use other special characters or regexes.
Snowflake gotchas
Here are some gotchas to look out for when connecting to Snowflake:
-
Account. The
Accountfield requires the alphanumeric account ID with the region that your Snowflake cluster is running on. For example, if you’re running Snowflake on AWS and your account URL ishttps://az12345.ca-central-1.snowflakecomputing.com, then theAccountwould beaz12345.ca-central-1.aws(note the.awssuffix). There are some regions that don’t need this suffix, so please refer to the official Snowflake documentation for this -
The
RoleandSchemafields are optional. Specifying a role will override the database user’s default role. For example, if the database user isREPORTERwith default roleREPORTER, but the user also has access to roleREPORTERPRODUCT, then filling inREPORTERPRODUCTin theRolefield will ensure that theREPORTERPRODUCTrole is used instead of the user’s defaultREPORTERrole. If no schema is passed, then all schema available to that user and role will be listed as folders in the Metabase UI. -
All other fields must be entered in upper case. Excluding the password.
Read docs for other versions of Metabase.