-
Notifications
You must be signed in to change notification settings - Fork 380
Expand file tree
/
Copy pathschema.yml
More file actions
54 lines (51 loc) · 1.23 KB
/
schema.yml
File metadata and controls
54 lines (51 loc) · 1.23 KB
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
version: 2
models:
- name: top_waiters
description: description of top waiters
columns:
- name: waiter_id
data_type: int
- name: revenue
data_type: double
- name: model_columns
data_type: int
freshness:
warn_after: {count: 6, period: hour}
error_after: {count: 7, period: hour}
config:
dialect: postgres
freshness:
warn_after: {count: 8, period: hour}
error_after: {count: 9, period: hour}
- name: waiters
description: '{{ doc("waiters") }}'
- name: waiter_as_customer_by_day
- name: waiter_revenue_by_day
versions:
- v: 1
- v: 2
- name: disabled_model
columns:
- name: one
tests:
- not_null
sources:
- name: streaming
schema: raw
tables:
- name: items
- name: orders
- name: order_items
freshness:
warn_after: {count: 10, period: hour}
error_after: {count: 11, period: hour}
config:
freshness:
warn_after: {count: 12, period: hour}
error_after: {count: 13, period: hour}
- name: parquet_file
meta:
external_location: "read_parquet('path/to/external/{name}.parquet')"
tables:
- name: items
- name: orders