Snowflake forwarder configuration
You can configure the following settings in this function:
Setting | Description | Field requirement |
|---|---|---|
Environment | ||
Account identifier | The account identifier for the Snowflake account URL. Only enter the | Required |
Warehouse | The name of the virtual warehouse you want to use for execution. | Required |
Database name | The name of the Snowflake database. | Required |
AuthenticationSelect one of the following three authentication types from the dropdown: | ||
Programmatic access token | A Snowflake programmatic access token (PAT) that authenticates the Snowflake user account. Note! The Programmatic access token field only accepts parameter references and requires you to use Global parameters. | Required |
Key-pair (JWT) |
Note! The Private key field only accepts parameter references, and you have to use Global parameters. | Required |
OAuth | Note! This OAuth 2.0 authentication uses the client credentials grant.
Note! The Client Secret field only accepts parameter references, and you have to use Global parameters. | Required |
Batching Determine whether you want to write records to the database one by one or batch them before writing to the database in one statement. | ||
Use batching | When you enable batching, the function buffers input records and writes them to the database as multi-row Note! When batching is enabled, the following rules apply for the SQL.
Examples: INSERT INTO "MYTABLE" (ID, NAME) VALUES (@{payload.ID},${@payload.NAME})is valid. DELETE FROM "MYTABLE" WHERE ID = @{@payload.ID};is invalid. ${payload.statement}is invalid. INSERT INTO "${payload.TABLE_NAME}" (${payload.column_NAME}) VALUES (@{payload.column_VALUE})is invalid. INSERT INTO {{param:table_name}} (ID, NAME) VALUES (@{payload.ID},${payload.NAME})is valid. | Optional |
Batch limit | The batch limit determines how many input records the function buffers before writing a multi-row When Batching is enabled with a batch limit of 5000, the function buffers up to 5000 input records before writing a multi-row For an input of 12000 records with a batch limit of 5000, the function writes 3 multi-row | Required when Batching is enabled |
SQL statement | ||
SQL statement | Enter the SQL statement to write, update, or delete data in the Snowflake database. Only a single Note! If you specify a database name directly in the SQL statement, for example, Note! Sensitive parameters must not be used in the SQL statement. | Required |