fix: preserve literal 'NULL' strings for primary key columns #49
@@ -239,7 +239,7 @@ class OfstedInspectionsStream(Stream):
|
||||
record = {}
|
||||
for field, col in col_map.items():
|
||||
val = row.get(col, None)
|
||||
if pd.isna(val) or val == 'NULL':
|
||||
if pd.isna(val):
|
||||
val = None
|
||||
record[field] = val
|
||||
|
||||
|
||||
Reference in New Issue
Block a user