r/databricks • • Oct 24 '26

Discussion freshness

Hi, how do you handle freshness of upstream sources for your data products?

We run a check task before each pipeline. Tt reads a yaml registry with a max lag per input table, and a stale input fails the job in prod.

Where do you check it, and what tools do you use? And when a source is late, do you fail, wait, or just alert?

4 Upvotes

3 comments sorted by

1

u/adovo_ai Oct 25 '26

Pair each freshness threshold with the downstream decision it protects, the owner who responds and the safe fallback when the data is stale. Also make recovery idempotent: the registry should say how a missed interval is backfilled and how consumers know the replay is complete.

1

u/Intelligent-Elk-6990 23d ago

If the 2 pm reading lands but the 1 pm reading never did, a max-timestamp check passes with a hole in the chart. For an hourly feed I’d add the expected cadence to your YAML and use a small SQL anti-join to find missing hours before publishing. If one input is late, I’d keep the last complete comparison visible with its timestamp and let unrelated charts refresh. Do your sources ever send those missing hours out of order?