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

AllFilter with OR, bug fix #757

Merged
merged 7 commits into from
Jan 2, 2024
Merged

AllFilter with OR, bug fix #757

merged 7 commits into from
Jan 2, 2024

Conversation

Yuqi-Du
Copy link
Contributor

@Yuqi-Du Yuqi-Du commented Jan 2, 2024

What this PR does:
bug: when ALL operator is used inside a OR different condition of ALL are concatenated with OR.
AllFilter should to be AND together seperately

Which issue(s) this PR fixes:
Fixes #749

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@Yuqi-Du Yuqi-Du requested a review from a team as a code owner January 2, 2024 19:03
@maheshrajamani
Copy link
Contributor

@Yuqi-Du Can you add a test to check the cql generated has brackets correctly for OR and ALL together?

@Yuqi-Du
Copy link
Contributor Author

Yuqi-Du commented Jan 2, 2024

@Yuqi-Du Can you add a test to check the cql generated has brackets correctly for OR and ALL together?

fixed.

@Yuqi-Du Yuqi-Du merged commit 35f845e into main Jan 2, 2024
2 checks passed
@Yuqi-Du Yuqi-Du deleted the all_operator_bug_fix branch January 2, 2024 20:02
Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: ALL filter not working inside OR
3 participants