-
Notifications
You must be signed in to change notification settings - Fork 1
/
sources.yml
77 lines (60 loc) · 1.49 KB
/
sources.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: 2
sources:
- name: seed_db
# The database line is where your BigQuery database name should go to contain the schema.
# Enter it below:
database: (Your DB name)
# This schema should be under the database on line 7, where dbt will generate source tables there.
# Enter it below:
schema: (Your schema name)
quoting:
database: false
schema: false
identifier: false
tables:
- name: games_src
columns:
- name: username
tests:
- not_null
- name: deaths
tests:
- not_null
- name: kills
tests:
- not_null
- name: assists
tests:
- not_null
- name: game_start
tests:
- not_null
- name: game_end
tests:
- not_null
- name: damage_done
tests:
- not_null
- name: damage_taken
tests:
- not_null
- name: win
tests:
- not_null
- name: users_src
columns:
- name: username
tests:
- not_null
- name: first_name
tests:
- not_null
- name: last_name
tests:
- not_null
- name: email
tests:
- not_null
- name: date_joined
tests:
- not_null