-
Notifications
You must be signed in to change notification settings - Fork 495
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
Change of behavior in 1.2 makes passing tests with 1.1 fail with 1.2 #923
Comments
I see what you are saying in regards to behavior change @b-per:
It looks like this is the root cause: Out of curiosity, what does it do in 1.1 if you move the equality test from the seed to the model? i.e., move this test to here instead (making sure to remove the |
In 1.1 changing the side of the comparison fails with this error:
as we were expecting. I am not saying that we should revert #785 but I guess this is more of a discussion whether |
TLDRThe original behavior looks like an oversight to me rather than an intentional decision that fully considered all the implications. ContextThe behavior of I don't know if it was intended or unintended, but I buy the argument in #785 that by default
Behavior changeThis behavior did change in 1.2.0, but we're considering this a backward-compatible bug fix: an internal change that fixes incorrect behavior. Since it didn't introduce any backward incompatible API changes, this doesn't require bumping the major version. dbt 1.7+ has predictable package installs by default via SummaryUpgrading to dbt-utils 1.2.0 may require code changes for some projects, but we're considering this a good thing because it fixes a bug. |
Describe the bug
The fix of the issue #785 in the PR #765 introduces a change of behavior when the 2 tables of the comparison do not contain the same columns.
This led to the fact that integration tests in
dbt_project_evaluator
passed withdbt_utils
1.1 but failed with1.2
I wouldn't have expected a minor bump to change the behavior.
The text was updated successfully, but these errors were encountered: