From f7bc593a3169fc120abd28d6a968047e298129ad Mon Sep 17 00:00:00 2001 From: Iakov GAN <82834333+iakov-aws@users.noreply.github.com> Date: Wed, 3 Jan 2024 13:51:56 +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 1dbc8fec..9346567d 100644 --- a/cid/helpers/cur.py +++ b/cid/helpers/cur.py @@ -153,7 +153,7 @@ def ensure_column(self, column: str, column_type: str=None): config = json.loads(crawler.get('Configuration', '{}')) add_or_update = config.get('CrawlerOutput', {}).get('Tables', {}).get('AddOrUpdateBehavior') if add_or_update != 'MergeNewColumns': - raise CidCritical(f'Column {column} is not found in CUR ({self.table_name}). And we were unable to add it as crawler {crawler_name} is configured to override columns.') + raise CidCritical(f'Column {column} is not found in CUR ({self.table_name}). And we were unable to add it as crawler {crawler_name} is configured to override columns. Change crawler settings and run again.') column_type = column_type or self.get_type_of_column(column) try: