Repository navigation
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 81b8172. Configure here.
AI review gate — AI review passedClean review from: Cursor Bugbot. |
Keep the installed ClickHouse API options and leave Abseil header selection to the application. Reject inline namespaces for a bundled build that used Abseil without one. This preserves existing dependency packaging and avoids introducing a second set of Abseil headers into the same translation unit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes #615.
Summary
Standalone clients can see a different Int128 type or
GetCurrentEndpoint()return type from the installed library. The installed public headers now import the CMake options that determine those declarations. Existing explicit options still work when they match the library, and conflicting options produce a compiler error.An Abseil-backed installation uses the Abseil headers and library that match its build. This PR leaves Abseil dependency packaging to the existing installation paths and does not add a second set of Abseil headers. The bundled build's no-inline-namespace setting is read from its vendored configuration so the installed header explicitly rejects the incompatible namespace case. The README documents the matching header requirement. Packaging Abseil headers is tracked in #284.
Validation
18446744073709551618against each default, 3.x, 2.x Abseil-disabled, and external-Abseil installation on macOS arm64. It checks the actual endpoint return type at compile time.add_subdirectory.The namespace check tests the reported mismatch and does not compare every aspect of the Abseil ABI. All validation used local build and install fixtures, without starting a ClickHouse server. Codex assisted with implementation and verification.