dbt-labs / dbt-labs/dbt-jsonschema

Unit Tests version doesn't seem to be mapped correctly.

Open
#222 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
169
Forks
61
Avg merge
1m
Merged PRs (30d)
1

Description

In the documentation from DBT it seems like the correct structure for specifying versions in Unit tests is

```yaml
unit_tests:
- name: my_model_unit_test
model: my_model
versions:
include:
- 2
```

But The https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/latest/dbt_yml_files-latest.json doesn't seem to be valid for the `versions` attribute.

It's always returning like it's not supported.

Same goes for `config` or `config -> meta` for macros
https://docs.getdbt.com/reference/resource-configs/meta

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.