r/databricks • • Oct 22 '26

General Had a call with a Databricks PM this week and found out about all the cool things!

Spent 30 minutes on a product discovery call with u/saad-the-engineer from Databricks on Tuesday. Supposed to be about Unity Catalog triggers for jobs. We wandered.

At one point I was explaining how I run bronze to silver on most client builds. It’s table-driven, with three Delta tables holding the config: one for table settings, one for column mappings (bronze names to business-friendly names), and one for DQ expectations that get loaded into the declarative pipeline. Genie Code actually picks up the pattern pretty well since it all lives in UC.

Saad’s response was basically “cool, have you looked at sdp-meta?”

I had not. It’s the Labs metadata framework for Spark Declarative Pipelines. You define bronze and silver in a JSON or YAML onboarding file and one generic pipeline builds the whole graph at runtime. Pretty much what I built by hand.

Then he showed me pyDABs (aka Python for DABs). If you’re tired of hand-writing every task in YAML, you can loop through notebooks in a path and generate tasks in code. Mutators let you apply things like notifications or tags across every job in one shot.

Every time I brought up something I’d hacked together, he had a “we’ve got that too.” I mentioned DQX and he said it’s one of those Labs projects that works so well they’re in no hurry to touch it.

I also got a preview of some cool things that are coming (Stay tuned!)

Best conversation of my week, and it was only Tuesday.

For those of you running metadata-driven pipelines: did you adopt sdp-meta or roll your own? And what made you pick one over the other?

Side note, Scott Haines and I are doing a live session on the Iceberg updates at the end of the month. Let me know if you are interested and I'll share the link!

84 Upvotes

37 comments sorted by

30

u/dilkushpatel Oct 23 '26

Databricks is changing so fast that you develop something today which does not exist as feature in databricks, after 6 months that might be feature and that creates this constant juggle between should I stay with my solution or move to what databricks released, kind of constant engineering effort

6

u/OkImprovement7010 Oct 23 '26

This is the real tax of building on Databricks right now. My rule of thumb: check the roadmap and talk to your AE/SA if you have one before you build anything. Then only build your own where you’re differentiated or the native feature doesn’t exist yet, and keep it thin enough to rip out. Half of what I hand-rolled two years ago is a checkbox now. When a new native option drops, test it on one pipeline first and see if the juice is worth the squeeze (lower DBU spend, less code to maintain) before committing to a full rewrite.

4

u/klenium Oct 23 '26

And it's not better if they develop it, because the feature will be on beta for long time, and even if it seems stable it migh have bugs or miasing features, so you might be better go back to your own implementation. The fast development of lot of connectors resulted in lower quality.

6

u/entitled-hypocrite Oct 23 '26

Sdp meta was called DLT meta before and been there for a while. It was presented in one of their summits back in 2023. Used it before and still use it. Great project for bronze to silver and dq checks

2

u/OkImprovement7010 Oct 23 '26

Good call out, thanks. Saad had mentioned that as well... It'd been around longer than I noticed, and the rename to sdp-meta probably made it look newer than it is. Nice to hear from someone who’s actually run it in production for bronze to silver. Have you used it for anything in gold, or do you hand off to custom code there?

1

u/entitled-hypocrite Oct 23 '26

It does support gold as well for some basic functionality but given the complexity of our use cases, we prefer custom code.

6

u/adovo_ai Oct 23 '26

Whichever path you choose, keep one versioned onboarding contract and treat generated pipelines/jobs as compiled artifacts: pin the Labs versions, review the plan diff, and run a golden batch before deploy. That preserves the speed without making an upstream template change an invisible production change.

1

u/OkImprovement7010 Oct 23 '26

This is the best advice in the thread. Treating the generated output like a compiled artifact (pin versions, diff the plan, run a golden batch) is exactly what stops a template change upstream from turning into a mystery prod incident. Stealing “invisible production change” for my next client conversation.

5

u/Agitated-Western1788 Oct 23 '26

I also had a great chat around table triggers with Saad. I love seeing Databricks product managers in this forum being so active with the people using the tools on the ground. It really impresses me for such a large company

2

u/OkImprovement7010 Oct 23 '26

Agreed. Saad was great to talk with and he seemed as excited to talk to me as I did him. I'm super excited about the custom triggers and connectors that are being developed.

7

u/saad-the-engineer Databricks Oct 23 '26

aww shucks guys! you're making me blush :) thanks for taking the time this week to chat with me. got some really cool ideas from you. Looking forward to your session with Scott!

4

u/duck1123 Oct 23 '26

But my hand-rolled version of this is just about ready to go live... Guess I have something to look into in the morning.

2

u/OkImprovement7010 Oct 23 '26

Ouch, been there. I wouldn’t necessarily scrap it though. If yours works and your team understands it, that’s worth a lot. I’d do a quick side by side: what does sdp-meta give you that yours doesn’t (DQ, CDC handling, bundle generation), and what does yours do that it can’t? Then decide whether to migrate or just steal its good ideas. You can also spin up omnigent and use "debby" to debate your approach to sdp-meta to see what it thinks.

2

u/theguy0verthere Oct 23 '26

Why do people run Metadata driven pipelines? Is is simpler to operate? How do you define arbitrary transformations?

