Skip to content

Commit 886afd0

Browse files
committed
fallback to NullType when dialect type not found
1 parent ba0210a commit 886afd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

snowdialect.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,10 @@ def _get_schema_columns(self, connection, schema, **kw):
379379
elif issubclass(col_type,
380380
(sqltypes.String, sqltypes.BINARY)):
381381
col_type_kw['length'] = character_maximum_length
382+
else:
383+
col_type = sqltypes.NULLTYPE
382384

383385
type_instance = col_type(**col_type_kw)
384-
385386
current_table_pks = schema_primary_keys.get(table_name)
386387

387388
ans[table_name].append({

0 commit comments

Comments
 (0)