Skip to main content

Insert rows from data table

Add every row of a data table to a Snowflake table. Columns are matched by name.

Command in the Snowflake toolkit · id ooa.snowflake/insert_rows · 10 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Account address (URL)StringNoYour Snowflake account address, e.g. https://myorg-myaccount.snowflakecomputing.com.
Table nameStringYesTarget table, written as DATABASE.SCHEMA.TABLE (or just TABLE with database and schema set).
DataTableYesRows to add. Its column names must match columns of the target table.
Batch sizeNumberNo500Rows sent per request.
WarehouseStringNoWarehouse that runs the query. Leave empty for the user's default warehouse.
DatabaseStringNoDatabase of the table when table_name has no database.
SchemaStringNoSchema of the table when table_name has no schema.
RoleStringNoRole to run as. Leave empty for the user's default role.
TokenCredentialNoAccess token from the vault: an OAuth token, a key-pair JWT or a programmatic access token. Or leave it empty and choose a connection that signs in, which gets and renews the token.
Token typeStringNoOAUTHKind of token in the vault: OAUTH, KEYPAIR_JWT or PROGRAMMATIC_ACCESS_TOKEN.

Outputs​

OutputTypeWhat it is
rows_insertedNumberNumber of rows added.