Skip to content

Commit febfaee

Browse files
author
Student
committed
add sling replications
1 parent 127655c commit febfaee

3 files changed

Lines changed: 27 additions & 0 deletions

File tree

sling/placeholder.txt

Whitespace-only changes.

sling/replication-franchise.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
source: GOOGLE-STORAGE
2+
target: PG-ANALYTICS
3+
4+
defaults:
5+
object: 'raw_google_sheets.franchise_{stream_file_name}'
6+
mode: full-refresh
7+
source_options:
8+
format: csv
9+
10+
streams:
11+
"gs://franchise-data/actives.csv":
12+
"gs://franchise-data/coaches.csv":
13+
"gs://franchise-data/general_managers.csv":
14+
"gs://franchise-data/inactives.csv":
15+

sling/replication-nba.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
source: PG-BASKETBALL-DB
2+
target: PG-ANALYTICS
3+
4+
defaults:
5+
# object: 'raw_{stream_schema}.{stream_table}'
6+
object: 'raw_nba.{stream_table}' # updated (correct) version - watch end of video
7+
mode: full-refresh
8+
9+
streams:
10+
nba_data.games_response:
11+
nba_data.teams_response:
12+

0 commit comments

Comments
 (0)