-
Notifications
You must be signed in to change notification settings - Fork 166
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
[ADAP-1055] [Regression] schema
is no longer available in unrendered_config
when doing a run with partial parsing
#1038
Comments
schema
is no longer available in unrendered_config
when doing a run with partial parsingschema
is no longer available in unrendered_config
when doing a run with partial parsing
what's the process for getting something like this looked at? |
dbt-core==1.7.3 seems to have resolved this issue |
per @Spince , this problem persists cc: @dbeatty10 |
I am working on new steps to reproduce. The same error occurs but not with the same steps. |
@Spince were you able to come up with new steps to reproduce? |
@dbeatty10 I have not been able to reliably reproduce since dbt-core 1.7.3. we can probably close this until i have clear steps to reproduce! |
Is this a regression in a recent version of dbt-bigquery?
Current Behavior
for a model that has it's schema defined via dbt_project.yml:
schema
inunrendered_config
it is thereschema
inunrendered_config
it is not therebecause of the above behavior it causes a failure. we have our own version of the generate_alias_name macro to write all objects to a single schema when running outside of production with the production schema prepended to the object name. inside we force an error if a schema isn't defined by using an invalid character in the placeholder schema name.
if we define the schema in a model config then it also works but that's obviously less than ideal and not a real fix
we're using bigquery and are on dbt cloud but this error only occurs when running things locally because you wouldn't do the same steps anywhere else.
what leads me to believe it is a regression with partial parsing is the fact that after running the steps to reproduce and then a
dbt clean
the model works again.Expected/Previous Behavior
schema
inunrendered_config
it is thereschema
inunrendered_config
it is still thereVerified these steps work fine on dbt-bigquery==1.6.0 and dbt-bigquery==1.5.9
Steps To Reproduce
schema
is no longer inunrendered_config
Relevant log output
No response
Environment
Additional Context
slack thread with perhaps an easier to follow sequence of information: https://getdbt.slack.com/archives/CBSQTAPLG/p1701365532730099
The text was updated successfully, but these errors were encountered: