Snowflake Bulk Loader
Use the Snowflake Bulk Loader step in your transformation to bulk-load data to Snowflake. This is different from the Table Output step in that this allows you to bulk load the data as opposed to loading it row-by-row. This can result in significantly better performance.
Prerequisites
You must have the following information in order to connect to your Snowflake instance:
Location of the source S3 bucket or Internal Staging Area and file. Note that your Snowflake instance must also have access to this location in order to access the files / objects that will be loaded. The following (input) file formats are supported:
Delimited
Avro
JSON
ORC
Parquet
XML
You will need to setup a VFS connection to the S3 bucket to Internal Staging area. See <link> for further details
IP / Domain, Port, Private Key File / Password for the target Snowflake Database. You will need to setup a connection to the target Snowflake Database (see <link> for further details on how to setup a Snowflake connection)
Schema and Table name in the target Snowflake Database to which the data will be uploaded
Using the Step
Once you have the step on main canvas, double click on the step. This will open a dialog to configure the step details.
Specify Input Source
Specify the following:
Source Type: S3 or Snowflake Staging Area
S3 location or Snowflake Staging Area & file from which the data will be loaded (should be known as laid out in the Prerequisites above)
File type (see Prerequisites for supported file types)
Compression type of the source file

If you choose file type as "Delimited" or "JSON" or "XML", then you will need to provide additional information as shown in the image below

Specify Output Target
You will need to specify the target database Connection, Schema, and Table here. These should all be established / known as laid out in the Prerequisites above. You can also create a new Snowflake connection here (by clicking on New). You will need to follow the same instructions as specified in Prerequisites above.

Specify Options / Advanced Options
Specify the following:
Whether you need the target Table truncated before the load starts
What action to take on encountering errors
Advanced options (see Copy Options under https://docs.snowflake.com/en/sql-reference/sql/copy-into-table)
Metadata Injection Support
All fields of this step support metadata injection. You can use this step with ETL metadata injection to pass metadata to your transformation at runtime.
Last updated
Was this helpful?


