Skip to content
Open
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
25 changes: 25 additions & 0 deletions underlay/src/main/resources/config/indexer/sd20230831_vumc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"underlay": "sd20230831",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This underlay name needs to match a file in the config/underlay directory. You can either:

  • Use the existing sd020230331 underlay. This means that the data mapping is exactly the same (e.g. no table name or column data type changes). This is how I test ran the indexing on the refresh dataset. If we use the same underlay for multiple SD datasets, perhaps it would be better to change the underlay name to just sd_version1 or something without the exact date in the name.
  • Create a new sd20230831 underlay. This would let us change the data mapping, even if only slightly. We're going to have to do this eventually to update the race field name race_concept_id -> race_source_concept_id, but doesn't have to be part of this PR.

"bigQuery": {
"sourceData": {
"projectId": "sd-vumc-tanagra-test",
"datasetId": "sd_20230831",
"sqlSubstitutions": {
"omopDataset": "sd-vumc-tanagra-test.sd_20230831",
"staticTablesDataset": "sd-vumc-tanagra-test.sd_20230831"
}
},
"indexData": {
"projectId": "victr-tanagra-deploytest",
"datasetId": "sd_20230831_indexes"
},
"queryProjectId": "victr-tanagra-deploytest",
"dataLocation": "us-central1"
},
"dataflow": {
"serviceAccountEmail": "victr-tanagra-deploytest@appspot.gserviceaccount.com",
"gcsTempDirectory": "gs://dataflow-indexing-victr-tanagra-deploytest/temp/",
"workerMachineType": "n1-standard-4",
"usePublicIps": false
}
}