Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion macros/edr/alerts/anomaly_detection_description.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% endmacro %}

{% macro freshness_description() %}
'Last update was at ' || anomalous_value || ', ' || {{ elementary.edr_cast_as_string('abs(round(' ~ elementary.edr_cast_as_numeric('metric_value/3600') ~ ', 2))') }} || ' hours ago. Usually the table is updated within ' || {{ elementary.edr_cast_as_string('abs(round(' ~ elementary.edr_cast_as_numeric('training_avg/3600') ~ ', 2))') }} || ' hours.'
'Last update was at ' || anomalous_value || ', ' || 'which is' || {{ elementary.edr_cast_as_string('abs(round(' ~ elementary.edr_cast_as_numeric('metric_value/3600') ~ ', 2))') }} || ' hours without updates (only full buckets are considered). Usually the table is updated within ' || {{ elementary.edr_cast_as_string('abs(round(' ~ elementary.edr_cast_as_numeric('training_avg/3600') ~ ', 2))') }} || ' hours.'
{% endmacro %}

{% macro table_metric_description() %}
Expand Down
4 changes: 2 additions & 2 deletions models/run_results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ models:
description: End time of resource compile action.

- name: rows_affected
data_type: int
data_type: bigint
description: ""

- name: full_refresh
Expand All @@ -209,7 +209,7 @@ models:
description: The compiled code (SQL / Python) executed against the database.

- name: failures
data_type: int
data_type: bigint
description: Number of failures in this run.

- name: query_id
Expand Down
Loading