All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 34s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m7s
Build and Push Docker Images / Build Integrator (push) Successful in 55s
Build and Push Docker Images / Build Kestra Init (push) Successful in 31s
Build and Push Docker Images / Build Pipeline (Meltano + dbt + Airflow) (push) Successful in 1m28s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 1s
dbt default prepends the profile schema as prefix (public_staging, public_marts). Override to use custom schema names directly (staging, marts) so scripts can reference marts.dim_location correctly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 lines
225 B
SQL
8 lines
225 B
SQL
{% macro generate_schema_name(custom_schema_name, node) -%}
|
|
{%- if custom_schema_name is not none -%}
|
|
{{ custom_schema_name | trim }}
|
|
{%- else -%}
|
|
{{ target.schema }}
|
|
{%- endif -%}
|
|
{%- endmacro %}
|