mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-28 02:46:09 +00:00
Fix Redshift profiler for external tables in Redshift Spectrum (#18182)
This commit is contained in:
parent
e21843b752
commit
fcd34afab5
@ -412,7 +412,7 @@ class RedshiftTableMetricComputer(BaseTableMetricComputer):
|
||||
)
|
||||
res = self.runner._session.execute(query).first()
|
||||
if not res:
|
||||
return None
|
||||
return super().compute()
|
||||
if res.rowCount is None or (
|
||||
res.rowCount == 0 and self._entity.tableType == TableType.View
|
||||
):
|
||||
|
Loading…
x
Reference in New Issue
Block a user