diff --git a/pipeline/transform/models/marts/dim_location.sql b/pipeline/transform/models/marts/dim_location.sql index 5993719..11fc951 100644 --- a/pipeline/transform/models/marts/dim_location.sql +++ b/pipeline/transform/models/marts/dim_location.sql @@ -17,7 +17,7 @@ select s.northing, case when s.easting is not null and s.northing is not null - then ST_Transform(ST_SetSRID(ST_MakePoint(s.easting, s.northing), 27700), 4326) + then ST_Transform(ST_SetSRID(ST_MakePoint(s.easting::double precision, s.northing::double precision), 27700), 4326) else null end as geom from {{ ref('stg_gias_establishments') }} s