v.25.7Improvement

Preserve element names when deriving supertypes

Preserve element names when deriving supertypes for named tuples. #81345 (lgbo).
Preserve element names when deriving supertypes for named tuples in ClickHouse.

Why it matters

This feature ensures that when the system derives supertypes for named tuples, the element names within those tuples are preserved. This improves clarity and consistency in query results and schema definitions involving named tuples by retaining the original field names instead of losing them during type derivation.

How to use it

This behavior is applied automatically when using named tuples in queries or schema declarations involving tuple supertypes. No additional configuration or commands are required to enable this feature.