Skip to content

Commit

Permalink
new: add elementary monitor test for percentage and count nulls (et/s…
Browse files Browse the repository at this point in the history
…omenergia-jardiner!148)

Merge branch 'add-null-count-elementary-test' into 'main'
  • Loading branch information
diegoquintanav committed May 13, 2024
2 parents 889fb56 + 4b99a3a commit 7c28c72
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dbt_jardiner/models/jardiner/raw/dset/_raw_dset__models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,19 @@ models:
tests:
- not_null:
where: "CURRENT_DATE - interval '3 days' < queried_at"
- elementary.column_anomalies:
where_expression: "CURRENT_DATE - interval '3 days' < queried_at"
column_anomalies:
- null_count
- null_percent
- name: signal_value
description: Valor del senyal observat. Camp definit per partner DSET
tests:
- elementary.column_anomalies:
where_expression: "CURRENT_DATE - interval '3 days' < queried_at"
column_anomalies:
- null_count
- null_percent
- name: raw_dset_responses__last_signal_reading
description: >
Conté l'últim batch de dades, descartant ts i value. Es fa servir per obtenir signal_last_ts
Expand Down

0 comments on commit 7c28c72

Please sign in to comment.