We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbt-py
dbt
Note
This bug was identified by @alexmaras in #34.
The dbt-py command returns an exit code of 0 even if dbt hits some errors.
Change the content of tests/integration/jaffle-shop/models/example.sql to:
tests/integration/jaffle-shop/models/example.sql
-- depends_on: {{ ref("missing-model") }}
...and then run the compile command to see an exit code of 2 for dbt but an exit code of 0 for dbt-py:
2
0
dbt compile --project-dir tests/integration/jaffle-shop --profiles-dir tests/integration/jaffle-shop DBT_PY_PACKAGE_ROOT="tests.integration.jaffle-shop.dbt_py_test" DBT_PY_PACKAGE_NAME="custom_py" dbt-py compile --project-dir tests/integration/jaffle-shop --profiles-dir tests/integration/jaffle-shop
The text was updated successfully, but these errors were encountered:
c234c26
No branches or pull requests
Note
This bug was identified by @alexmaras in #34.
Summary (bug)
The
dbt-py
command returns an exit code of 0 even ifdbt
hits some errors.Minimal example
Change the content of
tests/integration/jaffle-shop/models/example.sql
to:-- depends_on: {{ ref("missing-model") }}
...and then run the compile command to see an exit code of
2
fordbt
but an exit code of0
fordbt-py
:The text was updated successfully, but these errors were encountered: