v.23.7Improvement

Var-Int Encoding Updated to Support Full 64-Bit Range

Var-Int encoded integers (e.g. used by the native protocol) can now use the full 64-bit range. 3rd party clients are advised to update their var-int code accordingly. #51905 (Robert Schulze).
Var-Int encoded integers in ClickHouse native protocol now support the full 64-bit integer range.

Why it matters

This feature expands the range of integer values that can be encoded and transmitted using the Var-Int encoding in the native protocol, allowing users to handle larger integers efficiently and without range limitations. It benefits clients that rely on Var-Int encoding by enabling support for the full 64-bit integer spectrum.

How to use it

Users and 3rd party clients should update their Var-Int encoding/decoding implementations to accommodate the full 64-bit integer range for compatibility with ClickHouse native protocol. There is no explicit configuration needed on the ClickHouse server side, but client libraries should be adapted accordingly.