-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Adding ScriptedAvg class to painless spi to allowlist usage from plugins #19006
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
Adding ScriptedAvg class to painless spi to allowlist usage from plugins #19006
Conversation
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
❌ Gradle check result for f7ad412: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
❌ Gradle check result for b163b00: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
❌ Gradle check result for 4574641: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #19006 +/- ##
============================================
- Coverage 72.94% 72.89% -0.06%
+ Complexity 69523 69440 -83
============================================
Files 5647 5647
Lines 319166 319175 +9
Branches 46165 46168 +3
============================================
- Hits 232828 232653 -175
- Misses 67539 67709 +170
- Partials 18799 18813 +14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
server/src/main/java/org/opensearch/search/aggregations/metrics/ScriptedAvg.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
❌ Gradle check result for b6161ea: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
2e6c478
into
opensearch-project:main
…opensearch-project#19006) * Adding ScriptedAvg class to painless spi to allowlist usage from plugins Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Adding change to CHANGELOG.md Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Fixing violations Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Fixing UTs Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Adding comments and removing unused code Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Fixing violations Signed-off-by: Kshitij Tandon <tandonks@amazon.com> --------- Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
…opensearch-project#19006) * Adding ScriptedAvg class to painless spi to allowlist usage from plugins Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Adding change to CHANGELOG.md Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Fixing violations Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Fixing UTs Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Adding comments and removing unused code Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Fixing violations Signed-off-by: Kshitij Tandon <tandonks@amazon.com> --------- Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
…opensearch-project#19006) * Adding ScriptedAvg class to painless spi to allowlist usage from plugins Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Adding change to CHANGELOG.md Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Fixing violations Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Fixing UTs Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Adding comments and removing unused code Signed-off-by: Kshitij Tandon <tandonks@amazon.com> * Fixing violations Signed-off-by: Kshitij Tandon <tandonks@amazon.com> --------- Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
Description
Adding ScriptedAvg class to painless spi to allowlist usage from plugins
Followup PR to: #18411
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
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.