Skip to content

Commit

Permalink
Update cid/helpers/cur.py
Browse files Browse the repository at this point in the history
Co-authored-by: Yuriy Prykhodko <yprikhodko@gmail.com>
  • Loading branch information
iakov-aws and yprikhodko authored Jan 3, 2024
1 parent d129f30 commit f7bc593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cid/helpers/cur.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f7bc593

Please sign in to comment.