Snowflake
Adding Snowflake to your decube connections helps your team to find relevant datasets, understand their quality via incident monitoring and apply governance policies via our data catalog.
Supported Capabilities
General
Metadata — metadata extraction and display of asset information (tables, columns, schemas). Types collected: Schema, Table, Column, View
Sync Tags — syncs Snowflake tags to assets in the Catalog
Sync Objects Descriptions — syncs object descriptions from Snowflake to the Catalog
Profiling — data profiling on the Profiler tab
Preview — sample data preview
Data Quality — data quality monitoring and observability
External Table — external tables, enabling queries on data in external storage (e.g., S3, ADLS) without loading it into the database
View Table — view tables, which are virtual tables based on SQL queries
Data Quality Monitors
Freshness
Volume
Field Health
Custom SQL
Schema Drift
Lineage
View Table Lineage — tracks virtual tables (views) and their data dependencies
External Table Lineage — tracks the relationship between raw files in cloud storage (S3/ADLS) and the virtualized relational schema in your data platform
SQL Query Lineage — maps data movement through SQL queries (SELECT, JOIN, INSERT, etc.)
General
Configurable Collection
Stored Procedure
Data Quality Monitors
Job Failure
Lineage
Foreign Key Lineage
Stored Procedure Lineage
Below are the steps to Connect snowflake to Decube with key pair authentication method.
Key Pair
Refer to the Snowflake documentation for more information on how to generate a key pair. Please provide only the unencrypted version of private keys as the key is encrypted on Decube's end. The following credentials are required upon adding new connection:
Username
Public Key File
Warehouse Name
Role Name

The source name will be for you to differentiate and recognize particular sources within the decube application.
Prerequisite
To ensure a smooth experience configuring the connection.
The user
decubeuserand roledecuberoleis created and given the proper privileges for monitoring.Steps 4 or 5 below needs to be repeated for every
databasethat needs to be monitored.
Account Identifier
If your Snowflake UI differ, please refer to Snowflake Documentation on how to get your Account Identifier.
Account Identifier can be found by clicking on your profile icon in Snowflake and going to account details.

Copy the Account Identifier which is shown below. This should look like <org-name>-<account-name>

Configuring User, Role and Privileges
1. On a Snowflake worksheet, copy the commands below and modify as necessary. We have the user called DECUBEUSER and role called DECUBEROLE
2. The source type for the database has to be known. To get this information, from Snowflake dashboard click on Data -> Databases. On the left panel, a list of Databases can be seen along with Source.
3. If Source if local, modify database_name, copy into a worksheet and run the commands.
4. Step 3 needs to be repeated for every database that needs to be monitored.
Last updated