From acecea46fe9f7a25cf20b72e7a790cd5303397d1 Mon Sep 17 00:00:00 2001 From: Marko Topolnik Date: Fri, 10 Jan 2025 11:37:07 +0100 Subject: [PATCH] Fix docs in CREATE TABLE --- documentation/reference/sql/create-table.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/reference/sql/create-table.md b/documentation/reference/sql/create-table.md index 89cd0db..63f6173 100644 --- a/documentation/reference/sql/create-table.md +++ b/documentation/reference/sql/create-table.md @@ -141,7 +141,8 @@ created. ## Time To Live (TTL) To store and analyze only recent data, configure a time-to-live (TTL) period on -a table using the `ALTER TABLE SET TTL` command. +a table using the `TTL` clause, placing it right after `PARTITION BY `. +You can't set TTL on a non-partitioned table. Follow the `TTL` keyword with a number and a time unit, one of: