mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-02 11:39:12 +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():
|
||||
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=table_entity, database=self._get_database(schema)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user