mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-02 13:53:06 +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.
|
||||
row = row._asdict()
|
||||
if row:
|
||||
return BigQueryPartitionColumn(**row.items())
|
||||
return BigQueryPartitionColumn(**dict(row.items()))
|
||||
return None
|
||||
|
||||
def get_shard_from_table(self, table: str) -> Tuple[str, Optional[str]]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user