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

SQL: Equality should use == instead of = #31796

Closed
astefan opened this issue Jul 4, 2018 · 1 comment
Closed

SQL: Equality should use == instead of = #31796

astefan opened this issue Jul 4, 2018 · 1 comment

Comments

@astefan
Copy link
Contributor

astefan commented Jul 4, 2018

SQL has = as valid symbol for equality, but Painless scripts use ==. Currently, ES SQL uses = for Painless scripting which is incorrect.

@astefan astefan added >bug :Analytics/SQL SQL querying labels Jul 4, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

@costin costin added the v7.0.0 label Jul 5, 2018
costin added a commit to costin/elasticsearch that referenced this issue Jul 5, 2018
Fix bug that causes `HAVING a = b` to be translated ad-litteram in
Painless which uses `==` for equality checks not `=`.

Close elastic#31796
costin added a commit that referenced this issue Jul 6, 2018
Fix bug that causes `HAVING a = b` to be translated ad-litteram in
Painless which uses `==` for equality checks not `=`.

Close #31796
costin added a commit that referenced this issue Jul 6, 2018
Fix bug that causes `HAVING a = b` to be translated ad-litteram in
Painless which uses `==` for equality checks not `=`.

Close #31796

(cherry picked from commit 89cb087)
costin added a commit that referenced this issue Jul 6, 2018
Fix bug that causes `HAVING a = b` to be translated ad-litteram in
Painless which uses `==` for equality checks not `=`.

Close #31796

(cherry picked from commit 89cb087)
(cherry picked from commit 32746fd)
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

4 participants