mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
7 lines
224 B
SQL
7 lines
224 B
SQL
DROP TABLE IF EXISTS ttl_old_syntax;
|
|
|
|
CREATE TABLE ttl_old_syntax (d Date, i Int) ENGINE = MergeTree(d, i, 8291);
|
|
ALTER TABLE ttl_old_syntax MODIFY TTL toDate('2020-01-01'); -- { serverError 36 }
|
|
|
|
DROP TABLE ttl_old_syntax;
|