Skip to content

Conversation

@matthewryanwells
Copy link

@matthewryanwells matthewryanwells commented Mar 7, 2023

Description

Added math function SIGNUM to V2 engine, updated documentation, and added unit/IT tests

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.

…/IT tests

Signed-off-by: Matthew Wells <matthew.wells@improving.com>
@codecov
Copy link

codecov bot commented Mar 7, 2023

Codecov Report

Merging #241 (6773eb2) into integ-signum (ef38389) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@               Coverage Diff               @@
##             integ-signum     #241   +/-   ##
===============================================
  Coverage           98.38%   98.38%           
- Complexity           3698     3701    +3     
===============================================
  Files                 343      343           
  Lines                9121     9126    +5     
  Branches              586      586           
===============================================
+ Hits                 8974     8979    +5     
  Misses                142      142           
  Partials                5        5           
Flag Coverage Δ
sql-engine 98.38% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...c/main/java/org/opensearch/sql/expression/DSL.java 100.00% <100.00%> (ø)
...h/sql/expression/function/BuiltinFunctionName.java 100.00% <100.00%> (ø)
...ssion/operator/arthmetic/MathematicalFunction.java 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@GumpacG
Copy link

GumpacG commented Mar 8, 2023

Seems that there are doctests failing

Signed-off-by: Matthew Wells <matthew.wells@improving.com>
@Yury-Fridlyand
Copy link

Please, fix doctests

Signed-off-by: Matthew Wells <matthew.wells@improving.com>
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
@matthewryanwells matthewryanwells changed the title Updated SIGNUM function to V2 engine Added SIGNUM function to V2 engine Mar 9, 2023
@matthewryanwells
Copy link
Author

Doc tests have been fixed

@matthewryanwells matthewryanwells merged commit c32f0f6 into integ-signum Mar 13, 2023
@matthewryanwells matthewryanwells deleted the dev-signum branch March 13, 2023 16:34
GabeFernandez310 pushed a commit that referenced this pull request Mar 15, 2023
* Added SIGNUM function to V2 engine (#241)

* Added SIGNUM function to V2 engine, updated documentation, added unit/IT tests

Signed-off-by: Matthew Wells <matthew.wells@improving.com>

* fixed merge mistake

Signed-off-by: Matthew Wells <matthew.wells@improving.com>

* fixed merging error

Signed-off-by: Matthew Wells <matthew.wells@improving.com>

---------

Signed-off-by: Matthew Wells <matthew.wells@improving.com>
MaxKsyunz pushed a commit that referenced this pull request Mar 29, 2023
…rch-project#1442)

* Added SIGNUM function to V2 engine (#241)

* Added SIGNUM function to V2 engine, updated documentation, added unit/IT tests

Signed-off-by: Matthew Wells <matthew.wells@improving.com>

* fixed merge mistake

Signed-off-by: Matthew Wells <matthew.wells@improving.com>

* fixed merging error

Signed-off-by: Matthew Wells <matthew.wells@improving.com>

---------

Signed-off-by: Matthew Wells <matthew.wells@improving.com>
(cherry picked from commit 6496692)

Co-authored-by: Matthew Wells <matthew.wells@improving.com>
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.

5 participants