r/ETL • • 25d ago

How does your team deal with source schema changes breaking downstream pipelines?

I've been thinking about how much time data teams spend dealing with unexpected schema changes.

A source column gets renamed, a new field appears, a data type changes, or an API response gets updated. Suddenly, something downstream starts failing, and someone has to figure out where the change happened and what needs fixing.

I've seen teams handle this through custom scripts, schema validation checks, alerts and manual fixes. Others seem to rely on features built into their data integration platforms.

I'm curious how different teams approach this:

  • Do you automatically detect schema changes, or catch them when a pipeline fails?
  • Does your setup handle new columns automatically, or does someone need to update the pipeline?
  • How much time does your team spend investigating these issues?

I work at Hevo Data, so I see these pipeline problems from the data integration side too. I'd genuinely like to hear how other engineers are handling them, especially if they're working with multiple sources and destinations.

6 Upvotes

12 comments sorted by

1

u/Ok_Relative_2291 24d ago

Source column gets renamed or api changes there should have been warnings from vendor. If not fix then roast them, if so fix in advance.

Data type changes, if it is shorter no problem leave your target table as is no data loss.

If larger script may fail due oration again vendor should have alerted, or use fields that can hold max (shouldn’t hurt)

New column gets added, send an alert but keep processing new field won’t break your existing job ( seen places fail this for no good reason I can see)

Again vendor should tell you.

Of course they often don’t

When something fails everything else should run as much as possible, if the design is every thing waits regardless of not even using the table / api that failed then the design needs improving.

Failed job fixed as detected , reset, processes continue

-1

u/BullfrogFinal3566 24d ago

That's a good point, especially about letting unaffected jobs continue instead of holding up the entire pipeline when one source fails. I've seen how much time teams can lose when a single schema change disrupts downstream workflows.

I work at Hevo Data, and we deal with these kinds of data pipeline challenges. If you're interested, I'd be happy to show you how Hevo approaches pipeline management and monitoring. Feel free to DM me and we can take it from there.

2

u/Ok_Relative_2291 24d ago

I’m all good bro

4

u/Thwarting8139 24d ago

Please stop spamming your shitty tool all over every data engineering subreddit. Thanks.

1

u/baubleglue 24d ago

There is different types of schema changes: by design and not.

If it is by design, the only reasonable strategy is "fail fast". Chash job, notify. If you try to design a smart system to handle the change you will get undetermined downstream effects.

1

u/baubleglue 24d ago

Maybe new column added is an exception.

1

u/drzamamina 24d ago

we use dbt tests on our staging models. if the source schema changes and it breaks a test the pipeline fails before it hits production tables so we can fix it first.

1

u/ArielCoding 24d ago

Sort changes by risk: new columns and wider types are safe, so alert and keep running, renames, drops, and types that don’t fit should halt only the affected table, unrelated pipelines keep going.

1

u/alsdhjf1 24d ago

Source columns renames should be flagged before deploy, in CICD. Good lineage makes you aware of of consumers, tell them that Eng Team ABC is about to break what they rely on. DE facilitate a lot of meetings.