Open xiangjinwu opened 1 year ago
Due to our rust_decimal type, we can also only support up to 28 dps of scale factor i.e. https://github.com/risingwavelabs/risingwave/pull/7819
Further, the behaviour of rust_decimal will be to retain the previous scale if the rounding is larger than the current scale https://github.com/paupino/rust-decimal/pull/575
This issue has been open for 60 days with no activity. Could you please update the status? Feel free to continue discussion or close as not planned.
Describe the bug
No response
To Reproduce
Expected behavior
In PostgreSQL:
Additional context
Note that in some cases the trailing zeros may be dropped automatically: #385