finance-dbt/profiles.yml
沈楠 d8963d0192
Some checks failed
MJN/finance-dbt/pipeline/head There was a failure building this commit
init: create finance-dbt
2024-04-08 14:45:21 +08:00

36 lines
1.1 KiB
YAML

finance_dbt:
target: "{{ env_var('FINANCE_DBT_TARGET') }}"
outputs:
.template: &default_template # 定义锚点
type: clickhouse
schema: "{{ env_var('FINANCE_CLICKHOUSE_DATABASE') }}"
# optional
driver: http
host: "{{ env_var('FINANCE_CLICKHOUSE_HOST') }}"
port: "{{ env_var('FINANCE_CLICKHOUSE_HTTP_PORT') | as_number }}"
user: "{{ env_var('FINANCE_CLICKHOUSE_USER') }}"
password: "{{ env_var('FINANCE_CLICKHOUSE_PASSWORD') }}"
verify: True
secure: False
retries: 1
compression: gzip
connect_timeout: 10
send_receive_timeout: 300
cluster_mode: False
use_lw_deletes: True
check_exchange: True
local_suffix: _local
allow_automatic_deduplication: True
custom_settings: {}
# Native (clickhouse-driver) connection settings
sync_request_timeout: 5
compress_block_size: 1048576
dev:
<<: *default_template # 引用锚点
test:
<<: *default_template # 引用锚点
prod:
<<: *default_template # 引用锚点
local_dev:
<<: *default_template # 引用锚点