r/ETL • u/Quirky_Comb_4426 • 23h ago
I got tired of waiting 8 minutes for a cluster just to find a typo in my Spark SQL, so I built a checker
r/ETL • u/Quirky_Comb_4426 • 23h ago
r/ETL • u/Bhanuprakash_1947 • 3d ago
In large-scale data pipelines, comparing every source and target record can be expensive and time-consuming.
I'm curious how teams handle this in real-world projects.
Do you rely on checksums or hash comparisons?
Sampling techniques?!
Aggregated validations and SQL queries?
Any automated ETL testing frameworks?
What approach has worked best for you when dealing with millions (or billions) of records?
Would love to hear practical experiences rather than just theoretical approaches....
r/ETL • u/SudhansuDash • 3d ago
I’ve been experimenting with Claude Code on unfamiliar ETL pipelines, and one risk keeps standing out.
An AI agent can generate a technically correct transformation while unknowingly creating a second implementation of an existing business rule.
The workflow I’m testing is:
The key lesson for me is that passing tests is not enough. Tests may confirm that the new logic works without revealing that the same rule already exists elsewhere.
I wrote a detailed article about this workflow here:
https://medium.com/@sudhansu.dash/before-i-let-claude-code-touch-my-etl-pipeline-487c7bc68e32
For engineers using AI coding tools, how are you checking for duplicated business logic before accepting generated changes?
r/ETL • u/Better-Character2964 • 3d ago
Hi everyone,
I’m looking for suggestions on automating the ingestion of CSV files received as email attachments in Outlook into Databricks.
Has anyone implemented a solution where CSV attachments from Outlook emails are automatically picked up and ingested into Databricks through a pipeline?
I’m curious about the approaches you’ve used in production, whether through Microsoft Graph API, Power Automate, Logic Apps, or any other solution. I’d also appreciate insights on the best practices around authentication, handling multiple attachments, and orchestration.
r/ETL • u/ClickOk5811 • 3d ago
A job fails halfway and gets retried, or someone backfills a day. Whether that's safe depends on how the load writes. I ran a small test (SQLite 3.53.1, so only an illustration) with the same scenario for three strategies.
Source data for 2026-11-01: three rows with amounts 10, 20, 30 (sum 60). Later the source is corrected: id 2 becomes 25, and id 3 is removed.
A. Plain append, run twice:
(6, 120) -- rows, sumEvery retry duplicates the data. Anything downstream that sums or counts is now wrong.
B. Upsert by primary key (INSERT ... ON CONFLICT(id) DO UPDATE):
run twice: (3, 60)
after source fix (id3 gone): (3, 65)Safe to re-run, and id 2 is updated. But id 3 is still there, since an upsert never deletes. The total is now 65 when the source says 35.
C. Partition overwrite (delete the day's rows, then insert, in one transaction):
run twice: (3, 60)
after source fix: (2, 35)Re-runs are safe, and the result matches the corrected source, including the deletion.
def load(rows, day):
with db: # one transaction
db.execute("delete from t where day=?", (day,))
db.executemany("insert into t values(?,?,?)", rows)What this does not show, and where I'd be careful:
My takeaway: decide how a re-run behaves before the first failure, and test it by running the job twice on purpose.
How do you handle deletes at the source in an upsert-based pipeline? And do you have a standard test, like "run twice and compare counts"?
r/ETL • u/WiseWeird6306 • 3d ago
r/ETL • u/Jaded-Tangelo235 • 5d ago
Estuary is always compared with Fivetran what do you think makes for a fair evaluation. Besides connector coverage and latency, how do you compare the billing models, backfills, schema changes, and sending one source to multiple destinations? What tends to change the decision for a real workload?
r/ETL • u/Big-Guarantee-3742 • 5d ago
Disclosure: I’m a backend engineer validating a small product for ingesting scheduled CSV/XLSX exports from SFTP/S3/storage into HubSpot (companies, contacts, deals, custom objects, associations).
Mid-market ERP/ops teams often rely on scheduled flat files rather than real-time APIs, and the failure modes are classic: encoding mismatches, renamed columns, type/enum rejections downstream, partial loads, and silent schedule misses.
Rather than starting with a massive generic ETL UI, I’m looking at a small V1 wedge first and building toward scheduled SFTP pulls, pre-import validation, and schema/mapping breakage alerts.
From an ingestion/reliability standpoint, if you’ve dealt with scheduled flat files feeding a CRM like HubSpot, what failure mode caused the worst late-night surprises?
r/ETL • u/TowardsDataExp • 6d ago
r/ETL • u/camily45 • 7d ago
I'm thinking about using Apache Hop for my company's ETL infrastructure. What downsides should I be concerned about in the short and long term?
We want open source and self hosted tools
r/ETL • u/InflexTrace • 7d ago
r/ETL • u/Such_Tax3542 • 8d ago
Recently we have published and launched support for full interoperability for Iceberg. With our special LSM index architecture feature (Read more about engineering blog : https://olake.io/blog/iceberg-interoperability-row-index/). The way it works, you can select query engine OLake Go will automatically decide which query engine support what delete format and write it accordingly.
What is OLake Go - Open-source (Apache 2) replication from databases, Kafka and S3 to Apache Iceberg and Parquet. Sources: Postgres, MySQL, MongoDB, Oracle, MSSQL, DB2, Kafka, S3.
The way Iceberg update happens is via delete files (mark the older row as delete and create new copy of the row as insert)
The tools like Debezium+Kafka+Iceberg sink is still append only or just support equality deletes. Even Flink doesn't support writing into Databricks or Snowflake managed Iceberg tables (Because it uses branching + equality).
Why you should care : A lot of data analytics and engineering today is happening with AI. AI fires 10-30x more queries than human (Recently published https://arxiv.org/abs/2509.00997). Iceberg gives you capabilities to use DuckDB kind of lightweight query engines with LLMs and on the same table you can also query using Snowflake or Databricks of the world.
r/ETL • u/Spiritual-Flower1506 • 8d ago
r/ETL • u/warleyco96 • 8d ago
r/ETL • u/EnvironmentalNet2533 • 9d ago
I have one big table containing orderID, order_attributes, consignmentID, consignment_attributes, manifestID,submanifestID, trip_ID, taskID,facilityID, customer ID and associated attributes.
Composite key for this is all keys taken together.
Each constituting table has CDF enabled. Also a key could be deleted when in consignment cons 1 is updated and mapped to manifest ID 2 from 1. Then the key in big table will get deleted. Similarly manifest status change needs to be updated for all IDs it is part of.
The table has gotten too large and we need to implement incremental storage. But it is leading to long table scans. What steps would you recommend?
r/ETL • u/deyogishivamagarwal • 10d ago
Spreadsheet? SELECT? Custom dashboards? How long does it take each month?
r/ETL • u/Klutzy_Following_845 • 12d ago
Hi. What are people using for CDC in to a warehouse when they need changes to show up fast? Im comparing managed tools with a Debezium setup and trying to understand where the operational tradeoffs land.
r/ETL • u/Terrible_Mud5318 • 12d ago
We’re evaluating Databricks Apps for an internal MDM/transactional workflow serving thousands of users. We’ve done small POCs and love the native auth and Unity Catalog integration, but we want real-world production feedback before committing.
If you're running this in prod for large user bases:
Concurrency & Scaling: How does it handle hundreds of simultaneous users and concurrent writes? Any memory or session bottlenecks?
Backend Storage: Are you pairing it with Lakebase (Postgres) or an external OLTP DB for low-latency row-level writes, or hitting Delta directly?
Framework & Cost: Did you stick with Streamlit/Dash or move to FastAPI + React for state management, and how are always-on compute costs looking?
Looking for honest lessons learned or gotchas before we scale up!
r/ETL • u/Remarkable_Rock5474 • 12d ago
Multiple Job Triggers is one of those features that on the surface seem really small - but it makes a great difference in your orchestration setup.
Check it out!
Documentation can be found here
https://docs.databricks.com/aws/en/jobs/triggers#add-multiple-triggers-to-a-job
r/ETL • u/boganmax666 • 12d ago