Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 448 Bytes

File metadata and controls

21 lines (14 loc) · 448 Bytes

dbtwiz model validate

Validates the yml and sql files for a model.

Required arguments

  • model_path: Path to model (sql or yml) to be validated.

Examples

Example output when all is ok:

Validating yml exists: yml file ok
Validating yml definition: yml file name ok
Validating yml columns: yml ok
Validating sql references: references ok
Validating sql with sqlfmt: validation ok
Validating sql with sqlfluff: validation ok