ClickHouse / ClickHouse/clickhouse-cpp

Support Decimal256

Open
#377 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
382
Forks
209
Avg merge
3h 58m
Merged PRs (30d)
12

Description

Clickhouse supports Decimal256, with precision up to 76 (https://clickhouse.com/docs/en/sql-reference/data-types/decimal). However, clickhouse-cpp only supports up to Decimal128.

Abseil doesn't have an int256, but boost::multiprecision does (https://www.boost.org/doc/libs/1_85_0/libs/multiprecision/doc/html/boost_multiprecision/tut/ints/cpp_int.html). There are many other int256 implementations available online, and clang has support for `_BitInt(256)`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.