Modified returning NaN to NULL by GumpacG · Pull Request #1341 · opensearch-project/sql · GitHub
Skip to content

Modified returning NaN to NULL#1341

Merged
penghuo merged 1 commit into
opensearch-project:mainfrom
Bit-Quill:integ-fix-nan-bug
Feb 15, 2023
Merged

Modified returning NaN to NULL#1341
penghuo merged 1 commit into
opensearch-project:mainfrom
Bit-Quill:integ-fix-nan-bug

Conversation

@GumpacG

@GumpacG GumpacG commented Feb 15, 2023

Copy link
Copy Markdown
Collaborator

Signed-off-by: Guian Gumpac guian.gumpac@improving.com

Description

Modified ln, log, log10, and log2 functions to return null when the Math functions return NaN.

Issues Resolved

#1280

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

* Fixed bug and added tests

Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>

* Addressed PR comment

Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>

---------

Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
@penghuo penghuo merged commit de40f42 into opensearch-project:main Feb 15, 2023
@opensearch-trigger-bot

Copy link
Copy Markdown
Contributor

@dai-chen dai-chen added the bug Something isn't working label Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.x bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants