Building a Production Talend-to-Snowflake ETL Pipeline: Architecture and Gotchas

Celestinfo Software Solutions Pvt. Ltd. • Jan 30, 2025

Last updated: October 2026

Quick answer: The fastest production pattern is: parent orchestration job that calls child jobs for extract, transform, and load. Use a current Snowflake JDBC driver (4.x, and at least the minimum supported version, currently 3.19.1) with key-pair authentication, and a fetch size of 10,000+ on the source. For bulk loading, stage files to S3 or Azure Blob, then COPY INTO Snowflake, which is much faster than row-by-row inserts. Handle errors with tLogCatcher writing to a dedicated error table in Snowflake.

Job Architecture: Parent + Child Pattern

A production Talend-to-Snowflake pipeline needs three components: a parent orchestration job for flow control, child jobs for each table extraction, and a Snowflake bulk loader (tSnowflakeOutputBulk and tSnowflakeBulkExec running COPY INTO). This architecture handles millions of records daily with checkpoint recovery, parallel execution, and automated error routing. Below is the exact job structure we use across 30+ production deployments. A parent job calls child jobs for each phase: extraction, transformation, and loading. The parent handles logging, error aggregation, and notifications. Each child job does exactly one thing.

Why not put everything in one job? Because debugging a 200-component job at 2am is miserable. With the parent-child pattern, if the load phase fails, you can re-run just that child job with the already-extracted data. You don't have to re-extract from source systems, which matters when those systems have rate limits or maintenance windows.

Typical structure:

Snowflake JDBC Connection Setup

Use the Snowflake JDBC driver, not the generic JDBC driver. The Snowflake-specific driver (net.snowflake.client.jdbc.SnowflakeDriver) supports features like multi-statement execution, PUT/GET commands, and Snowflake-specific session parameters. Use a current driver: Snowflake recommends 4.4.0 or later, and versions below the minimum supported version (3.19.1 on 30 September 2026) might be blocked from connecting.

In Talend, set this up in a tDBConnection component with these parameters:

JDBC connection string
jdbc:snowflake://<account>.snowflakecomputing.com/
  ?db=PROD_DB
  &schema=PUBLIC
  &warehouse=ETL_WH
  &role=ETL_ROLE
  &CLIENT_SESSION_KEEP_ALIVE=true

The CLIENT_SESSION_KEEP_ALIVE=true parameter keeps the session alive while the connection is open. Without it, a connection that sits idle for four hours, for example while Talend processes a large file before loading, has to log in again. A session policy with a maximum session lifetime still applies.

Authenticate with a key pair. Snowflake's MFA rollout removed password sign-in for SERVICE users, which is the user type an unattended Talend pipeline should run as, so a user name and password won't connect. Add the JDBC key-pair properties (private_key_file, plus private_key_file_pwd if the key is encrypted) to the connection, or use tSnowflakeConnection with the Key Pair authentication type.

Bulk Loading: Stage + COPY INTO

Row-by-row inserts through JDBC are painfully slow for anything over 10,000 rows. The production pattern is: write files to a stage (S3 external stage or Snowflake internal stage), then run COPY INTO. This is 5-10x faster because Snowflake can parallelize the file ingestion across its compute nodes.

In Talend, tSnowflakeOutputBulk writes the files and uploads them to a Snowflake internal stage, S3 or Azure, and tSnowflakeBulkExec then runs the COPY INTO. The combined tSnowflakeOutputBulkExec does both steps. Or write the file with tFileOutputDelimited, upload it with tS3Put, and execute the COPY INTO via tDBRow.

SQL - COPY INTO from S3 external stage
COPY INTO prod_db.staging.orders
FROM @prod_db.staging.s3_stage/orders/
  FILE_FORMAT = (
    TYPE = 'CSV'
    FIELD_DELIMITER = ','
    SKIP_HEADER = 1
    NULL_IF = ('NULL', '')
    ERROR_ON_COLUMN_COUNT_MISMATCH = FALSE
  )
  ON_ERROR = 'CONTINUE'
  PURGE = TRUE;

The ON_ERROR = 'CONTINUE' setting loads all valid rows and skips bad ones. After the COPY, check VALIDATE() or the COPY_HISTORY view to find which rows were rejected and why.

Talend estate that still has to run? We do both sides of this: tuning the jobs you are keeping, and moving the ones you are not onto dbt, Snowflake or ADF. Migrations go job by job with old and new running side by side until the counts reconcile, so you can prove it before anything gets switched off.

Book a Talend review How we handle Talend estates

Handling Snowflake's VARIANT Type

Snowflake's VARIANT type stores semi-structured data (JSON, XML, Avro). Talend doesn't natively understand VARIANT, so you need a workaround. The cleanest approach: load your JSON as a string into a VARCHAR column in a staging table, then use a Snowflake view or downstream SQL to parse it with Snowflake's PARSE_JSON() function. Alternatively, load the raw JSON file directly into a single-column VARIANT table using COPY INTO with TYPE = 'JSON'.

