MulaiMulai sekarang secara gratis

Defining tests on a model

After learning about tests within dbt, your manager has asked you to implement some quality tests on the data used by the marketing department. It seems some entries are appearing without values, while others have a value, but do not match up with what's expected in the data.

Specifically, the issues with the columns are as follows:

  • payment_type
    • Should not be null.
    • Column values need to be between 1 and 6.

Latihan ini adalah bagian dari kursus

Intermediate dbt

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga