fix: preserve literal 'NULL' strings for primary key columns
PR Checks / Frontend Typecheck + Tests (pull_request) Successful in 1m3s
PR Checks / Backend Smoke (pull_request) Successful in 7s
PR Checks / Build Backend (no push) (pull_request) Successful in 10s
PR Checks / Build Frontend (no push) (pull_request) Successful in 48s
PR Checks / Build Pipeline (no push) (pull_request) Successful in 47s
PR Checks / AI Code Review (Claude) (pull_request) Successful in 8s

This commit is contained in:
Tudor
2026-07-16 08:54:14 +01:00
parent 95f10bf352
commit 609bb923d9
@@ -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