elementary
elementary copied to clipboard
`UNRESOLVED_COLUMN` exception when upgrading to elementary 0.15.1
Describe the bug
When I upgrade to elementary 0.15.0
from 0.13.0
and run elementary models, it fails for the model model_run_results
and throws this exception:
Runtime Error in model model_run_results (models/edr/run_results/model_run_results.sql)
[UNRESOLVED_COLUMN.WITH_SUGGESTION] A column or function parameter with name `models`.`unique_id` cannot be resolved. Did you mean one of the following? [`run_results`.`unique_id`, `models`.`metadata_hash`, `run_results`.`query_id`, `run_results`.`name`, `run_results`.`failures`]
To Reproduce Steps to reproduce the behavior:
- One a new dbt project, use
elementary==0.13.0
as a package and run elementary models withdbt run -s elementary
- Then, upgrade the elementary package to
0.15.0
and install this package. - Run the elementary models again with
dbt run -s elementary
and this exception occurs.
Expected behavior Elementary models should run.
Environment (please complete the following information):
- edr Version: 0.15.0
- dbt package Version: 1.7.14
Additional context Add any other context about the problem here.