Skip to content

Commit

Permalink
Merge branch 'data-dot-all:main' into 925-datasets-auto-approval
Browse files Browse the repository at this point in the history
  • Loading branch information
SofiaSazonova authored Jan 18, 2024
2 parents 3a11f2e + ea153d5 commit a9322fd
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,12 @@ def update_existing_tables_status(existing_tables, glue_tables):
if existing_table.GlueTableName not in [t['Name'] for t in glue_tables]:
existing_table.LastGlueTableStatus = 'Deleted'
logger.info(
f'Table {existing_table.GlueTableName} status set to Deleted from Glue.'
f'Existing Table {existing_table.GlueTableName} status set to Deleted from Glue'
)
elif existing_table.GlueTableName in [t['Name'] for t in glue_tables] and existing_table.LastGlueTableStatus == 'Deleted':
existing_table.LastGlueTableStatus = 'InSync'
logger.info(
f'Updating Existing Table {existing_table.GlueTableName} status set to InSync from Deleted after found in Glue'
)

@staticmethod
Expand Down

0 comments on commit a9322fd

Please sign in to comment.