Implementing a reusable test
After learning about reusable tests, you realize that you'd love to build an in-house set of common tests for you and your team to use as you see fit. You notice that your datasets have several scenarios where you want to verify the columns contain values greater than 0. You decide to start your library by writing a reusable test for this purpose.
Note: Your data has not been materialized yet and, remember, we need to return rows that fail the test condition.
Cet exercice fait partie du cours
Intermediate dbt
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
 Commencer l’exercice
Commencer l’exercice