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

Negation inside sameElement operator #31939

Open
PeterLombaers opened this issue Jul 11, 2024 · 0 comments
Open

Negation inside sameElement operator #31939

PeterLombaers opened this issue Jul 11, 2024 · 0 comments
Assignees
Milestone

Comments

@PeterLombaers
Copy link

Is your feature request related to a problem? Please describe.
Currently it is not possible to use negations inside the sameElement operator. For example, if we have the query
select * from Schema where persons contains sameElement(first_name contains 'john', !(last_name contains 'doe'))
we get the error
Could not create query from YQL: Child item (-last_name:doe) should be an instance of class com.yahoo.prelude.query.TermItem but is class com.yahoo.prelude.query.NotItem

Describe the solution you'd like
Support for negation inside sameElement.

@kkraune kkraune added this to the soon milestone Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants