๐Ÿ“ฆ pgoslatara / dbt-beyond-the-basics

๐Ÿ“„ dbt-bouncer.yml ยท 33 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33catalog_checks:
  - name: check_column_name_complies_to_column_type
    column_name_pattern: ^is_.*
    types:
      - BOOLEAN

manifest_checks:
  - name: check_macro_arguments_description_populated
  - name: check_macro_description_populated
  - name: check_macro_name_matches_file_name

  - name: check_model_description_populated
  - name: check_model_documented_in_same_directory
  - name: check_model_has_unique_test
  - name: check_model_max_number_of_lines
    max_number_of_lines: 100
  - name: check_model_names
    include: ^models/intermediate
    model_name_pattern: ^int_
  - name: check_model_names
    include: ^models/marts
    model_name_pattern: ^dim_|^fct_
  - name: check_model_names
    include: ^models/staging
    model_name_pattern: ^stg_

run_results_checks:
  - name: check_run_results_max_execution_time
    max_execution_time_seconds: 60
  - name: check_run_results_max_gigabytes_billed
    max_gigabytes_billed: 10
    exclude: ^seeds