-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
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
[Bug] "dbt run --log-format json" throws exception "Encountered an error:Object of type CompilationException is not JSON serializable" #5357
Comments
Downgrading to 1.0.0 fixes the issue. |
@zsvoboda Thanks for opening! It sounds like this is cropping up here in
I believe this falls under a broader category of JSON serialization issues that we've been seeing with the
This is a good hint—it sounds like the issue may have resurfaced during the change to our JSON serialization logic for events in v1.1 (possibly #4505). We'll take a look at resolving that issue, once and for all. |
Hi, do you have any updates on this? I tried 1.2.0, and the issue persisted. |
FYI, the PR is being finalized : #5874 |
Closing for cleanup post merge of #5874 . |
Is there an existing issue for this?
Current Behavior
throws:
Expected Behavior
Run the model as if I don't specify the
--log-format json
flagSteps To Reproduce
pip install dbt-core "dbt-spark[PyHive]" dbt-trino dbt-postgres
dbt --log-format json run
Relevant log output
Environment
What database are you using dbt with?
No response
Additional Context
Spark[PyHive]
The text was updated successfully, but these errors were encountered: