Skip to content

Deprecate Abseil-backed 128-bit value APIs#531

Merged
slabko merged 1 commit into
masterfrom
deprecate-abseil-api
Jul 1, 2026
Merged

Deprecate Abseil-backed 128-bit value APIs#531
slabko merged 1 commit into
masterfrom
deprecate-abseil-api

Conversation

@slabko

@slabko slabko commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Add conditional deprecation warnings for public APIs that pass, return, or expose Int128/UInt128 values when clickhouse-cpp is built with CH_USE_ABSEIL_FOR_BIGNUM enabled.

The Int128/UInt128 aliases themselves are not deprecated to avoid warnings for plain declarations. Instead, warnings are emitted at value-facing API use sites, including Bignum helpers, Decimal Int128 accessors, Type::CreateSimple specializations, and ColumnVector/ColumnVector value accessors.

Users can opt into the future non-Abseil implementation with: -DCH_USE_ABSEIL_FOR_BIGNUM=OFF

Add conditional deprecation warnings for public APIs that pass, return, or
expose Int128/UInt128 values when clickhouse-cpp is built with
CH_USE_ABSEIL_FOR_BIGNUM enabled.

The Int128/UInt128 aliases themselves are not deprecated to avoid warnings for
plain declarations. Instead, warnings are emitted at value-facing API use sites,
including Bignum helpers, Decimal Int128 accessors, Type::CreateSimple
specializations, and ColumnVector<Int128>/ColumnVector<UInt128> value accessors.

Users can opt into the future non-Abseil implementation with:
-DCH_USE_ABSEIL_FOR_BIGNUM=OFF
@slabko slabko requested a review from mzitnik as a code owner June 30, 2026 15:37
@slabko slabko merged commit 4a07ba0 into master Jul 1, 2026
78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants