Skip to content

Commit

Permalink
Fix patient_derived table population (patient stable id was getting b…
Browse files Browse the repository at this point in the history
…ase64) (#10898)
  • Loading branch information
alisman authored Jul 18, 2024
1 parent 0dfb346 commit 6df137f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/db-scripts/clickhouse/clickhouse.sql
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ SELECT concat(cs.cancer_study_identifier, '_', sample.stable_id) AS sample_uniqu
base64Encode(sample.stable_id) AS sample_unique_id_base64,
sample.stable_id AS sample_stable_id,
concat(cs.cancer_study_identifier, '_', p.stable_id) AS patient_unique_id,
p.stable_id AS patient_stable_id,
base64Encode(p.stable_id) AS patient_unique_id_base64,
p.stable_id AS patient_stable_id,
cs.cancer_study_identifier AS cancer_study_identifier,
sample.internal_id AS internal_id
FROM sample
Expand Down

0 comments on commit 6df137f

Please sign in to comment.