Snowflake Lineage Connector

The Snowflake Lineage Connector allows Bigeye to track query history and lineage from your Snowflake instance. This connector requires appropriate permissions and configuration to access query history and metadata.


Prerequisites

Before configuring the connector, ensure you have a Snowflake user with the required permissions.

Note: See the Snowflake setup guide for detailed instructions on creating users and granting the necessary permissions.


Connector Parameters

The Snowflake Lineage Connector requires the following parameters in addition to standard database connection parameters:

ParameterDescription
db.connection.urlJDBC URL for connecting to your Snowflake instance.
db.connection.driver_classJDBC driver class name for Snowflake.
db.connection.usernameSnowflake username for the connector.
db.connection.passwordPassword for the Snowflake user.
db.catalog.name.includeOptional list of catalogs to include.
db.catalog.name.excludeOptional list of catalogs to exclude.
db.snowflake.history.schemaSchema name where query history tables will be stored.
db.snowflake.history.tableTable name for storing query history.
db.snowflake.query.history.incremental.loadSet to true to load query history incrementally.
db.snowflake.invoke.query.historySet to true to invoke Snowflake query history API.
db.snowflake.history.run.periodPeriodicity for populating the history table (e.g., 1d, 1h).
db.snowflake.history.exclude.catalogOptional list of catalogs to exclude from history tracking.

Example Configuration

# Snowflake connection
db.connection.url=jdbc:snowflake://<account>.snowflakecomputing.com
db.connection.driver_class=net.snowflake.client.jdbc.SnowflakeDriver
db.connection.username=your_user
db.connection.password=your_password

# Optional catalog filters
db.catalog.name.include=SALES,MARKETING
db.catalog.name.exclude=TEST

# Query history configuration
db.snowflake.history.schema=BIGEYE_HISTORY
db.snowflake.history.table=QUERY_HISTORY
db.snowflake.query.history.incremental.load=true
db.snowflake.invoke.query.history=true
db.snowflake.history.run.period=1d
db.snowflake.history.exclude.catalog=INTERNAL