Skip to content

Commit

Permalink
Merge pull request #359 from elementary-data/get-models-runs-compatible
Browse files Browse the repository at this point in the history
Changed the way of detecting an Elementary model.
  • Loading branch information
elongl authored Oct 19, 2022
2 parents cf3c194 + 06558ce commit 27252f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elementary/monitor/dbt_project/macros/get_models_runs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from model_runs
where {{ elementary.datediff(elementary.cast_as_timestamp('generated_at'), elementary.current_timestamp(), 'day') }} < {{ days_back }}
{% if exclude_elementary %}
and package_name != 'elementary'
and unique_id not like 'model.elementary.%'
{% endif %}
order by generated_at
{% endset %}
Expand Down

0 comments on commit 27252f2

Please sign in to comment.