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

QL: case sensitive support in EQL (#56404) #56597

Merged
merged 4 commits into from
May 12, 2020

Conversation

astefan
Copy link
Contributor

@astefan astefan commented May 12, 2020

  • adds a generic startsWith function to QL
  • modifies the existent EQL startsWith function to be case sensitive
    aware
  • improves the existent EQL startsWith function to use a prefix query
    when the function is used in a case sensitive context. Same improvement
    is used in SQL's newly added STARTS_WITH function.
  • adds case sensitivity to EQL configuration through a case_sensitive
    parameter in the eql request, as established in EQL: case sensitivity in ES EQL string functions #54411.
    The case_sensitive parameter can be specified when running queries
    (default is case insensitive)

(cherry picked from commit ee5a09e)
Backport of #56404.

* adds a generic startsWith function to QL
* modifies the existent EQL startsWith function to be case sensitive
aware
* improves the existent EQL startsWith function to use a prefix query
when the function is used in a case sensitive context. Same improvement
is used in SQL's newly added STARTS_WITH function.
* adds case sensitivity to EQL configuration through a case_sensitive
parameter in the eql request, as established in elastic#54411.
The case_sensitive parameter can be specified when running queries
(default is case insensitive)

(cherry picked from commit ee5a09e)
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (:Query Languages/SQL)

@elasticmachine elasticmachine added the Team:QL (Deprecated) Meta label for query languages team label May 12, 2020
@astefan astefan merged commit f0074e9 into elastic:7.x May 12, 2020
@astefan astefan deleted the 56404_7x_backport branch May 12, 2020 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/EQL EQL querying :Analytics/SQL SQL querying backport >enhancement Team:QL (Deprecated) Meta label for query languages team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants