dbt-labs / dbt-labs/dbt-jsonschema

dbt schema is not compatible with dbt docs

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

Description

When I run `dbt docs generate` with a source that has for example:

```
tables:
- name: account_in_chart_of_accounts
description: "{{ doc('atlas_account_in_chart_of_accounts_table') }}"
columns:
- name: chart_of_accounts
data_type: string
description: "{{ doc('sap_atlas_chart_of_accounts') }}"
```

The Generated docs do not show the type.

Image

When I change the **data_type** to **type: string** then it works but the schema validation on vscode fails.

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.