Skip to content

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

Merged
astefan merged 4 commits intoelastic:7.xfrom
astefan:56404_7x_backport
May 12, 2020
Merged

QL: case sensitive support in EQL (#56404)#56597
astefan merged 4 commits intoelastic:7.xfrom
astefan:56404_7x_backport

Conversation

@astefan
Copy link
Copy Markdown
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
Copy Markdown
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