Thank you in advance for helping me in my journey! I am a dbt newb, doing the dbt fundamentals course. I am following the directions exactly.
Sequence of the issue:
I created .sql files in my models folder and subfolders, compiled them, ran dbt, and they showed up in my Snowflake DW. No problem
The issue happens when I click "save" to save the code to the .yml file - that the course provided here. (See compilation error in screenshot)
Partial parsing enabled: 0 files deleted, 0 files added, 1 files changed. 'version'
At this point, I am not able to run any of the models, even those in other subfolders. For example
Also, those .sql files also have the same compilation error above.
When I delete the .yml file, everything goes to normal and all the errors disappear.
things I have tried:
Please help! thank you
I think it may be this bug: https://github.com/dbt-labs/dbt/issues/3567
That's related to partial parsing, which is a dbt Core performance optimization used in the dbt Cloud IDE. We rebuilt partial parsing from the ground up in v0.20.0, and we'll be including fixes for bugs we uncover (including that one) in v0.20.1.
In the meantime, if you find yourself in an error state like the one above, you can trigger a full re-parse by deleting the file target/partial_parse.msgpack
.