From c420d163dbd3ee489ab6a703734518f394bd25e4 Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Fri, 6 May 2022 00:12:38 +0530 Subject: [PATCH] Fixes Bigquery Sample Data (#4747) --- ingestion/src/metadata/ingestion/source/bigquery.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ingestion/src/metadata/ingestion/source/bigquery.py b/ingestion/src/metadata/ingestion/source/bigquery.py index d8661f65cf3..a6a44a4167f 100644 --- a/ingestion/src/metadata/ingestion/source/bigquery.py +++ b/ingestion/src/metadata/ingestion/source/bigquery.py @@ -151,9 +151,8 @@ class BigquerySource(SQLSource): return TableData(columns=cols, rows=rows) except Exception as err: logger.error(err) - return [] - - super().fetch_sample_data(schema, table) + else: + return super().fetch_sample_data(schema, table) def _get_database(self, database: Optional[str]) -> Database: if not database: