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

[Derived Fields] Add support for emitting multiple values in DerivedFieldScripts #12837

Merged
merged 16 commits into from
Apr 3, 2024

Conversation

qreshi
Copy link
Contributor

@qreshi qreshi commented Mar 21, 2024

Description

Adds support for emitting multiple values when using the script context for derived field scripts.

Related Issues

Required to resolve #12508

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • Public documentation issue/PR created

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.

Copy link
Contributor

github-actions bot commented Mar 21, 2024

Compatibility status:

Checks if related components are compatible with change bddcfe1

Incompatible components

Skipped components

Compatible components

Compatible components: [https:/opensearch-project/custom-codecs.git, https:/opensearch-project/neural-search.git, https:/opensearch-project/flow-framework.git, https:/opensearch-project/cross-cluster-replication.git, https:/opensearch-project/security-analytics.git, https:/opensearch-project/job-scheduler.git, https:/opensearch-project/geospatial.git, https:/opensearch-project/opensearch-oci-object-storage.git, https:/opensearch-project/notifications.git, https:/opensearch-project/k-nn.git, https:/opensearch-project/observability.git, https:/opensearch-project/asynchronous-search.git, https:/opensearch-project/ml-commons.git, https:/opensearch-project/reporting.git, https:/opensearch-project/common-utils.git, https:/opensearch-project/index-management.git, https:/opensearch-project/sql.git, https:/opensearch-project/anomaly-detection.git, https:/opensearch-project/performance-analyzer-rca.git, https:/opensearch-project/alerting.git, https:/opensearch-project/security.git, https:/opensearch-project/performance-analyzer.git]

Copy link
Contributor

❌ Gradle check result for c99133d: 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: Rishabh Maurya <[email protected]>
Signed-off-by: Rishabh Maurya <[email protected]>
Copy link
Contributor

github-actions bot commented Apr 2, 2024

✅ Gradle check result for 5cc097d: SUCCESS

Copy link
Contributor

github-actions bot commented Apr 2, 2024

❕ Gradle check result for dc6b396: UNSTABLE

  • TEST FAILURES:
      1 org.opensearch.index.IndexServiceTests.testAsyncTranslogTrimTaskOnClosedIndex

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

Copy link
Contributor

github-actions bot commented Apr 2, 2024

✅ Gradle check result for bddcfe1: SUCCESS

@msfroh msfroh merged commit e8c5daf into opensearch-project:main Apr 3, 2024
37 of 46 checks passed
@rishabhmaurya rishabhmaurya added the backport 2.x Backport to 2.x branch label Apr 4, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 4, 2024
…ieldScripts (#12837)

---------

Signed-off-by: Mohammad Qureshi <[email protected]>
Signed-off-by: Rishabh Maurya <[email protected]>
Co-authored-by: Rishabh Maurya <[email protected]>
(cherry picked from commit e8c5daf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
msfroh pushed a commit that referenced this pull request Apr 5, 2024
…ues in DerivedFieldScripts (#13083)

* [Derived Fields] Add support for emitting multiple values in DerivedFieldScripts (#12837)

---------

Signed-off-by: Mohammad Qureshi <[email protected]>
Signed-off-by: Rishabh Maurya <[email protected]>
Co-authored-by: Rishabh Maurya <[email protected]>
(cherry picked from commit e8c5daf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Change allowlist to whitelist in 2.x to address conflicts

Signed-off-by: Rishabh Maurya <[email protected]>

---------

Signed-off-by: Mohammad Qureshi <[email protected]>
Signed-off-by: Rishabh Maurya <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@rishabhmaurya rishabhmaurya mentioned this pull request Apr 11, 2024
6 tasks
shiv0408 pushed a commit to Gaurav614/OpenSearch that referenced this pull request Apr 25, 2024
…ieldScripts (opensearch-project#12837)

---------

Signed-off-by: Mohammad Qureshi <[email protected]>
Signed-off-by: Rishabh Maurya <[email protected]>
Co-authored-by: Rishabh Maurya <[email protected]>
Signed-off-by: Shivansh Arora <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch enhancement Enhancement or improvement to existing feature or request Search Search query, autocomplete ...etc skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Derived Fields] Add basic query support with derived fields
3 participants