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
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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user