MINOR: Fix column comment getting overriden in glue (#23329)

(cherry picked from commit 38c707b0bc378a63813c668dfb06ac32fb7a5c20)
This commit is contained in:
Mayur Singal 2025-09-11 17:29:23 +05:30 committed by OpenMetadata Release Bot
parent 310ec3fed1
commit 51a2926c62
2 changed files with 3 additions and 3 deletions

View File

@ -173,7 +173,7 @@ def get_columns(self, connection, table_name, schema=None, **kw):
for glue_col in glue_columns:
col_name = glue_col["Name"]
col_type = glue_col["Type"]
col_comment = glue_col.get("Comment", "")
col_comment = glue_col.get("Comment")
col_parameters = glue_col.get("Parameters", {})
# Check if this is a non-current Iceberg column

View File

@ -406,7 +406,7 @@ class GlueSource(ExternalTableLineageMixin, DatabaseServiceSource):
for glue_col in glue_columns:
col_name = glue_col["Name"]
col_type = glue_col["Type"]
col_comment = glue_col.get("Comment", "")
col_comment = glue_col.get("Comment")
col_parameters = glue_col.get("Parameters", {})
# Check if this is a non-current Iceberg column
@ -427,7 +427,7 @@ class GlueSource(ExternalTableLineageMixin, DatabaseServiceSource):
for glue_col in partition_keys:
col_name = glue_col["Name"]
col_type = glue_col["Type"]
col_comment = glue_col.get("Comment", "")
col_comment = glue_col.get("Comment")
col_parameters = glue_col.get("Parameters", {})
# Check if this is a non-current Iceberg column