-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[fix](decimal256) fix unstable overflow error when casting decimal256 to float #56848
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
[fix](decimal256) fix unstable overflow error when casting decimal256 to float #56848
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
ClickBench: Total hot run time: 29.98 s |
|
PR approved by anyone and no changes requested. |
|
PR approved by at least one committer and no changes requested. |
|
run buildall |
ClickBench: Total hot run time: 30.5 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
PR approved by at least one committer and no changes requested. |
…g decimal256 to float #56848 (#56886) Cherry-picked from #56848 Co-authored-by: TengJianPing <[email protected]>
…g decimal256 to float apache#56848 Picked from apache#56848
… to float (apache#5022) ## Proposed changes Issue Number: close #xxx apache#56848
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
When casting
Decimal256tofloat, sometimes it result in false overflow error:Not sure of the root cause for now, maybe related to casting
long doubletofloattype. This PR usedoubleinstead oflong doubleto avoid this problem temporarily.Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)