Connecting to Snowflake
This section contains details for Snowflake Pullup connections.
General information
Data source
Snowflake
Supported versions
3.26.1
Connection string
jdbc:snowflake://
Packaged?
Yes
Certified?
Yes
Supported features
Estimate job
Yes
Analyze data
Yes
Schedule
Yes
Processing capabilities
Pushdown
No
Spark agent
Yes
Yarn agent
Yes
Parallel JDBC
Yes
Java Platform version compatibility
JDK 8
Yes
JDK 11
Yes
Minimum user permissions
In order to bring your Snowflake data into Data Quality & Observability (self-hosted), you need the following permissions.
Read access on your Snowflake database tables.
ROLE_ADMIN assigned to your user in Collibra DQ.
Recommended and required connection properties
Yes
Name
Text
The unique name of your connection. Ensure that there are no spaces in your connection name.
Yes
Connection URL
String
The connection string path of your Snowflake connection.
When referring to the example below, replace the ${value} sections of the connection URL with your actual value.
Example: jdbc:snowflake://${host}.snowflakecomputing.com/?db=${dbName}
Yes
Driver Name
String
The driver class name of your Snowflake connection.
com.snowflake.client.jdbc.SnowflakeDriver
Yes
Port
Integer
The port number to establish a connection to the datasource.
The default port is 0
No
Limit Schemas
Option
Allows you to manage usage and restrict visibility to only the necessary schemas in the Explorer tree.
See Limiting schemas to learn how to limit schemas from the Connection Management page.
No
Source Name
String
N/A
Yes
Auth Type
Option
The method to authenticate your connection.
No
Pushdown
Option
Switches Pushdown processing on or off.
No
Properties
String
The configurable driver properties for your connection. Multiple properties must be semicolon-delimited, and each property=value pair, including the last one, must end with a semicolon (;). abc=123;test=true;
Optionally add the following connection property to limit the databases and tables displayed in Explorer to only the tables to which a user has access.
For more information about optional JDBC connection parameters, see the official Snowflake documentation.
Authentication
Select an authentication type from the dropdown menu. The options available in the dropdown menu are the currently supported authentication types for this data source.
Username/Password
Yes
Username
The username of your Snowflake service account.
Yes
Password
The password of your Snowflake service account.
Configuring key pair authentication via Helm
To be able to mount extra volumes to the DQ Agent pod, configure Snowflake key pair authentication at the DQ Agent pod.
Create a kubernetes secret to hold the snowflake private key. For example:
In the example above, content in snowflake-private-key.p8 is base64.
Update the values in the Helm script to attach the kubernetes secrets to DQ Web and DQ Agent pods. For example:
Create a DQ connection which uses the Snowflake private key located at:
Password Manager
Yes
Username
The username of your Snowflake service account.
Yes
Script
The file path that contains the script file that the password manager uses to interact with and authenticate a user account.
Example: /tmp/keytab/snowflake_pwd_mgr.sh
No
Param $1
Optional. An additional parameter to authenticate your Snowflake connection.
No
Param $2
Optional. An additional parameter to authenticate your Snowflake connection.
No
Param $3
Optional. An additional parameter to authenticate your Snowflake connection.
Configuring key pair authentication via Helm
To be able to mount extra volumes to the DQ Agent pod, configure Snowflake key pair authentication at the DQ Agent pod.
Create a kubernetes secret to hold the snowflake private key. For example:
In the example above, content in snowflake-private-key.p8 is base64.
Update the values in the Helm script to attach the kubernetes secrets to DQ Web and DQ Agent pods. For example:
Create a DQ connection which uses the Snowflake private key located at:
Key Pair
Yes
Username
The username of your Snowflake service account.
Yes
Key Password
The password of your Snowflake private key file.
Yes
P8 Credential File
Your Snowflake private key file. This must be password-encrypted.
Configuring key pair authentication via the Connection URL
The table below shows the properties used to configure key pair authentication with a Connection URL in the New JDBC Connection modal.
Connection URL
jdbc❄️//<URL>?db=owluserdb&warehouse=owluserdb&authenticator=snowflake_jwt&private_key_file=/<your-file-path>/keytab/snowflake_key.p8&private_key_file_pwd=<your-password>
The file name should include a .p8 extension, as shown in the example above.
Username
The username for which the private key is created. For example, DQ_User.
Password
The password field must be left empty.
Configuring key pair authentication via the Driver Properties
The table below shows the properties used to configure key pair authentication with the Driver Properties in the New JDBC Connection modal.
Username
The username for which the private key is created. For example, DQ_User.
Password
The password field must be left empty.
Driver Properties
authenticator=snowflake_jwt,private_key_file=/<your-file-path>/snowflakeKeys/rsa_key2.p8,private_key_file_pwd=<your-password>
The file name should include a .p8 extension, as shown in the example above.
Configuring key pair authentication via Helm
To be able to mount extra volumes to the DQ Agent pod, configure Snowflake key pair authentication at the DQ Agent pod.
Create a kubernetes secret to hold the snowflake private key. For example:
In the example above, content in snowflake-private-key.p8 is base64.
Update the values in the Helm script to attach the kubernetes secrets to DQ Web and DQ Agent pods. For example:
Create a DQ connection which uses the Snowflake private key located at:
OAuth2
Yes
Username
The username of your Snowflake service account.
Yes
Password
The password of your Snowflake service account.
No
Assume Role
Optional. Select this option to generate a set of temporary security credentials.
Configuring key pair authentication via Helm
To be able to mount extra volumes to the DQ Agent pod, configure Snowflake key pair authentication at the DQ Agent pod.
Create a kubernetes secret to hold the snowflake private key. For example:
In the example above, content in snowflake-private-key.p8 is base64.
Update the values in the Helm script to attach the kubernetes secrets to DQ Web and DQ Agent pods. For example:
Create a DQ connection which uses the Snowflake private key located at:
Additional connection parameters
<account_identifier>
Specifies the account identifier for your Snowflake account.
For more details, see Account Identifiers. For examples of the account identifier used in a JDBC connection string, see Examples.
<connection_params>
Specifies a series of one or more parameters, in the form of <param>=<value>, with each parameter separated by the ampersand character (&), and no spaces anywhere in the connection string.
For more information on individual connection parameters, see the official Snowflake documentation about JDBC Driver Connection Parameter Reference.
Other parameters
Any session parameter can be included in the connection string. For example:
CLIENT_SESSION_KEEP_ALIVE=<Boolean>
Specifies whether to keep the current session active after a period of inactivity, or to force the user to login again.
When the boolean value is true, Snowflake keeps the session active indefinitely, even if there is no activity from the user.
When the boolean value is false, the user must log in again after four hours of inactivity.
The default boolean value is false
For descriptions of all the session parameters, see the official Snowflake documentation about Parameters.
Optional parameter examples
The following is an example of the connection string that uses an account identifier that specifies the account myaccount in the organization myorganization.
The following is an example of a connection string that uses the account locator xy12345 as the account identifier:
PrivateLink
Please let us know if you are using PrivateLink for Snowflake. Setup can vary depending on the endpoint that is created. In most cases, use the private endpoint as a normal JDBC connection.
For additional information, see the Snowflake community article about troubleshooting AWS PrivateLink.
Advanced PrivateLink and proxy
The following is an example of a JDBC string connection we used to set up a Snowflake connection :
<ACCOUNT_NAME> is the full link to the Snowflake instance with the PrivateLink.
DQ installed on-prem in a private IaaS and DQ is behind a proxy.
If the Snowflake instance is using a PrivateLink, whitelist the private link URL to bypass the proxy.
In addition to connectivity to the Snowflake instance, the JDBC driver tries to access Snowflake Blob storage by connecting directly to some S3 buckets managed by Snowflake.
Those need to be whitelisted as well.
Command line example for basic spark-submit job
Limitations
The Snowflake key pair-based authentication type supports only encrypted private keys.
Datasets using the Snowflake key pair-based authentication type with Pullup are not supported as secondary datasets.
This section contains details for Snowflake Pushdown connections.
General information
Data source
Snowflake
Supported versions
3.26.1
Connection string
jdbc:snowflake://
Packaged?
Yes
Certified?
Yes
Supported features
Estimate job
Yes
Analyze data
Yes
Schedule
Yes
Processing capabilities
Pushdown
Yes
Spark agent
No
Yarn agent
No
Parallel JDBC
No
Java Platform version compatibility
JDK 8
Yes
JDK 11
Yes
Prerequisites
For first-time configurations, we recommend that you also successfully run the Pushdown setup script. If you do not run the setup script, ensure that you meet all the criteria that the script attempts to accomplish.
Minimum user permissions
In order to bring your Snowflake data into Data Quality & Observability (self-hosted), you need the following permissions.
USAGE and MONITOR privileges on all Snowflake database tables, external tables, views, schemas, and streams.
OPERATE, USAGE, and MONITOR privileges on the Collibra DQ virtual data warehouse.
When using Archive Break Records, ensure that you have the following:
USAGE privilege on the database and/or schema.
INSERT privilege on tables.
CREATE, READ, UPDATE, and DELETE privileges to prune records.
ROLE_ADMIN assigned to your user in Collibra DQ.
Recommended and required connection properties
Yes
Name
Text
The unique name of your connection. Ensure that there are no spaces in your connection name.
Yes
Connection URL
String
The connection string path of your Snowflake connection.
When referring to the example below, replace the ${value} sections of the connection URL with your actual value.
Example: jdbc:snowflake://${host}.snowflakecomputing.com/?db=${dbName}
Yes
Driver Name
String
The driver class name of your Snowflake connection.
com.snowflake.client.jdbc.SnowflakeDriver
Yes
Port
Integer
The port number to establish a connection to the datasource.
The default port is 0
No
Limit Schemas
Option
Allows you to manage usage and restrict visibility to only the necessary schemas in the Explorer tree.
See Limiting schemas to learn how to limit schemas from the Connection Management page.
No
Source Name
String
N/A
No
Target Agent
Option
The Agent that submits your Spark job for processing.
You do not need to select an option because Pushdown Jobs do not require an Agent to submit them to the data warehouse.
Yes
Auth Type
Option
The method to authenticate your connection.
Yes
Pushdown
Option
Switches Pushdown processing on or off.
No
Option
Allows you to write break records directly to a Snowflake database or schema.
Yes
Properties
String
The configurable driver properties for your connection. Multiple properties must be semicolon-delimited, and each property=value pair, including the last one, must end with a semicolon (;). abc=123;test=true;
Add the following driver property:
For more information about optional JDBC connection parameters, see the official Snowflake documentation.
Authentication
Select an authentication type from the dropdown menu. The options available in the dropdown menu are the currently supported authentication types for this data source.
Username/Password
Yes
Username
The username of your Snowflake service account.
Yes
Password
The password of your Snowflake service account.
Configuring key pair authentication via the Connection URL
The table below shows the properties used to configure key pair authentication with a Connection URL in the New JDBC Connection modal.
Connection URL
jdbc❄️//<URL>?db=owluserdb&warehouse=owluserdb&authenticator=snowflake_jwt&private_key_file=/<your-file-path>/keytab/snowflake_key.p8&private_key_file_pwd=<your-password>
The file name should include a .p8 extension, as shown in the example above.
Username
The username for which the private key is created. For example, DQ_User.
Password
The password field must be left empty.
Configuring key pair authentication via the Driver Properties
The table below shows the properties used to configure key pair authentication with the Driver Properties in the New JDBC Connection modal.
Username
The username for which the private key is created. For example, DQ_User.
Password
The password field must be left empty.
Driver Properties
authenticator=snowflake_jwt,private_key_file=/<your-file-path>/snowflakeKeys/rsa_key2.p8,private_key_file_pwd=<your-password>
The file name should include a .p8 extension, as shown in the example above.
Configuring key pair authentication via Helm
To be able to mount extra volumes to the DQ Agent pod, configure Snowflake key pair authentication at the DQ Agent pod.
Create a kubernetes secret to hold the snowflake private key. For example:
In the example above, content in snowflake-private-key.p8 is base64.
Update the values in the Helm script to attach the kubernetes secrets to DQ Web and DQ Agent pods. For example:
Create a DQ connection which uses the Snowflake private key located at:
Password Manager
Yes
Username
The username of your Snowflake service account.
Yes
Script
The file path that contains the script file that the password manager uses to interact with and authenticate a user account.
Example: /tmp/keytab/snowflake_pwd_mgr.sh
No
Param $1
Optional. An additional parameter to authenticate your Snowflake connection.
No
Param $2
Optional. An additional parameter to authenticate your Snowflake connection.
No
Param $3
Optional. An additional parameter to authenticate your Snowflake connection.
Configuring key pair authentication via the Connection URL
The table below shows the properties used to configure key pair authentication with a Connection URL in the New JDBC Connection modal.
Connection URL
jdbc❄️//<URL>?db=owluserdb&warehouse=owluserdb&authenticator=snowflake_jwt&private_key_file=/<your-file-path>/keytab/snowflake_key.p8&private_key_file_pwd=<your-password>
The file name should include a .p8 extension, as shown in the example above.
Username
The username for which the private key is created. For example, DQ_User.
Password
The password field must be left empty.
Configuring key pair authentication via the Driver Properties
The table below shows the properties used to configure key pair authentication with the Driver Properties in the New JDBC Connection modal.
Username
The username for which the private key is created. For example, DQ_User.
Password
The password field must be left empty.
Driver Properties
authenticator=snowflake_jwt,private_key_file=/<your-file-path>/snowflakeKeys/rsa_key2.p8,private_key_file_pwd=<your-password>
The file name should include a .p8 extension, as shown in the example above.
Configuring key pair authentication via Helm
To be able to mount extra volumes to the DQ Agent pod, configure Snowflake key pair authentication at the DQ Agent pod.
Create a kubernetes secret to hold the snowflake private key. For example:
In the example above, content in snowflake-private-key.p8 is base64.
Update the values in the Helm script to attach the kubernetes secrets to DQ Web and DQ Agent pods. For example:
Create a DQ connection which uses the Snowflake private key located at:
Limitations
Snowflake Pushdown connections support all regex special characters in column names except for square brackets [ ].
Last updated
Was this helpful?