Skip to content

Commit

Permalink
Update cid/export.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov-aws authored Oct 24, 2024
1 parent 7214e6d commit ee1ff2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cid/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def export_analysis(qs, athena, glue):
if views_name in athena._resources.get('views') and not get_parameters().get('export-known-datasets'):
cid_print(f' Athena view <BOLD>{views_name}<END> is in resources. Skipping')
else:
all_views_and_databases.append((views_name, database_name)
all_views_and_databases.append((views_name, database_name))
elif 'CustomSql' in value and 'DataSourceArn' in value['CustomSql']:
logger.debug(f"Dataset {dataset.raw['DataSetId']} looks like CustomSql athena dataset")
value['CustomSql']['DataSourceArn'] = '${athena_datasource_arn}'
Expand Down

0 comments on commit ee1ff2f

Please sign in to comment.