Closed NicolasGuary closed 1 year ago
Find what caused the bug : you should run dbt run --select <model_name>
before trying to generate the model's YAML and that makes sense.
The workflow should then be :
Closing the issue and thank's for this really useful lib ! :muscle:
Describe the bug
Tested using 9.0.0 and 8.1.0
When trying to generate YAML for an existing model based on a BigQuery table, I get an empty column section. I believe it is linked to https://github.com/dbt-labs/dbt-codegen/issues/69
Steps to reproduce
Running :
Returns :
Expected results
Expected the columns section to contain all the columns of the table in BigQuery.
Actual results
An empty column section.
The output of
dbt --version
: Running from dbt Cloud CLI