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 2.x][Fix] add non-null check for queryBuilder in NeuralQueryEnricherProcessor #619

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

zhichao-aws
Copy link
Member

@zhichao-aws zhichao-aws commented Feb 29, 2024

Description

The automatic backport for #615 failed. Backport it manually.

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed as 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.

…ssor (opensearch-project#615)

* fix: add non-null check in NeuralQueryEnricherProcessor

Signed-off-by: zhichao-aws <[email protected]>

* add change log

Signed-off-by: zhichao-aws <[email protected]>

* optimize assert in ut

Signed-off-by: zhichao-aws <[email protected]>

---------

Signed-off-by: zhichao-aws <[email protected]>
(cherry picked from commit b97dbe8)
Signed-off-by: zhichao-aws <[email protected]>
Signed-off-by: zhichao-aws <[email protected]>
Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.17%. Comparing base (c422065) to head (7a4a074).

Additional details and impacted files
@@            Coverage Diff            @@
##                2.x     #619   +/-   ##
=========================================
  Coverage     85.17%   85.17%           
- Complexity      611      612    +1     
=========================================
  Files            48       48           
  Lines          1841     1842    +1     
  Branches        279      280    +1     
=========================================
+ Hits           1568     1569    +1     
  Misses          145      145           
  Partials        128      128           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vibrantvarun vibrantvarun changed the title [Backport 2.x Manually][Fix] add non-null check for queryBuilder in NeuralQueryEnricherProcessor [Backport 2.x][Fix] add non-null check for queryBuilder in NeuralQueryEnricherProcessor Mar 4, 2024
@vibrantvarun vibrantvarun merged commit 90ec7cc into opensearch-project:2.x Mar 4, 2024
69 checks passed
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.

3 participants