Skip to content

Commit

Permalink
release 0.3.13 (#977)
Browse files Browse the repository at this point in the history
* release 0.3.13

* fix export

* remove a warning and fix the export
  • Loading branch information
iakov-aws authored Oct 25, 2024
1 parent 3d20556 commit 2422354
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cfn-templates/cid-cfn.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AWSTemplateFormatVersion: '2010-09-09'
Description: Deployment of Cloud Intelligence Dashboards v0.3.12
Description: Deployment of Cloud Intelligence Dashboards v0.3.13
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
Expand Down Expand Up @@ -1625,7 +1625,7 @@ Resources:
Description: An AWS managed layer with a cid-cmd package installed
Content:
S3Bucket: !Sub '${LambdaLayerBucketPrefix}-${AWS::Region}'
S3Key: 'cid-resource-lambda-layer/cid-0.3.12.zip' #replace version here if needed
S3Key: 'cid-resource-lambda-layer/cid-0.3.13.zip' #replace version here if needed
CompatibleRuntimes:
- python3.10
- python3.11
Expand Down
2 changes: 1 addition & 1 deletion cid/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.3.12'
__version__ = '0.3.13'
3 changes: 1 addition & 2 deletions cid/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ def export_analysis(qs, athena, glue):
}
if dep_cur:
datasets[dataset_name]['dependsOn']['cur'] = True

all_databases = list(set(all_databases))
all_views, all_databases = list(zip(*all_views_and_databases))
if len(all_databases) > 1:
logger.warning(f'CID only supports one database. Multiple used: {all_databases}') # fixme need to fix database

Expand Down
3 changes: 0 additions & 3 deletions cid/helpers/athena.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,6 @@ def _recursively_process_view(view):
dep_view = dep_view.replace('"', '')
if len(dep_view.split('.')) == 2:
dep_database, dep_view_name = dep_view.split('.')
if dep_database != self.DatabaseName:
logger.error(f'The view {view} has a dependency on {dep_view}. CID cannot manage multiple Databases. Please move {dep_view_name} to Database {self.DatabaseName}. Skipping dependency.')
continue
dep_view = dep_view.split('.')[-1]
if dep_view not in all_views:
_recursively_process_view(dep_view)
Expand Down

0 comments on commit 2422354

Please sign in to comment.