Skip to content
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

Make node_info.materialized optional #4417

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

jtcohen6
Copy link
Contributor

@jtcohen6 jtcohen6 commented Dec 3, 2021

We compiled node_info for sources, but sources don't have a materialized config. This causes dbt to hang if you run:

dbt --log-format json source freshness

Because we run into an AttributeError deep within an execution thread, and it isn't properly raised. (The larger issue: #4357)

It no longer hangs with this change. This also fixes the hanging for:

DBT_LOG_FORMAT=json python3 -m pytest -m profile_postgres test/integration/042_sources_test/

@jtcohen6 jtcohen6 merged commit affd861 into main Dec 3, 2021
@jtcohen6 jtcohen6 deleted the fix/base-types-materialized-optional branch December 3, 2021 13:36
leahwicz pushed a commit that referenced this pull request Dec 3, 2021
leahwicz added a commit that referenced this pull request Dec 3, 2021
Co-authored-by: Jeremy Cohen <jeremy@dbtlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants