v.23.1Improvement

Infer UInt64 for Int64 Overflow and Fix Schema Inference Transforms

Infer UInt64 in case of Int64 overflow and fix some transforms in schema inference. #44696 (Kruglov Pavel).
Improved schema inference to automatically infer UInt64 type when an Int64 overflow occurs and fixed related transformations during schema inference.

Why it matters

This feature addresses the issue where values exceeding the Int64 range were not properly handled during schema inference. By inferring UInt64 in such cases, it ensures accurate data type detection and prevents errors caused by overflow, improving data ingestion and processing reliability.

How to use it

The enhancement is applied automatically during schema inference. Users do not need to enable anything manually; the system will infer UInt64 if it detects values exceeding the Int64 range.