glue-numeric-table-ingestion-fixed (#5102)

This commit is contained in:
codingwithabhi 2022-05-24 13:07:11 +05:30 committed by GitHub
parent 06b27d0a42
commit 157e749ffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)