Describe the bug
Modifying TTL on ReplicatedMergeTree
How to reproduce
19.6.2.11Which interface to use, if matters
clickhouse-client
Non-default settings, if any
n/a
CREATE TABLE statements for all tables involved
CREATE TABLE test.repl1 (
`dt` DateTime,
`test` Int64
) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{layer}-{shard}/test.repl1', '{replica}')
ORDER BY dt
SETTINGS index_granularity = 8192;
n/aALTER TABLE test.repl1 MODIFY TTL dt + INTERVAL 1 DAY;
Expected behavior
A clear and concise description of what you expected to happen.
SHOW CREATE TABLE test.repl1; should show TTL dt + toIntervalDay(1) but it doesn't.
Error message and/or stacktrace
If applicable, add screenshots to help explain your problem.
n/a
Additional context
Add any other context about the problem here.
Fixed in master and will be available in next testing release within a day.
Most helpful comment
Fixed in master and will be available in next testing release within a day.