From b692e78d72f912b00c21a49c734d741a6ebe5e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Far=C3=ADas=20Santana?= Date: Thu, 26 Sep 2024 17:02:10 +0200 Subject: [PATCH] chore(batch-exports): Add non-retryable postgres error (#25230) --- posthog/temporal/batch_exports/postgres_batch_export.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/posthog/temporal/batch_exports/postgres_batch_export.py b/posthog/temporal/batch_exports/postgres_batch_export.py index 89b4518940799..a9e8450f18d9f 100644 --- a/posthog/temporal/batch_exports/postgres_batch_export.py +++ b/posthog/temporal/batch_exports/postgres_batch_export.py @@ -670,6 +670,8 @@ async def run(self, inputs: PostgresBatchExportInputs): # A user added a unique constraint on their table, but batch exports (particularly events) # can cause duplicates. "UniqueViolation", + # Something changed in the target table's schema that we were not expecting. + "UndefinedColumn", ], finish_inputs=finish_inputs, )