Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding config for 20230831 index for SD Cohort Builder. #680

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
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": "[email protected]",
"gcsTempDirectory": "gs://dataflow-indexing-victr-tanagra-deploytest/temp/",
"workerMachineType": "n1-standard-4",
"usePublicIps": false
}
}