Skip to content

Commit a384f05

Browse files
authored
SNOW-651560: Fix the metadata issue when extTypeName from the returned json result is empty (#1239)
1 parent 3a80e9a commit a384f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/snowflake/connector/cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def from_column(cls, col: dict[str, Any]):
132132
col["name"],
133133
FIELD_NAME_TO_ID[
134134
col["extTypeName"].upper()
135-
if "extTypeName" in col
135+
if col.get("extTypeName")
136136
else col["type"].upper()
137137
],
138138
None,

0 commit comments

Comments
 (0)