LoslegenKostenlos loslegen

Setting variables with dbt Jinja 2

Now that you have the status order set variable up and running, you realized how convenient this is and decided to expand the usage out further.

Another use case for this is to parameterize the country in the same customers.sql mart. Because your e-commerce business is international, and due to changing business needs, you are constantly going back to the mart model to adjust which countries to re-run the mart model on.

This time, you have decided to use Jinja set expression to parameterize the country.

Diese Übung ist Teil des Kurses

Case Study: Building E-Commerce Data Models with dbt

Kurs anzeigen

Interaktive Übung

In dieser interaktiven Übung kannst du die Theorie in die Praxis umsetzen.

Übung starten