From 3731006731b1547edd0b74a551c10cc0fc674a3a Mon Sep 17 00:00:00 2001 From: Eloy Felix Date: Fri, 17 Jan 2025 21:56:07 +0000 Subject: [PATCH] try to prevent casing issues --- cbl_migrator/migrator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cbl_migrator/migrator.py b/cbl_migrator/migrator.py index 19e0e68..667e50b 100644 --- a/cbl_migrator/migrator.py +++ b/cbl_migrator/migrator.py @@ -148,10 +148,10 @@ def __init__( self.n_cores = n_workers self.exclude_fields = {} for item in exclude_fields: - table, field = item.split(".") + table, field = item.lower().split(".") if table not in self.exclude_fields: - self.exclude_fields[table.lower()] = [] - self.exclude_fields[table.lower()].append(field.lower()) + self.exclude_fields[table] = [] + self.exclude_fields[table].append(field) o_eng = create_engine(self.o_eng_conn) metadata = MetaData()