Skip to main content
Use the Snowflake (Snapshot CDC) source component to read only the records that have changed in your Snowflake tables since the previous pipeline run, instead of reprocessing the entire table every time. The component produces two outputs: Upserted records (new and updated rows) and Deleted records (rows removed from the source).

Connection Setup

Configure your Snowflake connection in Integrate.io, then add the Snowflake (Snapshot CDC) source component to your pipeline and select that connection. See the Snapshot CDC Source reference for full configuration details.

Snapshot Storage

Snowflake Snapshot CDC uses File Based snapshot storage. The snapshot of your previous run is stored as a Parquet file on Integrate.io managed cloud storage, which means:
  • Only read access to your Snowflake database is required, unless you enable Use Snowflake Streams, which needs permission to create a stream in the source table’s schema.
  • No snapshot tables are created in your source database. With Use Snowflake Streams enabled, Integrate.io creates a stream object instead.
  • On the first run, every current record is treated as upserted because there is no previous snapshot to compare against.
Database (table-based) snapshot storage is only available for SQL Server connections. For Snowflake, File Based storage is the only option, and you do not need to configure an S3 connection of your own.

Change Detection

Choose how the component decides whether a row has changed:
  • Primary Key: matches rows by a unique identifier column and detects updates by comparing the remaining column values. Best when the table has a reliable key.
  • Composite Hash: builds a hash from all or selected columns and compares hashes between runs. Best when the table has no reliable primary key.
With File Based storage you can also switch the Source Mode from Table to Query to track changes across a custom SQL query, including JOINs across multiple tables.

Snowflake Streams

The Snowflake (Snapshot CDC) source has a Use Snowflake Streams checkbox. When you enable it, change detection uses a Snowflake Stream on the source table instead of comparing against a Parquet snapshot, so Snowflake tracks the row-level changes.

How It Works

On the first run, Integrate.io creates a stream named <table>_stream in the same schema as the source table (CREATE STREAM IF NOT EXISTS ... ON TABLE ...). On each run, the component reads the changes the stream has recorded since the previous run and emits them to the Upserted records and Deleted records outputs, then consumes the stream so the next run starts from the new position. While the checkbox is enabled, the Primary key, composite hash, and Snapshot Storage options are hidden and not used. Selecting Composite as the change detection method turns Use Snowflake Streams off.

Requirements

  • The source must be a table. Integrate.io creates the stream with CREATE STREAM ... ON TABLE, so views are not supported.
  • The connection’s role needs CREATE STREAM on the schema that contains the table and SELECT on the table.
  • Change tracking must be enabled on the table, or the role must own the table so Snowflake can enable change tracking when the stream is created. A table owner can enable it with ALTER TABLE <table> SET CHANGE_TRACKING = TRUE;.

Configuration

1
Add a Snowflake (Snapshot CDC) source component to the pipeline and select your Snowflake connection.
2
Select the schema and table you want to track.
3
Check Use Snowflake Streams.
4
Select the columns to pass to child components and connect the Upserted records and Deleted records outputs.

Full Configuration Reference

Snapshot CDC Source reference

Configuration steps, change detection methods, query mode, best practices, troubleshooting, and limitations that apply to every Snapshot CDC source.
Last modified on October 28, 2026