-
Notifications
You must be signed in to change notification settings - Fork 25k
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
EQL: Introduce explicit equality operator for strings #62941
Labels
:Analytics/EQL
EQL querying
>breaking
>feature
Team:QL (Deprecated)
Meta label for query languages team
Comments
Pinging @elastic/es-ql (:Query Languages/EQL) |
Relates #62883 |
This was referenced Sep 28, 2020
costin
added a commit
to costin/elasticsearch
that referenced
this issue
Oct 1, 2020
Introduce : and !: operator for doing case insensitive string comparisons. When dealing with non-string, the operator gets optimized to usual equality checks so that it can be combined with other operators. Relates elastic#62941
costin
added a commit
that referenced
this issue
Oct 1, 2020
Introduce : operator for doing case insensitive string comparisons. Recognizes "*" for wildcard matches in string literals. Restricted only to string types. Relates #62941
costin
added a commit
that referenced
this issue
Oct 1, 2020
Addressed through 201e577 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Analytics/EQL
EQL querying
>breaking
>feature
Team:QL (Deprecated)
Meta label for query languages team
Currently
==
has overloaded semantics namely:which have proven problematic.
Instead of overloading
==
, a new comparison operator is introduced that takes over these semantics, leaving==
with exact ones.The current proposals for the newly introduced operator are:
a.
:
/!:
b.
=~
/!~
Regardless of the actual operator being used, the new operator will:
*
, will be equivalent to a wildcard match. To escape*
in a string, use\
:==
is always exact and there is no way to make==
behave like the newly introduced operator.Relates to (see #62651 (comment)).
The text was updated successfully, but these errors were encountered: