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] Support Array and ExprValue Parsing With Inner Hits #1791

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 9fbcf11 from #1737

@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

Merging #1791 (882ddd2) into 2.x (e9a009b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##                2.x    #1791   +/-   ##
=========================================
  Coverage     97.34%   97.34%           
- Complexity     4409     4433   +24     
=========================================
  Files           388      388           
  Lines         10940    10978   +38     
  Branches        773      781    +8     
=========================================
+ Hits          10649    10687   +38     
  Misses          284      284           
  Partials          7        7           
Flag Coverage Δ
sql-engine 97.34% <100.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
...earch/sql/opensearch/data/utils/ObjectContent.java 100.00% <100.00%> (ø)
...l/opensearch/data/utils/OpenSearchJsonContent.java 100.00% <100.00%> (ø)
...nsearch/data/value/OpenSearchExprValueFactory.java 100.00% <100.00%> (ø)
...ch/sql/opensearch/response/OpenSearchResponse.java 100.00% <100.00%> (ø)
...ensearch/storage/script/core/ExpressionScript.java 100.00% <100.00%> (ø)

* Add support for Array and ExprValue Parsing With Inner Hits

Signed-off-by: forestmvey <[email protected]>

* Adding schema validation for IT test, and another UT for nested arrays.

Signed-off-by: forestmvey <[email protected]>

* Making handleAggregationResponse a private function.

Signed-off-by: forestmvey <[email protected]>

---------

Signed-off-by: forestmvey <[email protected]>
(cherry picked from commit 9fbcf11)
Signed-off-by: forestmvey <[email protected]>
@forestmvey forestmvey force-pushed the backport/backport-1737-to-2.x branch from 31f03d6 to 882ddd2 Compare June 27, 2023 22:25
@forestmvey forestmvey merged commit 5e220f4 into 2.x Jun 28, 2023
@forestmvey forestmvey deleted the backport/backport-1737-to-2.x branch June 28, 2023 14:33
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