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 #106: shred atomic values into "array_contains" too #120

Merged
merged 5 commits into from
Feb 16, 2023

Conversation

tatu-at-datastax
Copy link
Contributor

@tatu-at-datastax tatu-at-datastax commented Feb 15, 2023

PR that adds atomic values outside of arrays (root-level, in sub-documents) into array_contains.

Scope of changes a bit bigger due to need to start keeping track of whether given value is a direct element of an array or not, requiring changes to JsonPath and JsonPath.Builder.

@tatu-at-datastax tatu-at-datastax self-assigned this Feb 15, 2023
@tatu-at-datastax tatu-at-datastax changed the title (WIP) Fix #106: shred atomic values into "array_contains" too Fix #106: shred atomic values into "array_contains" too Feb 15, 2023
@tatu-at-datastax tatu-at-datastax marked this pull request as ready for review February 16, 2023 17:28
@tatu-at-datastax tatu-at-datastax requested a review from a team as a code owner February 16, 2023 17:28
@tatu-at-datastax tatu-at-datastax merged commit 608368e into main Feb 16, 2023
@tatu-at-datastax tatu-at-datastax deleted the tatu/106-shred-atomics-to-array-contains branch February 16, 2023 17:28
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.

Change shredding to add atomic fields into array_contains as well, to support array-or-atomic $eq
2 participants