14 lines
No EOL
274 B
SQL
14 lines
No EOL
274 B
SQL
{% macro generate_schema_name(custom_schema_name, node) -%}
|
|
|
|
{%- set default_schema = target.schema -%}
|
|
{%- if custom_schema_name is none -%}
|
|
|
|
{{ default_schema }}
|
|
|
|
{%- else -%}
|
|
|
|
{{ custom_schema_name | trim }}
|
|
|
|
{%- endif -%}
|
|
|
|
{%- endmacro %} |