v.19.16Improvement

Check TTL in Storagefactory

Check TTL in StorageFactory. #7304 (sundyli)
Add TTL support check in StorageFactory to ensure that table engines can properly handle TTL definitions.

Why it matters

This feature enhances ClickHouse by verifying TTL compatibility within StorageFactory, preventing misconfigurations and ensuring that TTL is only applied to supported table engines. It improves reliability and user experience when managing data lifecycle policies.

How to use it

Users benefit from automatic TTL support validation during table creation or alteration. No additional user action is required beyond defining TTL expressions in table schemas as usual.