We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78e1382 commit 3fd4236Copy full SHA for 3fd4236
1 file changed
mindsdb_sql_parser/ast/create.py
@@ -95,6 +95,8 @@ def get_string(self, *args, **kwargs):
95
type = 'float'
96
elif issubclass(col.type, sa_types.Text):
97
type = 'text'
98
+ elif hasattr(col.type, '__visit_name__'):
99
+ type = col.type.__visit_name__
100
else:
101
type = str(col.type)
102
if col.length is not None:
0 commit comments