fix(dbt): stg_gias_ukprn reads URN as the bigint target-postgres loads (H4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TudorandClaude Opus 5.5 committed 2026-10-13 21:28:51 +01:00
1 parent 8e82e2e4cf
commit cfc9367bb3
1 file changed
+2 -1
@@ -8,4 +8,5 @@ select
cast("URN" as integer) as urn,
nullif(trim("UKPRN"), '') as ukprn
from {{ source('raw', 'gias_establishments') }}
where "URN" ~ '^[0-9]+$'
-- target-postgres types URN as bigint (the tap declares an integer).
where "URN" is not null