v.22.3Improvement
Ignore TTL in CREATE TABLE AS for unsupported table engines
Ignore per-columnTTLinCREATE TABLE ASif new table engine does not support it (i.e. if the engine is not ofMergeTreefamily). #34938 (Azat Khuzhin).
Why it matters
This feature prevents errors and unintended behavior by automatically disregarding per-column TTL expressions during table creation when using engines that do not support TTL, ensuring smoother table creation workflows and better compatibility across different table engines.How to use it
When executingCREATE TABLE new_table AS existing_table, ensure the target table engine supports TTL (typically MergeTree family). If it does not, any per-column TTL defined in the source table will be ignored automatically without causing errors.