Skip to content

Use ColumnDecimal->GetString#71

Closed
theory wants to merge 1 commit into
mainfrom
cpp-get-string
Closed

Use ColumnDecimal->GetString#71
theory wants to merge 1 commit into
mainfrom
cpp-get-string

Conversation

@theory

@theory theory commented Dec 8, 2025

Copy link
Copy Markdown
Collaborator

Instead of converting the Int128 value from clickhouse-cpp, use the new ColumnDecimal->GetString() function to get the stringification of a decimal value fetched from ClickHouse. This greatly simplifies the code and restores the ability to use the clickhouse-cpp shared library, re-enabled in the Makefile for all OSes other than Darwin.

Draft pull request pending ClickHouse/clickhouse-cpp#451. Resolves #90.

@theory theory requested review from serprex and slabko December 8, 2025 23:02
@theory theory self-assigned this Dec 8, 2025
@theory theory added data types Improve data type support drivers Improve binary and/or http driver support dependencies Changes impacted by or requiring changes to dependencies labels Jan 6, 2026
@theory theory closed this Jan 7, 2026
Instead of converting the Int128 value from `clickhouse-cpp`, use the new
`ColumnDecimal->GetString()` function to get the stringification of a
decimal value fetched from ClickHouse. This greatly simplifies the code
and restores the ability to use the `clickhouse-cpp` shared library,
re-enabled in the `Makefile` for all OSes other than Darwin.
@theory theory reopened this Jan 7, 2026
@theory theory closed this May 27, 2026
@theory theory deleted the cpp-get-string branch May 27, 2026 09:21
@theory

theory commented May 27, 2026

Copy link
Copy Markdown
Collaborator Author

with #254 this PR becomes moot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data types Improve data type support dependencies Changes impacted by or requiring changes to dependencies drivers Improve binary and/or http driver support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove custom Decimal stringification

1 participant