v.25.7Improvement

Prevent user from using nan and inf

Prevent user from using nan and inf with NumericIndexedVector. Fixes #82239 and a little more. #82681 (Raufs Dunamalijevs).
Prevent usage of nan and inf values with NumericIndexedVector data structures in ClickHouse.

Why it matters

This feature addresses the issue where nan (Not a Number) and inf (infinity) values could be used with NumericIndexedVector, potentially causing errors or undefined behavior. By preventing these values, the system ensures data integrity and stability when working with numeric vectors.

How to use it

Users do not need to enable this feature explicitly. It is integrated into the ClickHouse core and automatically disallows nan and inf values in NumericIndexedVector operations upon upgrading to the version containing this fix.