elementary icon indicating copy to clipboard operation
elementary copied to clipboard

Not able to set up detection period - 'hour' for column_anomalies tests

Open ZuzanaRaichlova opened this issue 1 year ago • 4 comments

I'm trying to set up the detection period for our column_anomalies tests to hour (we are missing a lot of alerts because of the 1 day setting). But I'm getting this error: Missing mandatory configuration: ['backfill_days'] I saw a couple of people had this issue earlier this year. Is there already a solution for it? Because in the docs I can see that hour should be a supported period. Thank you!

To Reproduce

detection_period: period: hour count: 2

-> runing the test -> Compilation error Missing mandatory configuration: ['backfill_days']

Environment: Elementary package version: 0.15.2 dbt version: 1.2.0 Data warehouse: snowflake

ZuzanaRaichlova avatar Jul 24 '24 10:07 ZuzanaRaichlova

Hey @ZuzanaRaichlova, It does support, but unfortunately it must be set to a value larger than 24. (detection period must be longer than one day)

dapollak avatar Jul 24 '24 14:07 dapollak

Thank you for the quick response! Are there any plans to allow also shorter periods?

ZuzanaRaichlova avatar Jul 24 '24 15:07 ZuzanaRaichlova

I'm also interested in this question

annav00 avatar Aug 08 '24 15:08 annav00

I'm also interested in this question

pmonroux-sezane avatar Apr 08 '25 08:04 pmonroux-sezane