Skip to content

Commit

Permalink
Merge pull request #80 from TeoMeWhy/feat/dota
Browse files Browse the repository at this point in the history
Add team_last_seen
  • Loading branch information
TeoCalvo authored Aug 24, 2023
2 parents 56928ee + ddfa7f7 commit 5117a65
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/03.silver/dota/etl/team_last_seen.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
SELECT idTeam,
descTeamName,
descTeamTag,
urlteamLogo

FROM silver.dota.matches_teams

QUALIFY ROW_NUMBER() OVER (PARTITION BY descTeamName ORDER BY dtMatch) = 1
18 changes: 18 additions & 0 deletions src/06.workflows/data4u_dota.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,24 @@
"timeout_seconds": 0,
"email_notifications": {}
},
{
"task_key": "silver_team_last_seen",
"depends_on": [
{
"task_key": "silver_matches_teams"
}
],
"notebook_task": {
"notebook_path": "src/03.silver/dota/ingestao",
"base_parameters": {
"table": "team_last_seen"
},
"source": "GIT"
},
"existing_cluster_id": "0809-155233-nc569ju7",
"timeout_seconds": 0,
"email_notifications": {}
},
{
"task_key": "fs_players_30",
"depends_on": [
Expand Down

0 comments on commit 5117a65

Please sign in to comment.