MulaiMulai sekarang secara gratis

Using Jinja for loops on repeated SQL 2

You've had such success with pivoting out order status using Jinja loop expressions, that you are on a mission to apply loops to more use cases.

Upon another scan of the customers.sql mart model, you noticed there is repetition in the browser types as well as the traffic source logic. After creating intermediate models out of these two CTEs, you are now ready to apply Jinja loops to these two pivots as well.

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