diff --git a/macros/edr/alerts/anomaly_detection_description.sql b/macros/edr/alerts/anomaly_detection_description.sql index 8c0a11e5f..7559d3b17 100644 --- a/macros/edr/alerts/anomaly_detection_description.sql +++ b/macros/edr/alerts/anomaly_detection_description.sql @@ -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() %} diff --git a/models/run_results.yml b/models/run_results.yml index 329b6e0c3..3c188903b 100644 --- a/models/run_results.yml +++ b/models/run_results.yml @@ -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 @@ -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