From 77717e7760a5e9349d4841e1e5abba024904fa77 Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 26 Oct 2022 18:16:25 +0300 Subject: [PATCH] Update 0014_backfill_errors.py --- snuba/snuba_migrations/events/0014_backfill_errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snuba/snuba_migrations/events/0014_backfill_errors.py b/snuba/snuba_migrations/events/0014_backfill_errors.py index 4a830a385f3..b9d0bc43035 100644 --- a/snuba/snuba_migrations/events/0014_backfill_errors.py +++ b/snuba/snuba_migrations/events/0014_backfill_errors.py @@ -98,7 +98,7 @@ def get_monday(day: date) -> date: ("group_id", "group_id"), ( "primary_hash", - "toUUID(UUIDNumToString(toFixedString(unhex(toString(primary_hash)), 16)))", + "toUUID(UUIDNumToString(toFixedString(unhex(toString(assumeNotNull(primary_hash))), 16)))", ), ("received", "ifNull(`received`, now())"), ("message", "ifNull(`message`, '')"),