Skip to main content
Snowflake source configuration form

Overview

The Snowflake source synchronizes data from a Snowflake table or view into Reelevant. Use it to bring warehouse data into your personalization workflows.

Configuration

Required Fields

FieldDescription
accountYour Snowflake account identifier (e.g. xy12345.eu-west-1).
usernameSnowflake login username.
warehouseThe Snowflake warehouse to use for running queries.
databaseThe database name.
schemaThe schema name.
tableThe table or view to synchronize.

Authentication

Snowflake supports two authentication methods:
Authenticate using a username and password.
FieldDescription
passwordSnowflake login password.

Optional Fields

FieldDescription
queryA custom SQL query to filter or transform the data before import. When provided, the query is executed instead of reading the full table.

Custom SQL Queries

When you provide a custom SQL query, Reelevant executes it against Snowflake instead of reading the entire table. This is useful for:
  • Filtering rows (e.g. SELECT * FROM my_table WHERE is_active = TRUE)
  • Selecting specific columns
  • Joining multiple tables
  • Applying transformations
The query must be valid Snowflake SQL. Make sure the user has the appropriate role and permissions to access the referenced tables.

Incremental Sync

Snowflake supports incremental synchronization when used with the Keep Previous Data update mode.
FieldDescription
timestampColumnThe column name used to compute the delta since the last fetch.
When configured, Reelevant appends a WHERE clause to your query (or generates one automatically) to only fetch rows where the timestamp column is greater than the last recorded value.
The timestamp column is optional even in Keep Previous Data mode — if your Snowflake view already handles delta logic internally, you can omit it.

Data Type Handling

Snowflake data types are streamed with the following conversions:
Snowflake TypeBehavior
VARCHAR, NUMBER, FLOAT, BOOLEANPassed through as-is.
DATE, TIMESTAMP_*, TIMEFetched as strings (using fetchAsString).
VARIANT, OBJECT, ARRAYFetched as JSON strings.

How It Works

  1. Reelevant connects to Snowflake using the provided credentials and warehouse.
  2. If a custom query is provided, it is executed. Otherwise, SELECT * FROM <table> is run.
  3. Results are streamed row-by-row for efficient memory usage.
  4. Fields are extracted and made available for mapping.
  5. On subsequent syncs, the data is re-read (or incrementally fetched if a timestamp column is configured).
Ensure the Snowflake user has the appropriate role to access the specified warehouse, database, schema, and table.