Files
dbt-project-evaluator/seeds/seeds.yml
2024-09-03 14:34:31 +02:00

26 lines
1.2 KiB
YAML

version: 2
seeds:
- name: dbt_project_evaluator_exceptions
description: List of exceptions not to be reported.
config:
column_types:
fct_name: "{{ 'varchar' if target.type in ['redshift', 'postgres', 'snowflake', 'trino', 'greenplum'] else 'String' if target.type in ['clickhouse'] else 'string' }}"
column_name: "{{ 'varchar' if target.type in ['redshift', 'postgres', 'snowflake', 'trino', 'greenplum'] else 'String' if target.type in ['clickhouse'] else 'string' }}"
id_to_exclude: "{{ 'varchar' if target.type in ['redshift', 'postgres', 'snowflake', 'trino', 'greenplum'] else 'String' if target.type in ['clickhouse'] else 'string' }}"
comment: "{{ 'varchar' if target.type in ['redshift', 'postgres', 'snowflake', 'trino', 'greenplum'] else 'String' if target.type in ['clickhouse'] else 'string' }}"
columns:
- name: fct_name
description: Name of the fact table to define exceptions.
- name: column_name
description: Column name from fct_name to define exceptions.
- name: id_to_exclude
description: Values (or like pattern) to exclude for column_name.
- name: comment
description: Field to document why a given exception is legitimate.