-
Notifications
You must be signed in to change notification settings - Fork 4
/
reflekt_project.yml
48 lines (42 loc) · 2.48 KB
/
reflekt_project.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This repo stores the core Reflekt codebase, but is also a Reflekt project itself.
# Explore the schemas/ and artifacts/ directories to see how we use Reflekt internally.
# GENERAL CONFIG ----------------------------------------------------------------------
version: 1.0
name: jaffle_shop # Project name
vendor: com.thejaffleshop # Default vendor for schemas in reflekt project
default_profile: dev_segment_snowflake # Default profile to use from reflekt_profiles.yml
profiles_path: ./reflekt_profiles.yml # Path to reflekt_profiles.yml
# SCHEMAS CONFIG ----------------------------------------------------------------------
schemas: # Define schema conventions
conventions:
event:
casing: title # title | snake | camel | pascal | any
numbers: false # Allow numbers in event names
reserved: [] # Reserved event names
property:
casing: snake # title | snake | camel | pascal | any
numbers: false # Allow numbers in property names
reserved: [] # Reserved property names
data_types: [ # Allowed data types
string, integer, number, boolean, object, array, any, 'null'
]
# REGISTRY CONFIG ---------------------------------------------------------------------
registry: # Additional config for schema registry if needed
avo: # Avo specific config
branches: # Provide ID for Avo branches for `reflekt pull` to work
staging: HqC13KbRJ # Safe to version control (See Avo docs to find branch ID: https://bit.ly/avo-docs-branch-id)
main: main # 'main' always refers to the main branch
# ARTIFACTS CONFIG -----------------------------------------------------------------------
artifacts: # Configure how data artifacts are built
dbt: # dbt package config
sources:
prefix: __src_ # Source files start with this prefix
models:
prefix: stg_ # Model files start with this prefix
filter: # Filter for model files (can be empty string)
where received_at < getdate()
docs:
prefix: _stg_ # Docs files start with this prefix
in_folder: false # Docs files in separate folder?
tests: # Add generic dbt tests for columns found in schemas
id: [unique, not_null]