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 CI failed related to query_177 #1055

Merged
merged 3 commits into from
Feb 17, 2025

Conversation

penghuo
Copy link
Collaborator

@penghuo penghuo commented Feb 15, 2025

Description

  1. Fix bug in QueryCompiler to correct handle NOT "textField" = "literalString". It should not be push down to DSL.
  2. Remove unexpected result from Query_177.results.

Related Issues

Fix Query_177 failure.

Check List

  • Updated documentation (docs/ppl-lang/README.md)
  • Implemented unit tests
  • Implemented tests for combination with other commands
  • New added source code should include a copyright header
  • 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.

Signed-off-by: Peng Huo <penghuo@gmail.com>
Signed-off-by: Peng Huo <penghuo@gmail.com>
@penghuo penghuo changed the title Bug fix query177 Fix CI failed related to query_177 Feb 15, 2025
@penghuo penghuo marked this pull request as ready for review February 15, 2025 01:43
@penghuo penghuo self-assigned this Feb 15, 2025
@penghuo
Copy link
Collaborator Author

penghuo commented Feb 15, 2025

@normanj-bitquill i remove the line in query_177.results which country=USA, which is not expected as PPL query is where country != "USA".

@@ -196,6 +196,20 @@ class FlintQueryCompilerSuite extends FlintSuite {
assertResult("")(query)
}

test(
"Bug fix, https://github.com/opensearch-project/opensearch-spark/actions/runs/13338348402/job/37258321066?pr=1052 ") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

The job log will be gone after retention period?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

add issue. #1056

Signed-off-by: Peng Huo <penghuo@gmail.com>
@penghuo penghuo merged commit c252899 into opensearch-project:main Feb 17, 2025
5 checks passed
@ykmr1224 ykmr1224 added the backport 0.x Backport to 0.x branch (stable branch) label Feb 25, 2025
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 25, 2025
Signed-off-by: Peng Huo <penghuo@gmail.com>
(cherry picked from commit c252899)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ykmr1224 pushed a commit that referenced this pull request Feb 25, 2025
(cherry picked from commit c252899)

Signed-off-by: Peng Huo <penghuo@gmail.com>
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 0.x Backport to 0.x branch (stable branch)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants