fix: preserve literal 'NULL' strings for primary key columns #49

Merged
tudor merged 1 commits from feature/ingest-independent-schools into main 2026-07-16 07:54:41 +00:00
@@ -239,7 +239,7 @@ class OfstedInspectionsStream(Stream):
record = {} record = {}
for field, col in col_map.items(): for field, col in col_map.items():
val = row.get(col, None) val = row.get(col, None)
if pd.isna(val) or val == 'NULL': if pd.isna(val):
val = None val = None
record[field] = val record[field] = val