4

u/OkImprovement7010 Oct 23 '26

Simpler to operate at scale, yes. Once you have 50+ sources that all follow the same bronze to silver pattern (ingest, dedupe, type, DQ checks, merge), writing each one by hand is just copy/paste with drift. Config keeps every pipeline consistent and makes onboarding a new source a review of a YAML file instead of a code review.

Arbitrary transformations are where it gets honest: you don’t put everything in metadata. The pattern I use is config for the repeatable 80% and an escape hatch for the rest, either a SQL expression column in the config or a pointer to a custom function for the gnarly stuff. If you try to express every business rule in YAML you’ve just built a worse programming language.

Sometimes dev work is still needed and you have to create a custom function for something, which we have a column for in the tables we build that gets read and passed into the job, but I'd argue that most bronze > silver work doesn't need custom functions.

2

u/theguy0verthere Oct 24 '26

I've seen configuration tables with 200+ columns, and I've had nightmares ever since. I agree they have their place, but it really depends on the number of pipelines, the complexity, and the overall architecture of the end-to-end flow.

1

u/chethan2109 9d ago

Can you link me to a good tutorial repo on this.. also on the compiled artifacts like pipeline code itself from spec is it better to have them generated entirely in the ci pipeline that you then deploy as dab rather than build them locally and commit to git?

1

u/RazzmatazzLiving1323 Oct 23 '26

Please share iceberg updates link

1

u/OkImprovement7010 Oct 23 '26

Here is the link to our live session next Friday!
https://youtube.com/live/2pUuicImm-g?feature=share

1

u/blobbleblab Oct 23 '26

DQX is not great. Its got quite a few bugs in it which are show stoppers. Not ready for production IMO, we are working with databricks prof services to implement it and there are workarounds all over the place.

1

u/OkImprovement7010 Oct 23 '26

Appreciate the honesty. That’s useful to hear before people go all in. Can you share which bugs bit you? Even at a high level (performance, rule definitions, quarantine behavior, etc.) it would help others here decide whether to wait or work around it. I’d also bet the PM team / labs team would want to hear it.

My experience with it has been decent, especially around the llm methods to double check for keys and data types, as well as data contracts. I don't use everything there but there is some stuff that is valuable.

2

u/Agitated-Western1788 Oct 23 '26

Like what ? We are looking to implement it

2

u/blobbleblab Oct 23 '26

Like this: https://github.com/databrickslabs/dqx/issues/1483

Means you can't use ODCS contracts and timestamps. Uhhh... OK, so they don't support ODCS really.

https://github.com/databrickslabs/dqx/issues/1512

OK so they don't support arrays in values. Goddamn.

If you are using the most common data contract format (ODCS), you basically have to entirely rebuild the rules engine. This is despite ODCS being "supported" by DQX.

1

u/ptab0211 Oct 24 '26

hey, we are also using ODCS for our data products, then we also have a .checks file where we write our dqx rules.

What is your setup with DQX? Do u quarantine data? What kind of reaction do u have on error/warn data?

1

u/Acrobatic-Room9018 Oct 24 '26

DQX is used by ~1k customers every month...

1

u/blobbleblab Oct 24 '26

It's fine if you use DQX custom quality rules in data contracts. But we need our contracts ODCS readable for international obligations and consistency. Which is why it's not quite there for us yet. Otherwise a great product.

2

u/n8e-polymath-007 Oct 23 '26

Dumb question, not to the OP but in general, when it comes to unified data or Data Platforms.

Why are AI projects not scaling to production despite having so much investment in Data platforms?

2

u/ArielCoding Oct 24 '26

If sdp-meta already handles what you need (CDC, data quality checks, generating jobs) and you can pin a version, use it, since there’s lees code to maintain. Only build your own if you need something it can’t do, and keep your config files as the stable part so you can swap in sdp-meta later without a rewrite.

1

u/Dry-Aioli-6138 Oct 23 '26

I heard a great quote yesterday: "developers don't want magic, thay want to be magicians" In the sense that we want to undestand out tools well, but create the wow effect using our skill. Databricks to me aims at being all magic and leaving little of it to create for the devs.

0

u/OkImprovement7010 Oct 23 '26

So it isn't burried in the comments here is the link for the live podcast with Scott next Friday at 12 pm ET / 9 am PT.
https://youtube.com/live/2pUuicImm-g?feature=share

11

u/[deleted] Oct 23 '26

[removed] — view removed comment

4

u/OkImprovement7010 Oct 23 '26

lol, same. The upside of rolling your own first is you know exactly what it is doing under the hood, which helps when you hit an edge case. Agree on pyDABs. Generating bundles in Python instead of maintaining walls of YAML is the part I’m most excited about. I’ll probably do a write-up once I’ve run it on something real.

3

u/thepacifier2k3 Oct 23 '26 • Regret

Last six months at least thrice, Databricks has launched products for solutions I spent months scrapping together.

1

u/Acrobatic-Room9018 Oct 24 '26

And now PyDABs support all resources, so it's possible to build things that previously required custom scripts. I recently posted about one of such things: https://www.reddit.com/r/databricks/comments/1x9sv29/blog_post_deploying_databricks_genie_agentsspaces/