Eugene Sobolev
02/22/2024, 6:45 AMFile "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for PendingAlertSchema
updated_at
none is not an allowed value (type=type_error.none.not_allowed)
Everything was fine for months and then this started to happen.Eugene Sobolev
02/22/2024, 6:54 AMEugene Sobolev
02/22/2024, 7:23 AMselect * from elementary.alerts_v2 where updated_at is null;
We always get records in this table with updated_at column set to null.Eugene Sobolev
02/22/2024, 8:39 AMsource_freshnessElla Katz
02/22/2024, 8:17 PMEugene Sobolev
02/22/2024, 8:50 PMEugene Sobolev
02/22/2024, 8:51 PMEugene Sobolev
02/22/2024, 9:00 PMdbt source freshness run that I executed on my local machine. I though maybe there was some kind of a race condition or something.Eugene Sobolev
02/23/2024, 11:26 AManalytics=# select * from elementary.alerts_source_freshness where alert_id = '0d853f1a-aff2-4d56-bef0-0b6fa591776e.source.analytics.booking.booking__annihilation_old';
-[ RECORD 1 ]---------------+--------------------------------------------------------------------------------------------------
alert_id | 0d853f1a-aff2-4d56-bef0-0b6fa591776e.source.analytics.booking.booking__annihilation_old
max_loaded_at |
snapshotted_at |
detected_at | 2024-02-16 13:21:51
max_loaded_at_time_ago_in_s |
status | runtime error
error | Database Error in source booking__annihilation_old (models/staging/booking/_booking__sources.yml)+
| column "event_ts_minsk_time" does not exist in booking__annihilation_old
unique_id | source.analytics.booking.booking__annihilation_old
database_name | analytics
schema_name | sources
source_name | booking
identifier | booking__annihilation_old
freshness_error_after | {"count": null, "period": null}
freshness_warn_after | {"count": null, "period": null}
freshness_filter |
tags | []
meta | {}
owner | []
package_name | analytics
path | models/staging/booking/_booking__sources.yml
alert_sent | f
suppression_status | pending
sent_at |Ella Katz
02/25/2024, 10:12 AMEugene Sobolev
02/25/2024, 2:17 PMElla Katz
02/25/2024, 2:23 PMd0c78f691498ea0f26dd746fe3542e9904f4e086Eugene Sobolev
02/25/2024, 4:45 PMpanapost
02/29/2024, 10:23 AMElla Katz
02/29/2024, 12:20 PMpanapost
02/29/2024, 1:41 PMElla Katz
02/29/2024, 2:30 PM