Skip to content

[Backport 3.0] Adds Json Parsing to nested object during update Query step in ML Inference Request processor #3867

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 532284e from #3856

…erence Request processor (#3856)

* adds json parsing to modelOutputValue during query rewrite

Signed-off-by: Brian Flores <iflorbri@amazon.com>

* add Unit Test for queryTemplate change

Signed-off-by: Brian Flores <iflorbri@amazon.com>

* refactors and adds new UT

Signed-off-by: Brian Flores <iflorbri@amazon.com>

* apply spotless

Signed-off-by: Brian Flores <iflorbri@amazon.com>

* replace tab with spaces on multi-line comment

Signed-off-by: Brian Flores <iflorbri@amazon.com>

---------

Signed-off-by: Brian Flores <iflorbri@amazon.com>
(cherry picked from commit 532284e)
Copy link

codecov bot commented May 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.96%. Comparing base (7f80607) to head (9f4f992).
Report is 1 commits behind head on 3.0.

Additional details and impacted files
@@             Coverage Diff              @@
##                3.0    #3867      +/-   ##
============================================
+ Coverage     77.94%   77.96%   +0.01%     
- Complexity     7275     7277       +2     
============================================
  Files           650      650              
  Lines         32891    32893       +2     
  Branches       3693     3694       +1     
============================================
+ Hits          25638    25644       +6     
+ Misses         5673     5670       -3     
+ Partials       1580     1579       -1     
Flag Coverage Δ
ml-commons 77.96% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mingshl mingshl merged commit 99a3f62 into 3.0 May 23, 2025
11 of 13 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