Skip to content

Commit

Permalink
[DC-2692] removing unnecessary query
Browse files Browse the repository at this point in the history
  • Loading branch information
lrwb-aou committed Feb 27, 2023
1 parent d5dbaca commit 3cc0f63
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@
AND UPPER(qrai.type) = 'LANGUAGE'
""")

QRID_RID_MAPPING_QUERY = JINJA_ENV.from_string("""
-- must update the conduct_id now so the extension table is joinable on the de-identified survey_conduct table --
UPDATE `{{project_id}}.{{dataset_id}}.survey_conduct_ext` t
SET t.survey_conduct_id = m.research_response_id
FROM `{{project_id}}.{{deid_questionnaire_response_map_dataset_id}}.{{deid_questionnaire_response_map}}` m
WHERE t.survey_conduct_id = m.questionnaire_response_id
""")


class PopulateSurveyConductExt(BaseCleaningRule):
"""
Expand Down

0 comments on commit 3cc0f63

Please sign in to comment.