forked from dbt-labs/segment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdbt_project.yml
36 lines (30 loc) · 1.16 KB
/
dbt_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
name: 'segment'
version: '1.0'
require-dbt-version: ">=0.17.0"
config-version: 2
source-paths: ["models"]
analysis-paths: ["analysis"]
test-paths: ["tests"]
data-paths: ["data"]
macro-paths: ["macros"]
target-path: "target"
clean-targets:
- "target"
- "dbt_modules"
vars:
# location of raw data table
segment_page_views_table:
# number of trailing hours to re-sessionize for.
# events can come in late and we want to still be able to incorporate
# them into the definition of a session without needing a full refresh.
segment_sessionization_trailing_window: 3
# sessionization inactivity cutoff: of there is a gap in page view times
# that exceeds this number of seconds, the subsequent page view will
# start a new session.
segment_inactivity_cutoff: 30 * 60
# If there are extra columns you wish to pass through this package,
# define them here. Columns will be included in the `segment_web_sessions`
# model as `first_<column>` and `last_<column>`. Extremely useful when
# using this package on top of unioned Segment sources, as you can then
# pass through a column indicating which source the data is from.
segment_pass_through_columns: []