dbt-sugar icon indicating copy to clipboard operation
dbt-sugar copied to clipboard

[BUG] dbt-sugar is a bit stupid to expect `.yml` files insteat of `.yaml`

Open bastienboutonnet opened this issue 3 years ago • 1 comments

When documenting a model which already had a .yaml file it said that it couldn't find that model because the model was expected in a .yml file. We should bake in some more robustness, and in fact enforce that schema files follow the official best practice of using the .yaml extension instead of .yml.

bastienboutonnet avatar Jan 09 '22 18:01 bastienboutonnet

My guess it this has something to do with dbt only looking for .yml (per this FAQ in their docs)

Can I use a yaml file extension? No. At present, dbt will only search for files with a .yml file extension. In a future release of dbt, dbt will also search for files with a .yaml file extension.

owenprough-sift avatar Sep 27 '22 19:09 owenprough-sift