diff --git a/ingestion/src/metadata/ingestion/source/glue.py b/ingestion/src/metadata/ingestion/source/glue.py index 20a163313f1..f89677270e8 100755 --- a/ingestion/src/metadata/ingestion/source/glue.py +++ b/ingestion/src/metadata/ingestion/source/glue.py @@ -175,7 +175,7 @@ class GlueSource(Source[Entity]): table.get("name"), ): self.status.filter( - "{}".format(table["name"]), + "{}".format(table["Name"]), "Table pattern not allowed", ) continue diff --git a/ingestion/src/metadata/utils/column_type_parser.py b/ingestion/src/metadata/utils/column_type_parser.py index efeb2a63fc5..392eef59599 100644 --- a/ingestion/src/metadata/utils/column_type_parser.py +++ b/ingestion/src/metadata/utils/column_type_parser.py @@ -181,6 +181,7 @@ class ColumnTypeParser: s: str, **kwargs: Any ) -> Union[object, Dict[str, object]]: s = s.strip() + s = s.replace(" ", "") if s.startswith("array<"): if s[-1] != ">": raise ValueError("expected '>' found: %s" % s)