Open hamzamazhar opened 2 months ago
Hi @hamzamazhar ! Thanks for posting this issue. Unfortunately I'm not able to reproduce this, so I'm guessing this issue is a bit more specific to your environment.
I see that you are using Databricks. Are you using it with or without Unity Catalog?
Does the dbt_models
table exist in the elementary schema when this error occurs?
Any additional information about your setup can help to understand this.
@haritamar Apologies on my side. I upgraded from 0.13.0 -> 0.15.0 version. In the issue, I wrote 0.15.0 -> 0.15.1, which is incorrect. I have fixed the description of the issue.
I faced the same problem when I pushed the upgrade from version 0.13
to 0.15
on my production environment.
However, the interesting thing to note is that I ran this in an Airflow task with 3 retries specified on it.
My hunch is that some columns were missing in the elementary models when it first ran. However, it created those columns so by the time Airflow retried the task, the columns were already there and it passed.
I hope this is helpful.
Describe the bug When I upgrade to elementary
0.15.0
from0.13.0
and run elementary models, it fails for the modelmodel_run_results
and throws this exception:To Reproduce Steps to reproduce the behavior:
elementary==0.13.0
as a package and run elementary models withdbt run -s elementary
0.15.0
and install this package.dbt run -s elementary
and this exception occurs.Expected behavior Elementary models should run.
Environment (please complete the following information):
Additional context Add any other context about the problem here.