mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-13 17:32:53 +00:00
* Fix #853: Ingestion: handle profiler returning None * Fix #853: Ingestion: handle profiler returning None
This commit is contained in:
parent
1db18a50cf
commit
ee1ec15ef9
@ -240,7 +240,9 @@ class SQLSource(Source):
|
|||||||
|
|
||||||
if self._instantiate_profiler():
|
if self._instantiate_profiler():
|
||||||
profile = self.run_data_profiler(table_name, schema)
|
profile = self.run_data_profiler(table_name, schema)
|
||||||
table_entity.tableProfile = [profile]
|
table_entity.tableProfile = (
|
||||||
|
[profile] if profile is not None else None
|
||||||
|
)
|
||||||
|
|
||||||
table_and_db = OMetaDatabaseAndTable(
|
table_and_db = OMetaDatabaseAndTable(
|
||||||
table=table_entity, database=self._get_database(schema)
|
table=table_entity, database=self._get_database(schema)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user