-
Notifications
You must be signed in to change notification settings - Fork 91
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
Instruct users to explicitly override view
and incremental
materializations
#703
Comments
Hey @jtcohen6 , It sounds like a reasonable change. About your proposal - Do you have any other thoughts on how we can update the existing users? |
Hey, @jtcohen6 , I've noticed that you mentioned this in your docs:
Would you be open to us contributing this feature? |
@Maayan-s @haritamar Thanks for the quick responses! Yes, some users pointed out to us that it was surprising to have materializations overridden simply by installing the package, without explicit opt-in. I still want to preserve the possibility of this behavior, but it shouldn't be something that happens implicitly & by default. I appreciate this will require some action from end users regardless, and I'm open to a change in
Yes. I've opened an issue in I'll want to pass this by some of the Core engineers (tomorrow), but once we're aligned on next steps, we can try to include this work as a fast-follow |
Closing this issue for now, we'll follow up on the issue above. |
Hey Elementary team!
Change to materialization search order
We're making a change to how dbt searches for implementations of the "builtin" materializations (
view
,table
, etc). Previously, dbt would (implicitly) prefer adapter-specific implementations of materializations defined in packages over the out-of-the-box implementations within dbt, without the user necessarily knowing. We're changing this to be more explicit and less surprising.I see that this package reimplements the
table
andincremental
materializations. Starting with latest patch releases of dbt Core v1.6.14 and v1.7.14, users will see a deprecation message like the following:Proposal
I'd recommend updating the "Quickstart" guide in your documentation & package README, adding a step where users explicitly opt into the materialization overrides by adding the following code to a
macros/
file in their root projects:(Replacing
snowflake
withbigquery
,default
, etc as appropriate)In the meantime, users can opt out of this behavior by setting this flag explicitly in their project files:
They will continue to see the deprecation warning.
Timeline
This flag was added (opt-in, disabled by default) in dbt Core v1.6.14 + v1.7.14.
The default value of this flag will be switching from
False
toTrue
in dbt Core v1.8.0 (release candidate, final released planned for ~May 8) and dbt Cloud (~May 15).References
The text was updated successfully, but these errors were encountered: