From d7910e1036d8d84e79dd611e2a995b7bb0635c25 Mon Sep 17 00:00:00 2001 From: Iakov GAN <82834333+iakov-aws@users.noreply.github.com> Date: Wed, 3 Jan 2024 13:55:43 +0100 Subject: [PATCH] Update cid/helpers/cur.py Co-authored-by: Yuriy Prykhodko --- cid/helpers/cur.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cid/helpers/cur.py b/cid/helpers/cur.py index 9346567d..68e0dc7b 100644 --- a/cid/helpers/cur.py +++ b/cid/helpers/cur.py @@ -159,7 +159,7 @@ def ensure_column(self, column: str, column_type: str=None): try: self.athena.query(f'ALTER TABLE {self.table_name} ADD COLUMNS ({column} {column_type})') except (self.athena.client.exceptions.ClientError, CidCritical) as exc: - raise CidCritical(f'Column {column} is not found in CUR and we were unable to add it. Please check FAQ.') from exc + raise CidCritical(f'Column {column} is not found in CUR and we were unable to add it.') from exc self._metadata = self.athena.get_table_metadata(self.table_name) # refresh table metadata logger.critical(f"Column '{column}' was added to CUR ({self.table_name}). Please make sure crawler do not override that columns. Crawler='{crawler_name}'")