Skip to main content
Version: 3.0.0

Snowflake Connection

Connection to a Snowflake data warehouse.

Examples

connection:
snowflake:
account: your-snowflake-account
user: your-username
password: ${secret.my_vault_name.your-password}

SnowflakeConnection

info

SnowflakeConnection is defined beneath the following ancestor nodes in the YAML structure:

Below are the properties for the SnowflakeConnection. Each property links to the specific details section further down in this page.

PropertyDefaultTypeRequiredDescription
namestring
NoThe name of the model
descriptionstring
NoA brief description of what the model does.
metadataResourceMetadata
NoMeta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
snowflakeSnowflakeConnectionOptionsYesThe Snowflake connection options.

Property Details

Connection

A connection to a data source/sink.

PropertyDefaultTypeRequiredDescription
connectionOne of:
  S3Connection
  GcsConnection
  AbfsConnection
  LocalFileConnection
  SnowflakeConnection
  BigQueryConnection
  MSSQLConnection
  MySQLConnection
  OracleConnection
  PostgresConnection
  HttpConnection
  DuckDBConnection
  CustomPythonConnection
  SynapseConnection
YesThe connection to the data system.

SnowflakeConnectionOptions

Snowflake connection options.

PropertyDefaultTypeRequiredDescription
max_query_lengthinteger
NoThe maximum query length to allow.
max_concurrent_queriesinteger
NoThe maximum number of concurrent queries to allow.
max_combined_sql_statementsinteger
NoThe maximum number of combined SQL statements to allow.
accountstringYesThe Snowflake account to connect to.
userstringYesThe Snowflake user to connect as.
passwordstring
NoThe Snowflake password to use for the connection.
private_keystring
NoThe private key file to use for the Snowflake connection.
databasestring
NoThe Snowflake database to connect to.
schemaPUBLICstringNoThe Snowflake schema to use.
warehousestring
NoThe Snowflake warehouse to use.
rolestring
NoThe Snowflake role to use.
create_schema_if_not_existsboolean
NoA boolean flag indicating whether to create the schema if it does not exist.
max_dml_per_table20integerNoSnowflake has a built-in limit of 20 DML statements that target the same table concurrently, including COPY, INSERT, MERGE, UPDATE, and DELETE.

ResourceMetadata

Meta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.

PropertyDefaultTypeRequiredDescription
sourceResourceLocation
NoThe origin or source information for the resource.
source_event_uuidstring
NoUUID of the event that is associated with creation of this resource.

ResourceLocation

The origin or source information for the resource.

PropertyDefaultTypeRequiredDescription
pathstringYesPath within repository files where the resource is defined.
first_line_numberinteger
NoFirst line number within path file where the resource is defined.