From 9ddda9c2468c696c5a4b09cdf06d456537d65ff0 Mon Sep 17 00:00:00 2001 From: Suman Maharana Date: Tue, 11 Mar 2025 23:25:15 +0530 Subject: [PATCH] Fix table constraint error (#20191) --- .../src/metadata/ingestion/source/database/common_db_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingestion/src/metadata/ingestion/source/database/common_db_source.py b/ingestion/src/metadata/ingestion/source/database/common_db_source.py index 2033712e90b..a5da80460cb 100644 --- a/ingestion/src/metadata/ingestion/source/database/common_db_source.py +++ b/ingestion/src/metadata/ingestion/source/database/common_db_source.py @@ -720,7 +720,7 @@ class CommonDbSourceService( table_constraints.extend( constraint for constraint in foreign_table_constraints - if constraint not in table_constraints + if constraint and constraint not in table_constraints ) else: table_constraints = foreign_table_constraints