SQL - Load JSON into VARIANT column
COPY INTO staging.raw_events (event_data)
FROM @s3_stage/events/
  FILE_FORMAT = (TYPE = 'JSON')
  ON_ERROR = 'CONTINUE';

Error Handling: tLogCatcher + Error Table

Don't just let jobs fail silently. Every parent job should have a tLogCatcher component connected to a tDBOutput that writes to a dedicated error table in Snowflake. Log the job name, component name, error message, error code, timestamp, and - critically - enough context to identify the source row.

SQL - Error logging table
CREATE TABLE ops.etl_error_log (
  error_id      NUMBER AUTOINCREMENT,
  job_name      VARCHAR(200),
  component     VARCHAR(200),
  error_code    VARCHAR(50),
  error_message VARCHAR(4000),
  source_row    VARCHAR(4000),
  logged_at     TIMESTAMP_NTZ DEFAULT CURRENT_TIMESTAMP()
);

For rejected rows during COPY INTO, query VALIDATE(table_name, job_id => '_last') right after the COPY and insert the rejected rows into your error table. This gives you a complete audit trail of what failed and why.

Parallel Execution with tParallelize

If you're loading 20 independent tables, don't load them sequentially. Talend's tParallelize component runs multiple subjobs concurrently. Group independent loads together and run them in parallel. Just make sure each parallel branch uses its own Snowflake connection - sharing a single connection across parallel threads causes locking issues.

We typically set parallelism to 4-6 concurrent loads. Higher than that and you risk saturating the warehouse. Its MAX_CONCURRENCY_LEVEL parameter defaults to 8, and statements above it queue on a single-cluster warehouse or start extra clusters on a multi-cluster warehouse in Auto-scale mode.

Incremental Loads

Full reloads are simple but wasteful. For incremental loads, you've got two options:

The timestamp-based approach is simpler and works across any source system. Snowflake's CHANGES clause is cleaner but only works when reading from Snowflake itself.

Job Scheduling: TAC vs External Schedulers

Talend Administration Center (TAC) handles basic scheduling: run job X at 6am daily. It works fine for simple schedules. TAC execution plans can chain Jobs with OnOk and OnError conditions, but if you need cross-tool orchestration (run a Talend job after a dbt run completes) or dynamic scheduling, you'll outgrow TAC quickly. In Qlik Talend Cloud, Talend Management Console handles scheduling. Airflow is the most common replacement we see. Define your Talend jobs as BashOperators in an Airflow DAG and let Airflow handle the dependency graph.

Gotchas You'll Hit

Conclusion

A production Talend-to-Snowflake pipeline isn't complicated, but it has a lot of moving parts that need to be configured correctly. Use the parent-child job pattern for maintainability. Stage files to S3 and COPY INTO for performance. Set the JDBC fetch size to 10,000+, and connect with a current driver and a key pair. Log errors to a dedicated table. And test your timezone handling before it bites you at 3am. Get these fundamentals right and the pipeline will run reliably for years.

Share this article:
Chandra Sekhar, Senior ETL Engineer

Chandra Sekhar is a Senior ETL Engineer at CelestInfo specializing in Talend, Azure Data Factory, and building high-performance data integration pipelines.

Related Articles

Burning Questions
About CelestInfo

Simple answers to make things clear.

Either works. A current Snowflake JDBC driver (4.x, at least 3.19.1) with tDBConnection gives you control over connection parameters, and tSnowflakeConnection supports key-pair sign-in directly through its Key Pair authentication type. Use key-pair authentication either way, because password sign-in is no longer available to Snowflake SERVICE users.

Stage files to S3 or Azure Blob Storage, then COPY INTO. This is 5-10x faster than row-by-row JDBC inserts. Use tSnowflakeOutputBulk + tSnowflakeBulkExec, or upload files to S3 with tS3Put and execute COPY INTO via tDBRow.

Use tLogCatcher connected to a tDBOutput that writes to a dedicated error table in Snowflake. Log job name, component, error message, and source row context. For COPY INTO rejections, query VALIDATE() after each load.

A small JDBC fetch size is a common cause, because a large extract then needs thousands of round trips between Talend and the source database. Increase it to 10,000+ in tDBConnection's Advanced Settings, and check the job's memory use after the change.

Load the JSON file directly into a single-column VARIANT table using COPY INTO with TYPE = 'JSON'. Or load JSON as a VARCHAR string into a staging table and parse it downstream with Snowflake's PARSE_JSON() function.

Still have questions?

Get Assistance

Ready? Let's Talk!

Get expert insights and answers tailored to your business requirements and transformation.

Get Assistance