better dbt error messages
See original GitHub issueDescribe the bug
dbt threw an error, after our latest merge into the repository. We later realized that, it was because of missing quotes in cluster by config array. But, to identify this error, we had to remove models in trial and error to isolate the error. We would like more descriptive error message for easier isolation and fix.
Running with dbt=0.16.1
Encountered an error:
cannot pickle '_thread.RLock' object
Steps To Reproduce
- Using version 0.16.1
- In the model config give the cluster by config as below
{{
config( cluster_by = [column1, column2, column3] ) }} - Run any model and you will get below dbt error.
Expected behavior
We wanted to error message to clearly say, where the issue was.
Screenshots and log output
Running with dbt=0.16.1
Encountered an error:
cannot pickle '_thread.RLock' object
System information
Which database are you using dbt with?
- Snowflake
The output of dbt --version
:
0.16.1
**The operating system you’re using: ** windows
The output of python --version
: 3.8.2
Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Debugging errors - dbt Developer Hub
Read the error message — when writing the code behind dbt, we try our best to make error messages as useful as we...
Read more >better dbt error messages · Issue #2538 - GitHub
dbt threw an error, after our latest merge into the repository. We later realized that, it was because of missing quotes in cluster...
Read more >DBT RUN - Getting Database Error using VS Code BUT Not ...
I'm using DBT connected to Snowflake. I use DBT Cloud, but we are moving to using VS Code for our DBT project work....
Read more >Source code for dagster_dbt.errors - Dagster Docs
class DagsterDbtCloudJobInvariantViolationError(DagsterDbtError, DagsterInvariantViolationError): """Represents an error when a dbt Cloud job is not supported ...
Read more >DBT-00001 to DBT-50003 - Oracle Help Center
26 DBT-00001 to DBT-50003. DBT-00001: Error encountered in initialization of configuration tool. ... Action: Refer to the log file for more information.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jtcohen6 : yes it was a mistakes by one of our developers. But the error message was not descriptive enough and that’s why this issue is raised for.
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days.