diff --git a/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml b/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml index 0839283a1d2..30f3c7557b4 100644 --- a/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml +++ b/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml @@ -702,7 +702,7 @@ WITH cna_query AS ( - SELECT sample_unique_id, alteration_value + SELECT sample_unique_id as sampleUniqueId, alteration_value FROM genetic_alteration_derived WHERE profile_type = #{genomicDataFilter.profileType} AND hugo_gene_symbol = #{genomicDataFilter.hugoGeneSymbol} @@ -714,7 +714,7 @@ SELECT DISTINCT sd.sample_unique_id FROM sample_derived sd - LEFT JOIN cna_query ON sd.sample_unique_id = cna_query.sample_unique_id + LEFT JOIN cna_query ON sd.sample_unique_id = cna_query.sampleUniqueId WHERE cancer_study_identifier IN #{studyId} diff --git a/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewMapper.xml b/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewMapper.xml index d91ff582ffe..e140fd00b6d 100644 --- a/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewMapper.xml +++ b/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewMapper.xml @@ -258,7 +258,7 @@