Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 1.x] Allow null value for params in method mappings #355

Merged
merged 2 commits into from
Apr 7, 2022

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport b08127c from #354

Allow user to input null value for parameters field for KNNMethodContext
and MethodComponentContext. Adds tests to reproduce Mapping Parsing Error when the parameters take
the value null as well as BWC tests.

Signed-off-by: John Mazanec <[email protected]>
(cherry picked from commit b08127c)
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team April 5, 2022 21:25
Signed-off-by: John Mazanec <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Merging #355 (4c62c28) into 1.x (a1a14ba) will increase coverage by 0.05%.
The diff coverage is 83.33%.

@@             Coverage Diff              @@
##                1.x     #355      +/-   ##
============================================
+ Coverage     83.41%   83.47%   +0.05%     
- Complexity      889      895       +6     
============================================
  Files           127      127              
  Lines          3841     3854      +13     
  Branches        361      366       +5     
============================================
+ Hits           3204     3217      +13     
  Misses          475      475              
  Partials        162      162              
Impacted Files Coverage Δ
...g/opensearch/knn/index/MethodComponentContext.java 91.76% <78.78%> (+1.09%) ⬆️
...ava/org/opensearch/knn/index/KNNMethodContext.java 93.25% <93.33%> (+0.23%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a1a14ba...4c62c28. Read the comment docs.

@jmazanec15 jmazanec15 merged commit f2d0ebb into 1.x Apr 7, 2022
@github-actions github-actions bot deleted the backport/backport-354-to-1.x branch April 7, 2022 22:31
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