Skip to content

Commit f3878f3

Browse files
Update refinitiv-data.bulk.config.json regarding variable syntax changes.
1 parent df37c14 commit f3878f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Examples/2-Content/2.04-ESG/refinitiv-data.bulk.config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
"check-if-exists-query": "SELECT name FROM sqlite_master WHERE type='table'"
3030
}
3131
],
32-
"search-query": "SELECT * FROM MY_STANDARD_SCORES_TABLE WHERE INSTRUMENT IN #universe#",
32+
"search-query": "SELECT * FROM MY_STANDARD_SCORES_TABLE WHERE INSTRUMENT IN #{universe}",
3333
"insert-queries": [
34-
"REPLACE INTO MY_STANDARD_SCORES_TABLE(ORGANIZATION, INSERT_DATE, INSTRUMENT, PERIOD_END_DATE, ESG_C_SCORE, ESG_SCORE,ENVIRONMENT_PILLAR_SCORE, SOCIAL_PILLAR_SCORE, GOVERNANCE_PILLAR_SCORE)VALUES ('#Fields.ESGOrganization.Names.Name.OrganizationName.0.OrganizationNormalizedName#', '#File.DateTime#','#Fields.StatementDetails.OrganizationId#', '#Fields.StatementDetails.FinancialPeriodEndDate#','#Fields.ESGScores.ESGCombinedScore.Value#', '#Fields.ESGScores.ESGScore.Value#','#Fields.ESGScores.EnvironmentPillarScore.Value#', '#Fields.ESGScores.SocialPillarScore.Value#','#Fields.ESGScores.GovernancePillarScore.Value#')"
34+
"REPLACE INTO MY_STANDARD_SCORES_TABLE(ORGANIZATION, INSERT_DATE, INSTRUMENT, PERIOD_END_DATE, ESG_C_SCORE, ESG_SCORE,ENVIRONMENT_PILLAR_SCORE, SOCIAL_PILLAR_SCORE, GOVERNANCE_PILLAR_SCORE)VALUES ('#{Fields.ESGOrganization.Names.Name.OrganizationName.0.OrganizationNormalizedName}', '#{File.DateTime}','#{Fields.StatementDetails.OrganizationId}', '#{Fields.StatementDetails.FinancialPeriodEndDate}','#{Fields.ESGScores.ESGCombinedScore.Value}', '#{Fields.ESGScores.ESGScore.Value}','#{Fields.ESGScores.EnvironmentPillarScore.Value}', '#{Fields.ESGScores.SocialPillarScore.Value}','#{Fields.ESGScores.GovernancePillarScore.Value}')"
3535
],
3636
"stop-on-error": false,
3737
"clean-up-queries": [
@@ -51,5 +51,5 @@
5151
}
5252
}
5353
}
54-
}
54+
}
5555
}

0 commit comments

Comments
 (0)