v.21.2Improvements
Restrict MODIFY TTL Queries for Legacy MergeTree Tables
RestrictMODIFY TTLqueries forMergeTreetables created in old syntax. Previously the query succeeded, but actually it had no effect. #19064 (Anton Popov).
Why it matters
Previously, users could runMODIFY TTL queries on MergeTree tables defined with the old syntax, but these queries would succeed without actually applying any changes. This feature prevents such misleading executions by restricting MODIFY TTL on old syntax tables, improving the correctness and reliability of TTL modifications.How to use it
Users do not need to take any explicit action to enable this restriction. When attempting to runMODIFY TTL on MergeTree tables created with the old syntax, the query will now be blocked to avoid ineffective operations.