Comments (5)
It works :)
Check column descriptions are same.......................................Passed
from dbt-checkpoint.
Do you think it would be possible to share your schema file? It seems that you have an invalid specification of models. Something like (without -
at the beginning):
version: 2
models:
name: <model name>
description: <markdown_string>
....
or your schema file may be malformed e.g.:
version: 2
models:
- name: <model name>
description: <markdown_string>
....
In schema file
models node should contain a list of models according to documentation - https://docs.getdbt.com/reference/model-properties.
But maybe it can be a good idea to check if model node is instance of Dict to prevent this.
from dbt-checkpoint.
It's a big project and there are many schema files. As far as I know they should be correctly formed since the tests/docs are working properly.
I'll try to find which file causes the error and I'll report back with its content.
from dbt-checkpoint.
I will also try to prevent this error in the next release. Thanks Martin!
from dbt-checkpoint.
@MartinGuindon can you try to rerun this with pre-commit autoupdate --bleeding-edge
?
from dbt-checkpoint.
Related Issues (20)
- precommit fails on different model versions HOT 4
- dbt compile hook: add 'project-dir' parameter HOT 1
- check-script-has-no-table-name fails with TRIM function
- Only run dbt-* hooks if files in dbt-project-dir have changed HOT 1
- check-model-has-all-columns doesn't work with ephemeral models HOT 6
- Adding more than one test to the args
- dbt-build pre-hook HOT 2
- check-model-parents-and-childs does not consider seeds as parents
- create `check-model-has-contract` & `check-model-has-constraints`
- dbt-debug pre-hook HOT 1
- check-model-has-tests-by-group registering zero tests even though it has them HOT 2
- [Help] dbt-test & dbt-docs-generate are failing when commiting via Vscode but pass during manual pre-commit run HOT 6
- Windows/VSCode: pre-commit run is successful but fails when commiting through Vscode HOT 1
- Add --exclude or --ignore in `check-script-has-no-column-name`
- All files are included when a non-DBT yaml file is edited HOT 4
- temporarily disabled on pre-commit.com/hooks -- hook name too long
- Select models based on tag
- Check for `dbt parse` command. HOT 1
- `check-model-has-properties-file` fails on macros with property files
- run, compile, test should use same dbt profile.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbt-checkpoint.