Skip to content

DBT Macro: Configure Ducklake Pool

DBT macro name: trase_duckdb.configure_ducklake_pool

DBT details


Description

No description


Details

Not referenced by any model or test.

{% macro configure_ducklake_pool() %}
    {% if not execute %}
        {{ return('') }}
    {% endif %}
    {% set catalog_alias = env_var('TRASE_DUCKLAKE__CATALOG_ALIAS', 'trase_ducklake') %}
    SET GLOBAL pg_pool_max_connections = 64;
    FROM postgres_configure_pool(
      catalog_name := '__ducklake_metadata_{{ catalog_alias }}',
      max_connections := 64
    );
{% endmacro %}