Hi! I'm using the version `v0.13.0` When I run t...
# community-support
a
Hi! I'm using the version
v0.13.0
When I run the test for
sources
, I get the following error
Copy code
Compilation Error in test ... Missing mandatory configuration: ['backfill_days']
But
backfill_days
is already deprecated in this version. So I don't understand the reason for this error. Anyone have any ideas? My test configuration:
Copy code
elementary_test_params:
  detection_period:
    period: hour
    count: 2
  training_period:
    period: hour
    count: 14
  time_bucket:
    period: hour
    count: 1
  seasonality: hour_of_day
  detection_delay:
    period: hour
    count: 1
  severity: warn
  timestamp_column: _NORMALIZED_AT
✅ 1
e
Hi @Anna Vasileva, thanks for reporting this. I've found the issue and it's a bug that occurs because your
detection_period
is smaller than a day. I'll open a GitHub issue on that. Care to share your use-case for having a detection period that small? Perhaps we can find an alternative workaround.
Here's the issue, it contains the explanation.
a
Hi, thank you for tour response We load sources in batches every hour. After each load we want to run tests for this batch
e
I see, thanks for the explanation. Can you set the
detection_period
for 1 day for the time being? This detection period will cover your hourly batches. The main implication is that if there was a data issue more than two hours ago, you'd still be alerted within that day.
a
Ok, I will use your solution. Thanks!
🙏 1
m
Was this bug fixed? We have the same issue at the moment Python lib version
elementary-data==0.14.1
dbt package version
- package: elementary-data/elementary
version: 0.14.1
a
No
🍌 1
d
Will just leave a note here to confirm it's not yet fixed in 0.16.1
🙌 1