v.20.1Improvement

Check for Date or DateTime column usage in TTL expressions removed

Check for using Date or DateTime column from TTL expressions was removed. #7920 (Vladimir Chebotarev)
Removed the restriction disallowing Date or DateTime columns from being used in TTL expressions.

Why it matters

This change enables users to define TTL expressions using Date and DateTime columns, providing more flexibility in data lifecycle management by allowing TTL rules based on date and datetime values directly.

How to use it

Users can now specify TTL expressions using columns of types Date or DateTime without encountering errors. Simply include these columns in the TTL clause when creating or altering tables.