Skip to main content

Snowflake Connection

Snowflake data warehouse Connection.

Examples​

connection:
snowflake:
database: my_database
account: your-snowflake-account
user: your-username
password: ${vaults.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
descriptionstring
NoBrief description of what the model does.
metadataNoMeta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
namestringYesThe name of the model
snowflakeYesThe Snowflake Connection options.

Property Details​

Connection​

Data source/sink Connection.

PropertyDefaultTypeRequiredDescription
connectionOne of:
  S3Connection
  GcsConnection
  AbfsConnection
  LocalFileConnection
  SnowflakeConnection
  BigQueryConnection
  MSSQLConnection
  MySQLConnection
  OracleConnection
  PostgresConnection
  HttpConnection
  DuckDBConnection
  SFTPConnection
  DatabricksConnection
YesData system Connection.

SnowflakeConnectionOptions​

Snowflake Connection options.

PropertyDefaultTypeRequiredDescription
max_query_lengthinteger
NoMaximum combined query length permitted during query batching.
max_concurrent_queriesinteger
NoMaximum number of concurrent queries permitted.
max_combined_sql_statementsinteger
NoMaximum number of combined SQL statements permitted during query batching.
accountstringYesSnowflake account.
userstringYesSnowflake user.
passwordstring
NoSnowflake user password.
private_keystring
NoPrivate key file for Snowflake.
databasestringYesSnowflake database.
schemaPUBLICstringNoSnowflake schema.
warehousestring
NoSnowflake warehouse.
rolestring
NoSnowflake role.
create_schema_if_not_existsboolean
NoBoolean 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
sourceNoThe origin or source information for the resource.
source_event_uuidstring
NoEvent UUID 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.