We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9853e48 commit 7ecf9ddCopy full SHA for 7ecf9dd
cid/helpers/quicksight/dataset.py
@@ -106,7 +106,7 @@ def _athena_to_qs_type(col, athena_type):
106
if 'decimal' in athena_type: return {'Name': col, 'Type': 'DECIMAL', 'SubType': 'FIXED'}
107
if 'double' in athena_type: return {'Name': col, 'Type': 'DECIMAL', 'SubType': 'FIXED'}
108
if 'real' in athena_type: return {'Name': col, 'Type': 'DECIMAL', 'SubType': 'FIXED'} #is it better fit for fixed vs float Decimals
109
- print(f'WARNING: unknown type {athena_type} for {col}')
+ logger.warning(f'Unknown Athena type {athena_type} for {col}. Will use STRING. This might affect dashboard.')
110
return {'Name': col, 'Type': 'STRING'}
111
112
dataset = deepcopy(dataset)
0 commit comments