Skip to main content

Snowflake

:::info Required extra This connection requires the snowflake extra. See Installation. :::

Test data in Snowflake.

Server

servers:
- server: snowflake
type: snowflake
account: abcdefg-xn12345
database: ORDER_DB
schema: ORDERS_PII_V2

account, database, and schema come from the servers section above.

Environment variables

Any DATACONTRACT_SNOWFLAKE_-prefixed variable is passed (lowercased, prefix stripped) as a connection parameter to the snowflake-connector-python driver. Set the variables required by your workspace's authenticator mode.

Connection parameterEnvironment variable
usernameDATACONTRACT_SNOWFLAKE_USERNAME
passwordDATACONTRACT_SNOWFLAKE_PASSWORD
warehouseDATACONTRACT_SNOWFLAKE_WAREHOUSE
roleDATACONTRACT_SNOWFLAKE_ROLE
connection_timeoutDATACONTRACT_SNOWFLAKE_CONNECTION_TIMEOUT
authenticatorDATACONTRACT_SNOWFLAKE_AUTHENTICATOR
private_keyDATACONTRACT_SNOWFLAKE_PRIVATE_KEY
private_key_passphraseDATACONTRACT_SNOWFLAKE_PRIVATE_KEY_PASSPHRASE
private_key_pathDATACONTRACT_SNOWFLAKE_PRIVATE_KEY_PATH