We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79d68a5 commit a996ad2Copy full SHA for a996ad2
superset/databases/utils.py
@@ -55,7 +55,7 @@ def get_indexes_metadata(
55
56
def get_col_type(col: dict[Any, Any]) -> str:
57
try:
58
- dtype = f"{[col['type']]}"[1:-1]
+ dtype = repr(col["type"])
59
except Exception: # pylint: disable=broad-except
60
# sqla.types.JSON __str__ has a bug, so using __class__.
61
dtype = col["type"].__class__.__name__
0 commit comments