diff --git a/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml b/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml index 7932a1841d5..3be2106a679 100644 --- a/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml +++ b/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml @@ -23,7 +23,7 @@ SELECT sample_unique_id FROM sample_list_list sll - LEFT JOIN sample_mv s ON sll.sample_id=s.internal_id + LEFT JOIN sample_derived s ON sll.sample_id=s.internal_id LEFT JOIN sample_list sl on sll.list_id=sl.list_id WHERE diff --git a/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewMapper.xml b/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewMapper.xml index 97854b43b90..b907d2a9f16 100644 --- a/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewMapper.xml +++ b/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewMapper.xml @@ -160,7 +160,7 @@ REPLACE(stable_id, CONCAT(cancer_study_identifier, '_'), '') AS value, count(sample_id) AS count FROM sample_list_list sll - LEFT JOIN sample_mv s ON sll.sample_id=s.internal_id + LEFT JOIN sample_derived s ON sll.sample_id=s.internal_id LEFT JOIN sample_list sl on sll.list_id=sl.list_id sample_unique_id IN ( )