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

This commit is contained in:
Mayur Singal 2025-09-11 17:29:23 +05:30 committed by GitHub
parent 76c4e371a9
commit 38c707b0bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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