...

/

Quiz: Advanced dbt Concepts

Quiz: Advanced dbt Concepts

Test your knowledge of advanced dbt concepts.

We'll cover the following...
Technical Quiz
1.

What’s the correct way to use a generic test?

A.

In a property file:

version: 2

models:
  - name: good_orders
    columns:
      - name: order_id
        tests:
          - unique
B.

In a test file:

{% test unique() % }
SELECT COUNT(DISTINCT id)
FROM {{ model }}
{% endtest %}
C.

In a config block in a model:

{{ config(
 test="unique"
)
}}
D.

Directy in the terminal:

dbt test -s good_orders --column unique_id --test_name unique

1 / 7