Feature Support
Connector support for specific features is shown in the following table. Key: Y - Supported; N - Not Supported; N/A - not applicableConnect to Snowflake
The version 3.23.2 JDBC driver is included with the Snowflake connector, but you can download a newer version from https://repo1.maven.org/maven2/net/snowflake/snowflake-jdbc/. See Add a JDBC Driver. When setting up a connection to Snowflake, you need to provide the following:- The name of the connection
- The JDBC URL.
- Each Snowflake connection must be associated with a database. It may be the database specified in the JDBC URL or the default data base of the connecting user (when no database is specified in the JDBC URL).
- The username and password. Only simple username and password authentication is supported.
/opt/zoomdata/lib/edc-snowflake for Linux, and <install-path>/lib/edc-snowflake for Windows environments.
Snowflake Time Field Conversion
The Self-Service Analytics Snowflake connector converts date-time fields with data types of TIMESTAMP_TZ (a Snowflake data type) to Coordinated Universal Time (UTC) format. The connector also sets the session timezone to UTC format, which means that all Snowflake fields that use the Snowflake local timezone data type TIMESTAMP_LTZ are also converted to UTC format.Configure the Snowflake Clustering Depth Threshold
Snowflake does not have an index, but supports micro-partitions and clustering keys instead. It uses a clustering depth for a table column to indicate whether the clustering state of the column has improved or deteriorated as a result of data changes in the table. A value of 1.0 for the clustering depth indicates that the column is fully clustered. A higher clustering depth indicates that the Snowflake table is not optimally clustered. See Understanding Snowflake Table Structures. To define playability of date or numeric fields, the Self-Service Analytics Snowflake connector uses the relative clustering depth of these fields in relation to the total number of partitions in the table, computed as a percentage using the following formula:edc-snowflake.properties):
Connect to Snowflake Using OAuth
To create a Snowflake connection use one of the available authentication methods:- Basic authentication via username and password
- OAuth 2.0
- The name of the connection.
- The JDBC URL.
-
Each Snowflake connection you use must be associated with a database.
- The database can be the one specified in the JDBC URL, or
- The default database of the connecting user (if no database is specified in the JDBC URL).
- The username and password. Only simple username and password authentication is supported.
| JDBC URL | |
|---|---|
| OAuth 2.0 Enabled | TRUE/FALSE |
| OAuth 2.0 Authorization URI | Obtain OAuth 2.0 connection parameters from your Snowflake instance for connection. |
| OAuth 2.0 Token URI | |
| OAuth 2.0 Client Id | |
| OAuth 2.0 Client Secret |
Scheduled source refresh is not available when you use OAuth 2.0 authentication.
If you do not want to expose OAuth 2.0 connection options to your customers, disable OAuth-related connection parameters at the connector level as a member of the Supervisors group.