v.21.9Backward Incompatible Changes
Do Not Output Trailing Zeros for Decimal Types in ClickHouse
Do not output trailing zeros in text representation ofDecimaltypes. Example:1.23will be printed instead of1.230000for decimal with scale 6. This closes #15794. It may introduce slight incompatibility if your applications somehow relied on the trailing zeros. Serialization in output formats can be controlled with the settingoutput_format_decimal_trailing_zeros. Implementation oftoStringand casting to String is changed unconditionally. #27680 (alexey-milovidov).