diff --git a/ingestion/src/metadata/ingestion/source/sql_source.py b/ingestion/src/metadata/ingestion/source/sql_source.py index 550a760761a..c4718a45322 100644 --- a/ingestion/src/metadata/ingestion/source/sql_source.py +++ b/ingestion/src/metadata/ingestion/source/sql_source.py @@ -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)