Skip to content

fix visitor pattern by calling visit instead of accept#13837

Open
wdongyu wants to merge 2 commits intoopensearch-project:mainfrom
wdongyu:fix_visitor_pattern
Open

fix visitor pattern by calling visit instead of accept#13837
wdongyu wants to merge 2 commits intoopensearch-project:mainfrom
wdongyu:fix_visitor_pattern

Conversation

@wdongyu
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

@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 ashking94 as a code owner August 22, 2024 08:21
@wdongyu wdongyu requested a review from jed326 as a code owner August 22, 2024 08:21
@github-actions
Copy link
Copy Markdown
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
Copy Markdown
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.

@github-actions
Copy link
Copy Markdown
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?

Signed-off-by: wangdongyu.danny <wangdongyu.danny@bytedance.com>
Signed-off-by: wangdongyu.danny <wangdongyu.danny@bytedance.com>
@wdongyu wdongyu force-pushed the fix_visitor_pattern branch from 595ffb0 to 07b1505 Compare August 22, 2024 09:03
@github-actions
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

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