mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 09:22:14 +00:00
glue-numeric-table-ingestion-fixed (#5102)
This commit is contained in:
parent
06b27d0a42
commit
157e749ffd
@ -175,7 +175,7 @@ class GlueSource(Source[Entity]):
|
|||||||
table.get("name"),
|
table.get("name"),
|
||||||
):
|
):
|
||||||
self.status.filter(
|
self.status.filter(
|
||||||
"{}".format(table["name"]),
|
"{}".format(table["Name"]),
|
||||||
"Table pattern not allowed",
|
"Table pattern not allowed",
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
|
@ -181,6 +181,7 @@ class ColumnTypeParser:
|
|||||||
s: str, **kwargs: Any
|
s: str, **kwargs: Any
|
||||||
) -> Union[object, Dict[str, object]]:
|
) -> Union[object, Dict[str, object]]:
|
||||||
s = s.strip()
|
s = s.strip()
|
||||||
|
s = s.replace(" ", "")
|
||||||
if s.startswith("array<"):
|
if s.startswith("array<"):
|
||||||
if s[-1] != ">":
|
if s[-1] != ">":
|
||||||
raise ValueError("expected '>' found: %s" % s)
|
raise ValueError("expected '>' found: %s" % s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user