From ebe004dc12286c3bd74361d1642feb3e276b5a68 Mon Sep 17 00:00:00 2001 From: DanCardin Date: Fri, 2 Aug 2024 17:01:19 -0400 Subject: [PATCH] fix: Use the correct NullType. --- src/snowflake/sqlalchemy/snowdialect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snowflake/sqlalchemy/snowdialect.py b/src/snowflake/sqlalchemy/snowdialect.py index 04305a00..5cb97b55 100644 --- a/src/snowflake/sqlalchemy/snowdialect.py +++ b/src/snowflake/sqlalchemy/snowdialect.py @@ -578,7 +578,7 @@ def _get_schema_columns(self, connection, schema, **kw): sa_util.warn( f"Did not recognize type '{coltype}' of column '{column_name}'" ) - col_type = sqltypes.NULLTYPE + col_type = sqltypes.NullType else: if issubclass(col_type, FLOAT): col_type_kw["precision"] = numeric_precision