mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-03 14:23:03 +00:00
fix(bigquery-legacy): Fix for TypeError related failures in legacy plugin (#6806)
Co-authored-by: John Joyce <john@acryl.io>
This commit is contained in:
parent
47be95689e
commit
5c366205f5
@ -796,7 +796,7 @@ class BigQuerySource(SQLAlchemySource):
|
|||||||
# Compat with sqlalchemy 1.4 Row type.
|
# Compat with sqlalchemy 1.4 Row type.
|
||||||
row = row._asdict()
|
row = row._asdict()
|
||||||
if row:
|
if row:
|
||||||
return BigQueryPartitionColumn(**row.items())
|
return BigQueryPartitionColumn(**dict(row.items()))
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def get_shard_from_table(self, table: str) -> Tuple[str, Optional[str]]:
|
def get_shard_from_table(self, table: str) -> Tuple[str, Optional[str]]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user