Skip to content

Conversation

@matthewryanwells
Copy link

@matthewryanwells matthewryanwells commented Mar 7, 2023

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
Copy link

codecov bot commented Mar 7, 2023

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

@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 <maxk@bitquilltech.com>
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
…search-project#1387)

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
…/Integration tests

Signed-off-by: Matthew Wells <matthew.wells@improving.com>
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
…pensearch-project#1389) (opensearch-project#1396)

* Refactor AWSSigV4 auth to support different AWSCredentialProviders

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>

* Added unit tests for sts assume role credentials provider

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>

---------

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
(cherry picked from commit 8583fd1)

Co-authored-by: vamsi-amazon <reddyvam@amazon.com>
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
…1393)

* Integ Test Refactoring

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
(cherry picked from commit 8f6793b)
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
…rface (opensearch-project#1408)

* Added DataSourceMetadataStorage interface

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>

* Added new interface methods in DataSourceService and DataSourceMetadataStorage

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>

---------

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
Signed-off-by: Peng Huo <penghuo@gmail.com>
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
@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 <matthew.wells@improving.com>
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 <matthew.wells@improving.com>
(cherry picked from commit 7220cfe)

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.

8 participants