Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Commit efed3c4

Browse files
committed
docs(readme): add ttl
1 parent bf33667 commit efed3c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ CREATE TABLE github_events_raw
1313
raw String CODEC (ZSTD(16))
1414
) ENGINE = ReplacingMergeTree
1515
PARTITION BY toYYYYMMDD(ts)
16-
ORDER BY (ts, id);
16+
ORDER BY (ts, id)
17+
TTL ts + INTERVAL 3 DAY;
1718
```
1819

1920
Alternative to [gharchive crawler](https://github.com/igrigorik/gharchive.org/tree/master/crawler) with

0 commit comments

Comments
 (0)