Skip to content

Commit

Permalink
style: Rearrange column order in Clickhouse migration
Browse files Browse the repository at this point in the history
  • Loading branch information
mattevans committed Nov 25, 2024
1 parent f5b7b6d commit 1a34078
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy/migrations/clickhouse/053_validator_block.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ CREATE TABLE default.beacon_api_eth_v3_validator_block_local ON CLUSTER '{cluste
) PARTITION BY toStartOfMonth(slot_start_date_time)
ORDER BY
(
event_date_time,
slot_start_date_time,
meta_network_name,
meta_client_name
meta_client_name,
event_date_time
)
COMMENT 'Contains beacon API /eth/v3/validator/blocks/{slot} data from each sentry client attached to a beacon node.';

Expand All @@ -62,9 +62,9 @@ CREATE TABLE default.beacon_api_eth_v3_validator_block ON CLUSTER '{cluster}' AS
default,
beacon_api_eth_v3_validator_block_local,
cityHash64(
event_date_time,
slot_start_date_time,
meta_network_name,
meta_client_name
meta_client_name,
event_date_time
)
);

0 comments on commit 1a34078

Please sign in to comment.