Skip to content

Commit

Permalink
Rename views to be friendlier for namespace pollution (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigrmccown authored Aug 29, 2023
1 parent 1395a34 commit e991134
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ models:

vars:
events_table: fullstory_events_integration_tests
sessions_identifier: fullstory_sessions_integration_tests
users_identifier: fullstory_users_integration_tests
dbt_date:time_zone: Etc/UTC
fullstory_replay_host: app.fullstory.com
fullstory_events_types:
Expand Down
1 change: 1 addition & 0 deletions models/_session_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ models:
- name: sessions
access: public
config:
alias: "{% if var('sessions_identifier', '') %}{{ var('sessions_identifier') }}{% else %}{% if target.type == 'bigquery' %}fullstory_sessions_{{ modules.re.sub('[^a-zA-Z\\d_\\-]', '_', target.name) }}{% else %}sessions{% endif %}{% endif %}"
contract:
enforce: true
description: |-
Expand Down
1 change: 1 addition & 0 deletions models/_user_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ models:
- name: users
access: public
config:
alias: "{% if var('users_identifier', '') %}{{ var('users_identifier') }}{% else %}{% if target.type == 'bigquery' %}fullstory_users_{{ modules.re.sub('[^a-zA-Z\\d_\\-]', '_', target.name) }}{% else %}users{% endif %}{% endif %}"
contract:
enforce: true
description: |-
Expand Down
4 changes: 2 additions & 2 deletions seeds/_schema.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2

seeds:
- name: event_types
- name: fullstory_event_types
description: Classifiers for the types of event.
columns:
- name: name
Expand All @@ -10,7 +10,7 @@ seeds:
- not_null
- name: description

- name: source_types
- name: fullstory_source_types
description: Classifiers for the originating source of events.
columns:
- name: name
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit e991134

Please sign in to comment.