Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions models/intermediate/replay_matches.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
SELECT
d.id AS replay_id,
d.fileName AS replay_file_name,
m.scriptName AS replay_map,
d.engineVersion AS engine,
d.gameVersion AS game_version,
Expand Down
3 changes: 3 additions & 0 deletions models/intermediate/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ models:
- name: replay_id
data_tests:
- unique
- name: replay_file_name
data_tests:
- not_null
- name: replay_start_time
data_tests:
- not_null
Expand Down
1 change: 1 addition & 0 deletions models/marts/matches.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SELECT
game_duration,
is_ranked,
replay_id,
replay_file_name,
engine,
game_version,
is_public
Expand Down
4 changes: 4 additions & 0 deletions models/marts/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ models:
https://www.beyondallreason.info/replays?gameId={replay_id}
data_tests:
- unique
- name: replay_file_name
data_type: string
description: |
Object name of the replay demo on BAR's public storage.
- name: start_time
data_type: timestamp
description: UTC time of when the match started
Expand Down
Loading