From e56a63c59c749ec3f40ddd67b68e6927b302c506 Mon Sep 17 00:00:00 2001 From: Tudor Date: Fri, 27 Mar 2026 15:47:32 +0000 Subject: [PATCH] debug(tap-uk-ofsted): log CSV column names to diagnose 0-record extraction Co-Authored-By: Claude Sonnet 4.6 --- pipeline/plugins/extractors/tap-uk-ofsted/tap_uk_ofsted/tap.py | 2 ++ 1 file changed, 2 insertions(+) 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 8f23d13..f1ba1f9 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 @@ -148,6 +148,8 @@ class OfstedInspectionsStream(Stream): ) col_map = self._resolve_columns(list(df.columns)) + self.logger.info("CSV columns: %s", list(df.columns)) + self.logger.info("Resolved column map: %s", col_map) for _, row in df.iterrows(): record = {}