From 609bb923d96aa5730131463ea35d5efdd404bf96 Mon Sep 17 00:00:00 2001 From: Tudor Date: Thu, 16 Jul 2026 08:54:14 +0100 Subject: [PATCH] fix: preserve literal 'NULL' strings for primary key columns --- pipeline/plugins/extractors/tap-uk-ofsted/tap_uk_ofsted/tap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/plugins/extractors/tap-uk-ofsted/tap_uk_ofsted/tap.py b/pipeline/plugins/extractors/tap-uk-ofsted/tap_uk_ofsted/tap.py index 2c3471a..289e356 100644 --- a/pipeline/plugins/extractors/tap-uk-ofsted/tap_uk_ofsted/tap.py +++ b/pipeline/plugins/extractors/tap-uk-ofsted/tap_uk_ofsted/tap.py @@ -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