Nifi init
This commit is contained in:
13
nifi/sql/load/08_fact_club_standing.sql
Normal file
13
nifi/sql/load/08_fact_club_standing.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
INSERT INTO FACT_CLUB_STANDING (
|
||||
org_key, final_rank, total_points, prize_money_usd,
|
||||
tournament_wins, top_8_finishes, eligible_to_win
|
||||
)
|
||||
SELECT
|
||||
(SELECT org_key FROM DIM_ORGANIZATION WHERE org_id = ${organization_id}),
|
||||
${final_rank},
|
||||
${total_points},
|
||||
${prize_money_usd},
|
||||
${tournament_wins},
|
||||
${top_8_finishes},
|
||||
${eligible_to_win}
|
||||
FROM DUAL
|
||||
Reference in New Issue
Block a user