-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[CT-40] [Bug] Using state:modified.body returns NoneType object has no attribute raw_sql #4570
Comments
Hey @rayhondo, I reproduced this on my side. Working on fixing it now and the target release is 1.0.2.
|
Yes, but that is undesired behavior since the body did change and was never picked up by the |
Hi Ray, thanks for the context! I realized that manifest in target gets refreshed every time you run |
Is there an existing issue for this?
Current Behavior
I am trying to use the
state:modified.body
selector which is returning the following error:It appears to be struggling with identifying body changes when the model didn't previously exist as its not able to pull the
raw_sql
to reference.Expected Behavior
The
state:modified.body
selector should return all models whose body changes OR didn't previously exist.Steps To Reproduce
dbt ls --select state:modified.body
which yields this error messageHowever, if I repeat the steps, but modify the intersection to be just
state:modified
, it returns the expected models.Relevant log output
No response
Environment
What database are you using dbt with?
snowflake
Additional Context
No response
The text was updated successfully, but these errors were encountered: