debug(tap-uk-ofsted): log CSV column names to diagnose 0-record extraction
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 31s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m4s
Build and Push Docker Images / Build Pipeline (Meltano + dbt + Airflow) (push) Successful in 1m40s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 1s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-27 15:47:32 +00:00
parent 221923857d
commit e56a63c59c

View File

@@ -148,6 +148,8 @@ class OfstedInspectionsStream(Stream):
) )
col_map = self._resolve_columns(list(df.columns)) 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(): for _, row in df.iterrows():
record = {} record = {}