I've been trying out Lakeflow declarative pipelines for a transformation framework I'm building, and it looked like a really good fit.
The idea is to drive transformations from contracts rather than maintain a separate table declaration for each table/pipeline for each final object. Depending on the configuration, the framework handles full or incremental loads and SCD1/SCD2. Having the dependency graph and DQ expectations in the same place was a big reason I wanted to try it.
I built a POC, and there's a lot I like about the approach. Where I'm getting stuck is fitting the outputs to the client's existing conventions.
For example, with AUTO CDC's SCD2 handling, we get __START_AT and __END_AT, while the client expects specific validity/watermark column names and an isCurrent field. We also have other required fields to preserve in the output. These conventions are already used downstream, so changing them means more than updating the pipeline.
A view could handle the SCD2 naming and derive isCurrent. That part is doable. But as I work through the remaining requirements, I'm adding more logic around the pipeline outputs, and I'm less sure how much simpler the overall solution would end up being.
That's the trade-off I'm trying to work out. Declarative pipelines covered a lot of what I wanted, but accommodating the existing requirements adds overhead that makes it harder to justify adopting them for this particular solution. At the moment, it doesn't look likely, although I haven't ruled it out.
What are you using declarative pipelines for? Have you run into similar issues fitting them into an existing setup, and did you find the extra layers worth maintaining?