Closed jeancochrane closed 6 months ago
This should be ready for another look @dfsnow! Let me know if I missed any of your comments from last round.
Agreed @dfsnow! I opened https://github.com/ccao-data/data-architecture/issues/288 to encompass those edits since this PR is already so huge. I'll merge this one in and then get started on #288 shortly.
This PR updates all dbt tests that are currently failing to add the following metadata that is used to populate the workbook in
.github/scripts/format_dbt_test_failures.py
:meta.description
: A rich description for the test; defaults to the empty stringmeta.category
: The category (i.e. workbook sheet name) for the test; defaults to the name of the test genericmeta.table_name
: The name of the table that the test is concerned with; defaults to the name of the table the test is defined onselect_columns
: Additional columns to select when storing test failurestaxyr
,parid
,who
,wen
, and optionallycard
in the selected columnsTest these changes by running tests and generating a workbook -- run these commands in the
dbt
subdirectory:The workbook will be output to your working directory.