Skip to main content

MAX_ENCODABLE_DECIMAL_PRECISION

Constant MAX_ENCODABLE_DECIMAL_PRECISION 

Source
const MAX_ENCODABLE_DECIMAL_PRECISION: u8 = 38;
Expand description

ClickHouse backs Decimal(P, S) with Decimal256 once P > 38, which takes 32 bytes on the wire, while ClickHouseDecimal never writes more than 16.