From 5c366205f522d7d944fac86c71b51ac6113bdf23 Mon Sep 17 00:00:00 2001 From: Monica Senapati <89276149+senapatim@users.noreply.github.com> Date: Mon, 19 Dec 2022 15:28:25 -0600 Subject: [PATCH] fix(bigquery-legacy): Fix for TypeError related failures in legacy plugin (#6806) Co-authored-by: John Joyce --- metadata-ingestion/src/datahub/ingestion/source/sql/bigquery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata-ingestion/src/datahub/ingestion/source/sql/bigquery.py b/metadata-ingestion/src/datahub/ingestion/source/sql/bigquery.py index e9a82b4182..cc4affbe7d 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/sql/bigquery.py +++ b/metadata-ingestion/src/datahub/ingestion/source/sql/bigquery.py @@ -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]]: