diff --git a/cfn-templates/cid-cfn.yml b/cfn-templates/cid-cfn.yml index c1ee2220..848f527f 100644 --- a/cfn-templates/cid-cfn.yml +++ b/cfn-templates/cid-cfn.yml @@ -1,5 +1,5 @@ AWSTemplateFormatVersion: '2010-09-09' -Description: Deployment of Cloud Intelligence Dashboards v4.0.4 +Description: Deployment of Cloud Intelligence Dashboards v4.0.5 Metadata: AWS::CloudFormation::Interface: ParameterGroups: @@ -1781,7 +1781,7 @@ Resources: - LambdaLayerBucketPrefixIsManaged - !FindInMap [RegionMap, !Ref 'AWS::Region', BucketName] - !Sub '${LambdaLayerBucketPrefix}-${AWS::Region}' # Region added for backward compatibility - S3Key: 'cid-resource-lambda-layer/cid-4.0.4.zip' #replace version here if needed + S3Key: 'cid-resource-lambda-layer/cid-4.0.5.zip' #replace version here if needed CompatibleRuntimes: - python3.10 - python3.11 diff --git a/cid/_version.py b/cid/_version.py index 680617c7..653faaf3 100644 --- a/cid/_version.py +++ b/cid/_version.py @@ -1,2 +1,2 @@ -__version__ = '4.0.4' +__version__ = '4.0.5' diff --git a/cid/helpers/cur.py b/cid/helpers/cur.py index 4a5940f0..7b5ff704 100644 --- a/cid/helpers/cur.py +++ b/cid/helpers/cur.py @@ -111,7 +111,7 @@ def get_type_of_column(self, column: str, version=None): if column.endswith('_date') and not column.endswith('_to_date'): return 'TIMESTAMP' if column.endswith('_time') and (version or self.version) == '2': - return 'TIMESTAMP' + return 'STRING' # yes, they are string special_cases = { "cost_category": "MAP", "discount": "MAP",