Skip to content

Added RINT function to V2 engine - #240

Merged
matthewryanwells merged 11 commits into
integ-rintfrom
dev-rint
Mar 13, 2023
Merged

matthewryanwells merged 11 commits into
integ-rintfrom
dev-rint

Conversation

@matthewryanwells

@matthewryanwells matthewryanwells commented Mar 7, 2023 •

Copy link
Copy Markdown

Description

Added math function RINT to V2 engine, updated documentation, and added unit/IT tests. Additionally fixed small typo in the EXPM1 description

Issues Resolved

opensearch-project#1190

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 #240 (38aba6e) into integ-rint (bcfda37) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             integ-rint     #240   +/-   ##
=============================================
  Coverage         98.38%   98.38%           
- Complexity         3695     3698    +3     
=============================================
  Files               343      343           
  Lines              9113     9118    +5     
  Branches            582      582           
=============================================
+ Hits               8966     8971    +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

Comment thread docs/user/dql/functions.rst Resolved
@matthewryanwells matthewryanwells changed the title Updated RINT function to V2 engine Added RINT function to V2 engine Mar 9, 2023
Max Ksyunz and others added 10 commits March 10, 2023 11:43
Xcontent classes were moved in this PR opensearch-project/OpenSearch#5902 causing builds to fail.

---------

Signed-off-by: MaxKsyunz <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
…pensearch-project#1389) (opensearch-project#1396)

* Refactor AWSSigV4 auth to support different AWSCredentialProviders

Signed-off-by: Vamsi Manohar <[email protected]>

* Added unit tests for sts assume role credentials provider

Signed-off-by: Vamsi Manohar <[email protected]>

---------

Signed-off-by: Vamsi Manohar <[email protected]>
(cherry picked from commit 8583fd1)

Co-authored-by: vamsi-amazon <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
…1393)

* Integ Test Refactoring

Signed-off-by: Vamsi Manohar <[email protected]>
(cherry picked from commit 8f6793b)
Signed-off-by: Matthew Wells <[email protected]>
…rface (opensearch-project#1408)

* Added DataSourceMetadataStorage interface

Signed-off-by: Vamsi Manohar <[email protected]>

* Added new interface methods in DataSourceService and DataSourceMetadataStorage

Signed-off-by: Vamsi Manohar <[email protected]>

---------

Signed-off-by: Vamsi Manohar <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
@matthewryanwells
matthewryanwells merged commit 39a9214 into integ-rint Mar 13, 2023
@matthewryanwells
matthewryanwells deleted the dev-rint branch March 13, 2023 21:15
matthewryanwells added a commit that referenced this pull request Mar 15, 2023
Added RINT to V2 engine, updated documentation, added unit and IT tests

Signed-off-by: Matthew Wells <[email protected]>
GabeFernandez310 pushed a commit that referenced this pull request Mar 16, 2023
…ensearch-project#1439)

Added RINT to V2 engine, updated documentation, added unit and IT tests

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

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.

7 participants