Skip to content

Commit b4cdcc7

Browse files
authored
Merge branch 'main' into fix-index-extension-dtypes
2 parents bf8f329 + ef0f83a commit b4cdcc7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

awswrangler/_data_types.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,9 @@ def athena2quicksight(dtype: str) -> str: # pylint: disable=too-many-branches,t
345345
return "DECIMAL"
346346
if dtype in ("boolean", "bool"):
347347
return "BOOLEAN"
348-
if dtype in ("string", "char", "varchar"):
348+
if dtype.startswith(("char", "varchar")):
349+
return "STRING"
350+
if dtype == "string":
349351
return "STRING"
350352
if dtype == "timestamp":
351353
return "DATETIME"

0 commit comments

Comments
 (0)