Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nithunikzz committed Nov 1, 2023
1 parent f4a868c commit 44f0c4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sql/20230915101223_events.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ CREATE TABLE IF NOT EXISTS events (
Event String,
FirstTime String,
LastTime String
) engine=File(TabSeparated);
) ENGINE = MergeTree()
ORDER BY (ClusterName, EventTime)
TTL EventTime + INTERVAL 30 DAY
SETTINGS index_granularity = 8192;

0 comments on commit 44f0c4c

Please sign in to comment.