Skip to content

Commit

Permalink
Fix CH primary keying of genetic-alteration-derived (#11268)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisman authored Dec 11, 2024
1 parent 9c109f6 commit 1107607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/db-scripts/clickhouse/clickhouse.sql
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ CREATE TABLE IF NOT EXISTS genetic_alteration_derived
hugo_gene_symbol String,
profile_type LowCardinality(String),
alteration_value Nullable(String)
)
)
ENGINE = MergeTree()
ORDER BY (profile_type, cancer_study_identifier, sample_unique_id, hugo_gene_symbol);
ORDER BY (cancer_study_identifier, hugo_gene_symbol, profile_type, sample_unique_id);

INSERT INTO TABLE genetic_alteration_derived
SELECT
Expand Down

0 comments on commit 1107607

Please sign in to comment.