Skip to content

Commit

Permalink
fix(deploy/migrations): remove parititons from validator split migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Savid committed Jun 17, 2024
1 parent b42ce5c commit 723187b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ CREATE TABLE default.canonical_beacon_validators_pubkeys_local on cluster '{clus
meta_consensus_implementation LowCardinality(String),
meta_labels Map(String, String) CODEC(ZSTD(1))
) Engine = ReplicatedReplacingMergeTree('/clickhouse/{installation}/{cluster}/tables/{shard}/{database}/{table}', '{replica}', `version`)
PARTITION BY toStartOfMonth(epoch_start_date_time)
ORDER BY (index, pubkey, meta_network_name);

ALTER TABLE default.canonical_beacon_validators_pubkeys_local ON CLUSTER '{cluster}'
Expand Down Expand Up @@ -189,7 +188,6 @@ CREATE TABLE default.canonical_beacon_validators_withdrawal_credentials_local on
meta_consensus_implementation LowCardinality(String),
meta_labels Map(String, String) CODEC(ZSTD(1))
) Engine = ReplicatedReplacingMergeTree('/clickhouse/{installation}/{cluster}/tables/{shard}/{database}/{table}', '{replica}', `version`)
PARTITION BY toStartOfMonth(epoch_start_date_time)
ORDER BY (index, withdrawal_credentials, meta_network_name);

ALTER TABLE default.canonical_beacon_validators_withdrawal_credentials_local ON CLUSTER '{cluster}'
Expand Down

0 comments on commit 723187b

Please sign in to comment.