fix(dbt): add search_path to profile so PostGIS functions resolve in all schemas
Some checks failed
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 34s
Build and Push Docker Images / Build Integrator (push) Has been cancelled
Build and Push Docker Images / Build Kestra Init (push) Has been cancelled
Build and Push Docker Images / Build Pipeline (Meltano + dbt + Airflow) (push) Has been cancelled
Build and Push Docker Images / Trigger Portainer Update (push) Has been cancelled
Build and Push Docker Images / Build Frontend (Next.js) (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-26 21:45:53 +00:00
parent b7cc01f26f
commit 03256fed41
2 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ select
s.northing, s.northing,
case case
when s.easting is not null and s.northing is not null when s.easting is not null and s.northing is not null
then public.ST_Transform(public.ST_SetSRID(public.ST_MakePoint(s.easting::double precision, s.northing::double precision), 27700), 4326) then ST_Transform(ST_SetSRID(ST_MakePoint(s.easting::double precision, s.northing::double precision), 27700), 4326)
else null else null
end as geom end as geom
from {{ ref('stg_gias_establishments') }} s from {{ ref('stg_gias_establishments') }} s

View File

@@ -19,4 +19,5 @@ school_compare:
password: "{{ env_var('PG_PASSWORD') }}" password: "{{ env_var('PG_PASSWORD') }}"
dbname: "{{ env_var('PG_DATABASE') }}" dbname: "{{ env_var('PG_DATABASE') }}"
schema: public schema: public
search_path: public,staging,intermediate,marts
threads: 4 threads: 4