-
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
[CT-663] YAML anchor expansion failure in 1.2.0a1 / main
#5268
Comments
main
main
On second thought, this shouldn't actually be labeled |
I'm inclined to think this is an issue with using dbt-core/core/dbt/clients/yaml_helper.py Lines 71 to 72 in eea872c
Then everything works fine. In order to resolve this issue, there are two options, and we might want to pursue both of them:
No matter the approach taken, we MUST add automated test cases reflecting the end-user behavior / reproduction cases in both of these issues, since this is real code that users have out in the wild. |
Proactively identified regression in
1.2.0a1
. If I had to guess, it might be related to #5146?Here's a profile that uses YAML anchors to DRY up duplicated code. This is valid YAML, per "online YAML parser":
When running v1.1.0, dbt is perfectly happy to expand the YAML anchor:
Running
dbt-core
installed frommain
, it's not:The text was updated successfully, but these errors were encountered: