Fixes Bigquery Sample Data (#4747)

This commit is contained in:
Ayush Shah 2022-05-06 00:12:38 +05:30 committed by GitHub
parent b0a744507f
commit c420d163db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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