Fix #20048: Ingestion Fails for Snowflake ARRAY Column (#20134)

(cherry picked from commit d4205a5a1381d4a123a00151294cc38c1474dead)
This commit is contained in:
Mayur Singal 2025-03-11 18:19:58 +05:30 committed by OpenMetadata Release Bot
parent e944f3864a
commit d862ed7a71

View File

@ -96,7 +96,7 @@ class SqlColumnHandlerMixin:
col_type = ColumnTypeParser.get_column_type(column["type"])
# For arrays, we'll get the item type if possible, or parse the string representation of the column
# if SQLAlchemy does not provide any further information
if col_type == "ARRAY" and getattr(column["type"], "item_type"):
if col_type == "ARRAY" and getattr(column["type"], "item_type", None):
arr_data_type = ColumnTypeParser.get_column_type(
column["type"].item_type
)