-
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
Enact deprecations #2798
Comments
Note: dbt v0.19.0 did deprecate It's one of the few times that we've entirely removed a piece of functionality—definitions of This is something we'll want to keep thinking about, and develop rigorous communication plans, ahead of releasing v1.0. |
There's at least one new deprecation since we opened this ticket:
We should establish a consistent habit around deprecations, with a few options:
|
@jtcohen6 would the goal be to add these deprecation warnings to Also is this the official list? I want to track what we need to do for sure. I might try picking some of these up or having Emily pick this up...
|
@leahwicz Here's where we define the list of deprecation warnings that exist currently (in So
There are some deprecations we'll want to keep around, e.g. Anna's work over in #3825 |
This issue can really be split up into a bunch of smaller tasks, each one targeting one of the active deprecation warnings that we currently have in place. I can do my best to provide pointers for each. I'll include a few below, and add more when I have more time. dispatch-packagesIntroduced in: v0.19.2 Instead of raising a deprecation warning when the user has defined the Then, we can:
materialization-returnIntroduced in: v0.15
not-a-dictionaryIntroduced in: v0.15 This is a quite specific one, having to do with the fact that some internal dbt objects used to be simple dictionaries and are now dataclasses. I think we should just raise exceptions on the dunder methods of column-quoting-unsetIntroduced in: v0.15 We should do as the deprecation warning says, and switch the default from I think we'll want to override/reimplement the models-key-mismatchIntroduced in: v0.16 This is a tricky one: We actually removed this deprecation warning in v0.20, when we removed the I'd like to re-add the conditional check for whether a non-model (a seed, snapshot, etc) is specified under the Once done, we can also remove this from the list of active deprecations, since it's no longer referenced anywhere in the code! execute-macro-releaseIntroduced in: v0.17.2 Pretty straightforward: as the deprecation warning message states, we should remove the Then, we can remove it from the list of active deprecations. adapter-macroIntroduced in: v0.18 Pretty simple: we deprecated the Let's keep package-redirectNo action needed! Let's keep this one around for the foreseeable future. This is a warning about a package that's been deprecated, rather than a core interface that we're planning to change. |
Opened #415 in dbt-utils because of newly introduced use of packages. Will need to be resolved before enacting deprecation for dispatch-packages. |
All deprecations listed above have been merged into develop. Closing. |
woohoo !! |
Describe the feature
config-version: 1
ofdbt_project.yml
in dbt v0.19.0 (per implementation of Feature: include unrendered configs #2735)dbt-project-yaml-1
: this is far & away the most common deprecation warning, and we still see it popping up in ~40% of projects running v0.18.0. Users may have upgraded their own projects but still need to upgrade installed packages. In any case, this is definitely the most controversial of our proposed deprecations.column-quoting-unset
: 11% of projectsmodels-key-mismatch
: 2% of projectsmaterialization-return
: <1% of projectsnot-a-dictionary
: 0% of projectsadapter-macro
: this is the second-most-common deprecation warning, and we only introduced it in v0.18 with the switch toadapter.dispatch
. We should give users at least one more minor version to upgrade.Describe alternatives you've considered
Who will this benefit?
The text was updated successfully, but these errors were encountered: