Jinja, Macros, and Packages
摘要
Throughout this book so far, we have covered topics such as models and snapshots, which primarily make use of mostly straightforward SQL transformations. However, have you ever found yourself writing repetitive SQL code that you wish you could easily use throughout your transformations without needing to rewrite the same code every time? This is where Jinja in conjunction with dbt comes in and adds extensible programmatic capability to your SQL code.