-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](money_format) fix money_format #31883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your contribution to Apache Doris. |
|
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
|
TeamCity be ut coverage result: |
|
PR approved by anyone and no changes requested. |
|
PR approved by at least one committer and no changes requested. |
| // truncate to 2 decimal places, keep same with mysql | ||
| double value = | ||
| MathFunctions::my_double_round(data_column->get_element(i), 2, false, false); | ||
| MathFunctions::my_double_round(data_column->get_element(i), 2, false, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should do round instead of truncate
before

now they work as mysql