Skip to content

Added SIGNUM function to V2 engine - #241

Merged
matthewryanwells merged 6 commits into
integ-signumfrom
dev-signum
Mar 13, 2023
Merged

matthewryanwells merged 6 commits into
integ-signumfrom
dev-signum

Conversation

@matthewryanwells

@matthewryanwells matthewryanwells commented Mar 7, 2023 •

Copy link
Copy Markdown

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.

@codecov

codecov Bot commented Mar 7, 2023 •

Copy link
Copy Markdown

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

GumpacG commented Mar 8, 2023

Copy link
Copy Markdown

Seems that there are doctests failing

Comment thread docs/user/dql/functions.rst Resolved
@Yury-Fridlyand

Copy link
Copy Markdown

Please, fix doctests

@matthewryanwells matthewryanwells changed the title Updated SIGNUM function to V2 engine Added SIGNUM function to V2 engine Mar 9, 2023
@matthewryanwells

Copy link
Copy Markdown
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 <[email protected]>

* fixed merge mistake

Signed-off-by: Matthew Wells <[email protected]>

* fixed merging error

Signed-off-by: Matthew Wells <[email protected]>

---------

Signed-off-by: Matthew Wells <[email protected]>
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 <[email protected]>

* fixed merge mistake

Signed-off-by: Matthew Wells <[email protected]>

* fixed merging error

Signed-off-by: Matthew Wells <[email protected]>

---------

Signed-off-by: Matthew Wells <[email protected]>
(cherry picked from commit 6496692)

Co-authored-by: Matthew Wells <[email protected]>
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.

4 participants