Skip to content

Fix round for float value when input out of long range #23765

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

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

hantangwangd
Copy link
Member

@hantangwangd hantangwangd commented Oct 3, 2024

Description

Fixes #23763

Motivation and Context

Fix issue: #23763

Impact

N/A

Test Plan

Contributor checklist

  • Please make sure your submission complies with our development, formatting, commit message, and attribution guidelines.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.

Release Notes

== NO RELEASE NOTE ==

@hantangwangd hantangwangd marked this pull request as ready for review October 3, 2024 02:45
@hantangwangd hantangwangd requested a review from a team as a code owner October 3, 2024 02:45
Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix!

@hantangwangd hantangwangd requested a review from tdcmeehan October 7, 2024 14:58
@tdcmeehan tdcmeehan self-assigned this Oct 10, 2024
@tdcmeehan tdcmeehan merged commit cbd1a11 into prestodb:master Oct 10, 2024
56 checks passed
@hantangwangd hantangwangd deleted the fix_round_for_float branch October 10, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Round function returns incorrect results for large floats
3 participants