-
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
[Bug] Generate compare changes is showing a "Nothing to do" when only a seed file is changed!! #10823
Comments
Thanks for reporting this @gunnava! How large is the seed file? If it is larger than 1 MiB, then it won't show up during state comparison. I wasn't able to reproduce this will a very simple seed file less than 1 MiB. See below for details. My project files and commandsI tried the files and commands below, and things worked as expected. Start with these files:
flags:
warn_error_options:
error:
- NoNodesForSelectionCriteria
- NothingToDo
Run this command: dbt build --target-path artifacts Then change the seed file to this:
And run this command: dbt build --select state:modified+ --state artifacts It all worked as expected for me. |
Hi , Thanks for looking at the issue. I am still able to replicate the issue (on cloud version: 2024.11.07+01d725b)
dbt_project.yml
run the command:
update the seed file to
and run the step: Now as part of the Advance CI in dbt cloud to generate compare changes this command is executed Debug logs for the dbt build --select state:modified+ and Generate compare changes debug - 2024-11-08T182440.671.log |
There doesn't appear to be any issue within dbt-core for this, so closing this issue in favor of fixing within dbt Cloud. |
Is this a new bug in dbt-core?
Current Behavior
The "Generate compare changes" step (debug logs for the run step attached) is
throwing an error for a PR where only a seed is changed and with the warning config as below:
Expected Behavior
The expectation is that the Generate compare changes should show the files changed if any and not throw the warning "Nothing to do"
Steps To Reproduce
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
No response
Additional Context
Slack thread: https://dbt-labs.slack.com/archives/C02SRNY2EQ4/p1726685698514849
The text was updated successfully, but these errors were encountered: