v.22.6Improvement

Closes issue #37395 and PR #37415 by Memo

Closes #37395. #37415 (Memo).
TTL expressions on columns with the LowCardinality type are now supported in ClickHouse.

Why it matters

This feature addresses the limitation where TTL expressions could not be utilized on LowCardinality columns, enabling users to define data retention and automatic data expiration policies for such columns. This enhances data lifecycle management and storage optimization for tables using LowCardinality types.

How to use it

Users can define TTL expressions directly on columns with the LowCardinality type in table definitions or using ALTER TABLE statements. The TTL expressions can specify expiration rules as usual, and they will now correctly apply to LowCardinality columns.