From 6ce1bd7f1369cc520a72a8b70276607bce3b4271 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) (cherry picked from commit 9ddda9c2468c696c5a4b09cdf06d456537d65ff0) --- .../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 fc3c77f6eb9..2080d611862 100644 --- a/ingestion/src/metadata/ingestion/source/database/common_db_source.py +++ b/ingestion/src/metadata/ingestion/source/database/common_db_source.py @@ -712,7 +712,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