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
SQL: Nulls are returned when filtering with !=
#35233
Labels
Comments
Pinging @elastic/es-search-aggs |
matriv
added a commit
to matriv/elasticsearch
that referenced
this issue
Nov 4, 2018
Add NotEquals node in parser to simplify expressions so that <value1> != <value2> is no longer translated internally to NOT(<value1> = <value2>) Closes: elastic#35210 Fixes: elastic#35233
matriv
pushed a commit
that referenced
this issue
Nov 5, 2018
matriv
pushed a commit
that referenced
this issue
Nov 5, 2018
matriv
pushed a commit
that referenced
this issue
Nov 5, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Returns:
but it should be evaluated as
null !=0 => null
and because it's in the WHERE it should becomefalse
The text was updated successfully, but these errors were encountered: