Skip to Content
Unified docs shell with shared Classifyre tokens and acid-green highlight accents.
SourcesSnowflake

Snowflake

Schema-driven source documentation.

SNOWFLAKE52 fields2 examples
Commonly Asked Questions
Assistant knowledge mapped to this source type from assistant_knowledge.json.

Required
Fields required for a valid configuration payload under `config.required`.
PathTypeRequiredDescriptionDefaultConstraints
requiredobjectYes
Masked
Sensitive fields under `config.masked` (secrets/credentials).
PathTypeRequiredDescriptionDefaultConstraints
maskedobjectYes
Optional
Optional configuration fields under `config.optional`.
PathTypeRequiredDescriptionDefaultConstraints
optionalobjectNono extra properties
optional.connectionobjectNoSnowflake connection and session tuning options.no extra properties
optional.connection.connect_argsobjectNoAdditional snowflake.connector.connect keyword arguments (advanced usage).{}
optional.connection.connect_timeout_secondsintegerNoConnection timeout in seconds15min 1, max 300
optional.connection.rolestringNoSnowflake role to use for metadata and sampling queries
optional.connection.snowflake_domainstringNoSnowflake domain suffix (use snowflakecomputing.cn for China regions).snowflakecomputing.com
optional.connection.warehousestringNoSnowflake warehouse to use for metadata and sampling queries
optional.extractionobjectNoLineage extraction controls for Snowflake metadata ingestion.no extra properties
optional.extraction.include_table_lineagebooleanNoInclude table-level lineage links when dependency metadata is accessible.true
optional.extraction.include_view_lineagebooleanNoInclude view-to-table/view lineage links when dependency metadata is accessible.true
optional.extraction.start_timestringNoOptional lineage lower bound timestamp (ISO 8601).format date-time
optional.scopeobjectNoDatabase, schema, and object selection scope.no extra properties
optional.scope.databasestringNoSingle database to scan (optional when include_all_databases is true)
optional.scope.exclude_databasesarrayNoDatabase denylist (exact database names)["SNOWFLAKE","SNOWFLAKE_SAMPLE_DATA"]
optional.scope.exclude_databases[]stringNo
optional.scope.exclude_schemasarrayNoSchema denylist (exact schema names)["INFORMATION_SCHEMA"]
optional.scope.exclude_schemas[]stringNo
optional.scope.include_all_databasesbooleanNoScan all visible databases except excluded system databasesfalse
optional.scope.include_objectsarrayNoOptional object allowlist. Accepted forms: schema.object or database.schema.object
optional.scope.include_objects[]stringNo
optional.scope.include_schemasarrayNoOptional schema allowlist (exact schema names)
optional.scope.include_schemas[]stringNo
optional.scope.include_tablesbooleanNoInclude table assets in extractiontrue
optional.scope.include_viewsbooleanNoInclude view assets in extractiontrue
optional.scope.table_limitintegerNoOptional cap on number of table/view assets extractedmin 1
Examples
Reference payloads generated from shared source examples JSON.
Password auth discovery scan
Discover all tables and views across the Snowflake account with lineage extraction

Schedule

{
  "enabled": true,
  "preset": "nightly",
  "cron": "31 1 * * *",
  "timezone": "UTC"
}

Config Payload

{
  "type": "SNOWFLAKE",
  "required": {
    "authentication_type": "DEFAULT_AUTHENTICATOR",
    "account_id": "your-account-id"
  },
  "masked": {
    "username": "your-username",
    "password": "your-password"
  },
  "optional": {
    "connection": {
      "warehouse": "your-warehouse"
    },
    "scope": {
      "include_tables": true,
      "include_views": true
    },
    "extraction": {
      "include_table_lineage": true,
      "include_view_lineage": true
    }
  },
  "sampling": {
    "strategy": "RANDOM",
    "rows_per_page": 50
  }
}
Key pair auth with scoped database
Scan a specific Snowflake database using key pair authentication — common for automated pipelines

Schedule

{
  "enabled": true,
  "preset": "weekday_business",
  "cron": "3 12 * * 1-5",
  "timezone": "UTC"
}

Config Payload

{
  "type": "SNOWFLAKE",
  "required": {
    "authentication_type": "KEY_PAIR_AUTHENTICATOR",
    "account_id": "your-account-id"
  },
  "masked": {
    "username": "your-username",
    "private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----"
  },
  "optional": {
    "connection": {
      "warehouse": "your-warehouse",
      "role": "your-role"
    },
    "scope": {
      "database": "YOUR_DATABASE",
      "include_tables": true,
      "include_views": true
    },
    "extraction": {
      "include_table_lineage": true,
      "include_view_lineage": true
    }
  },
  "sampling": {
    "strategy": "LATEST",
    "fallback_to_random": true,
    "rows_per_page": 50
  }
}