MulaiMulai sekarang secara gratis

Setting variables with dbt Jinja

You're finally ready to use Jinja to simplify your dbt SQL development. You noticed in your dbt development cycle that you have to constantly replace the order status filter value in the customers.sql mart model to test out various order statuses. To make this easier for yourself, you plan to create a Jinja variable at the top of the customers.sql mart model so that whenever you have to update the value again, you only have to modify the top of the file.

Latihan ini adalah bagian dari kursus

Case Study: Building E-Commerce Data Models with dbt

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga