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

Fix NPE for transform aggregations #830

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

Hailong-am
Copy link
Collaborator

Issue #, if available:
#829

Description of changes:

CheckList:

  • 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.

@Hailong-am
Copy link
Collaborator Author

may need to merge after #825

@zhichao-aws
Copy link
Member

caused by opensearch-project/OpenSearch#8206

Signed-off-by: Hailong Cui <ihailong@amazon.com>
@codecov
Copy link

codecov bot commented Jun 29, 2023

Codecov Report

Merging #830 (ce4541d) into main (42833b1) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main     #830      +/-   ##
============================================
+ Coverage     75.53%   75.57%   +0.03%     
- Complexity     2831     2843      +12     
============================================
  Files           364      364              
  Lines         16176    16176              
  Branches       2324     2325       +1     
============================================
+ Hits          12219    12225       +6     
+ Misses         2619     2606      -13     
- Partials       1338     1345       +7     
Impacted Files Coverage Δ
...earch/indexmanagement/transform/model/Transform.kt 85.16% <100.00%> (ø)

... and 14 files with indirect coverage changes

Copy link
Member

@zhichao-aws zhichao-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Hailong-am Hailong-am merged commit 9fbc083 into opensearch-project:main Jun 29, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 29, 2023
Signed-off-by: Hailong Cui <ihailong@amazon.com>
(cherry picked from commit 9fbc083)
Hailong-am added a commit to Hailong-am/index-management that referenced this pull request Jun 30, 2023
Signed-off-by: Hailong Cui <ihailong@amazon.com>
bowenlan-amzn pushed a commit that referenced this pull request Jul 2, 2023
* Metadata members from ImmutableOpenMap to j.u.Map

Signed-off-by: Hailong Cui <ihailong@amazon.com>

* add field remoteStoreIndexShallowCopy in SM TestUtils (#825)

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* fix NPE for transform aggregations (#830)

Signed-off-by: Hailong Cui <ihailong@amazon.com>

* Fix detekt

Signed-off-by: Hailong Cui <ihailong@amazon.com>

---------

Signed-off-by: Hailong Cui <ihailong@amazon.com>
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Co-authored-by: zhichao-aws <zhichaog@amazon.com>
ronnaksaxena pushed a commit to ronnaksaxena/index-management that referenced this pull request Jul 19, 2023
* Metadata members from ImmutableOpenMap to j.u.Map

Signed-off-by: Hailong Cui <ihailong@amazon.com>

* add field remoteStoreIndexShallowCopy in SM TestUtils (opensearch-project#825)

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* fix NPE for transform aggregations (opensearch-project#830)

Signed-off-by: Hailong Cui <ihailong@amazon.com>

* Fix detekt

Signed-off-by: Hailong Cui <ihailong@amazon.com>

---------

Signed-off-by: Hailong Cui <ihailong@amazon.com>
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Co-authored-by: zhichao-aws <zhichaog@amazon.com>
Signed-off-by: Ronnak Saxena <ronsax@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants