Skip to content

Commit

Permalink
add params (#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
dapollak authored and elongl committed Jul 25, 2024
1 parent 88870b3 commit 90e7b51
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions macros/edr/tests/test_event_freshness_anomalies.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% test event_freshness_anomalies(model, event_timestamp_column, update_timestamp_column, where_expression, anomaly_sensitivity, anomaly_direction, min_training_set_size, time_bucket, days_back, backfill_days, sensitivity, ignore_small_changes, detection_delay, anomaly_exclude_metrics) %}
{% test event_freshness_anomalies(model, event_timestamp_column, update_timestamp_column, where_expression, anomaly_sensitivity, anomaly_direction, min_training_set_size, time_bucket, days_back, backfill_days, sensitivity, ignore_small_changes, detection_delay, anomaly_exclude_metrics, detection_period, training_period) %}
{{ config(tags = ['elementary-tests']) }}
{% if execute and elementary.is_test_command() and elementary.is_elementary_enabled() %}
{% set model_relation = elementary.get_model_relation_for_test(model, context["model"]) %}
Expand Down Expand Up @@ -29,7 +29,9 @@
sensitivity=sensitivity,
ignore_small_changes=ignore_small_changes,
detection_delay=detection_delay,
anomaly_exclude_metrics=anomaly_exclude_metrics
anomaly_exclude_metrics=anomaly_exclude_metrics,
detection_period=detection_period,
training_period=training_period
)
}}
{% endtest %}

0 comments on commit 90e7b51

Please sign in to comment.