QuestionQ20VerifiedCopy linkReport a problemAsk AstroTutorSave questionWhich two statements about dbt tests are true? Choose 2 options.Choose twoATests for unique and not_null are automatically applied on the primary key of the table.BThe full list of tests that can be applied natively can be found on dbt’s package hub.CTests can be built as .sql files within the /tests/folder.Ddbt ships natively with unique, not_null, relationships, and accepted_values tests.EYou can apply dbt’s native tests using the constraints configuration in the model’s YAML.Show AnswerAnswerExplanationSingular data tests can be written as .sql files in the tests directory. dbt also includes four generic data tests: unique, not_null, relationships, and accepted_values. (docs.getdbt.com)Learn moreAdd data tests to your DAGShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion