mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-02 20:35:25 +00:00
MINOR: Fix column comment getting overriden in glue (#23329)
This commit is contained in:
parent
76c4e371a9
commit
38c707b0bc
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user