v.20.5Improvement
When reading Decimal values, truncate extra digits for MySQL and PostgreSQL compatibility
When reading Decimal value, cut extra digits after point. This behaviour is more compatible with MySQL and PostgreSQL. This fixes #10202. #11831 (alexey-milovidov).
Why it matters
This feature addresses the inconsistency in readingDecimal types by cutting off surplus digits after the decimal point. It ensures that ClickHouse behaves similarly to popular databases like MySQL and PostgreSQL, preventing precision-related issues and making data interchange more reliable.How to use it
This behavior is applied automatically when readingDecimal values; no additional user configuration is required.