The Metastasize of Templating in Declarative Language
fromanengineersight.substack.com·8h·
Discuss: Substack
Flag this post

We added Jinja to our dbt project to avoid copy-pasting SQL. Then we needed loops. Then conditionals. Then macros that call other macros. Now we’re debugging template rendering errors at 2am, and somewhere along the way, our “configuration” became a full programming language - just one without a debugger, type system, or any of the tooling we’d expect from actual code.

That’s basically the state of data engineering nowadays. Actually, the state of any ops-oriented engineering work.

When we move further in the configuration complexity clock, we often find ourselves templating configuration files. We start with clean YAML or SQL, then gradually pollute it with Jinja or any similar templating language. T…

Similar Posts

Loading similar posts...