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 d7910e1 commit 8a0dba9
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 @@ -161,7 +161,7 @@ def ensure_column(self, column: str, column_type: str=None):
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.') 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}'")
logger.critical(f"Column '{column}' was added to CUR ({self.table_name}).")

def table_is_cur(self, table: dict=None, name: str=None, return_reason: bool=False) -> bool:
""" return True if table metadata fits CUR definition. """
Expand Down

0 comments on commit 8a0dba9

Please sign in to comment.