Source: Trang Le from Pixabay

Jinja + SQL = ❤️

Macros for maintainable, testable data analytics

Naim Kabir
Towards Data Science
9 min readAug 15, 2021

--

SQL is an analyst’s bread and butter. It’s powerful, expressive, and flexible — but the more power a language gives you, the more ways you have of shooting yourself in the foot.

Better abstractions can help us with this. If we can abstract away bits of code that we use all the time, then we only have to write and check that code…

--

--

Engineer. Focused on experimentation, causal inference, and good software design. naimkabir.com