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 visitor pattern by calling visit instead of accept #13837

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wdongyu
Copy link

@wdongyu wdongyu commented May 27, 2024

Description

This PR aims to fix some bugs of the visitor pattern implemented before in this PR. It should go down the tree by calling the visit methods of nested sub QueryBuilders, the accept should happen in sub QueryBuilders.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]
#13812

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • API changes companion pull request created.
  • 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

❌ Gradle check result for 1c3b788: 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?

@opensearch-trigger-bot
Copy link
Contributor

This PR is stalled because it has been open for 30 days with no activity.

@opensearch-trigger-bot opensearch-trigger-bot bot added the stalled Issues that have stalled label Jun 26, 2024
@gaobinlong gaobinlong added backport 2.x Backport to 2.x branch Search Search query, autocomplete ...etc and removed stalled Issues that have stalled labels Aug 7, 2024
@gaobinlong
Copy link
Collaborator

@wdongyu Thanks for your work, please amend your commit to include sign-off, so that the DOC check can pass, and also add a change log for this.

@wdongyu wdongyu requested a review from jed326 as a code owner August 22, 2024 08:21
Copy link
Contributor

❌ Gradle check result for c7b1d71: 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?

@wdongyu
Copy link
Author

wdongyu commented Aug 22, 2024

@gaobinlong sorry for the late response, I have pushed the latest commit

@wdongyu

This comment was marked as resolved.

Copy link
Contributor

❌ Gradle check result for 595ffb0: 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?

Copy link
Contributor

❌ Gradle check result for 07b1505: 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?

@opensearch-trigger-bot
Copy link
Contributor

This PR is stalled because it has been open for 30 days with no activity.

@opensearch-trigger-bot opensearch-trigger-bot bot added the stalled Issues that have stalled label Sep 22, 2024
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 Search Search query, autocomplete ...etc stalled Issues that have stalled
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants