v.24.11Experimental Feature
Forbid Dynamic/Variant Types in Min/Max Functions
Forbid Dynamic/Variant types in min/max functions to avoid confusion. #71761 (Pavel Kruglov).
Why it matters
The feature addresses ambiguity and unexpected behavior that can arise when using Dynamic or Variant types withmin and max functions. By forbidding these types, it ensures more predictable and consistent query results for users.How to use it
This change is enforced automatically in ClickHouse from the specified version onward. Users should avoid using Dynamic or Variant columns as arguments tomin and max functions in their queries.