mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 18:03:32 -04:00
For a query like `SELECT name FROM test WHERE name LIKE ''%c*'` ES SQL
generates an error. `*` is not a special character in a `LIKE` construct
and it's expected to not needing to be escaped, so the previous query
should work as is.
In the LIKE pattern any `*` character was treated as invalid character
and the usage of `%` or `_` was suggested instead. But `*` is a valid,
acceptable non-wildcard on the right side of the `LIKE` operator.
Fix: #55108
(cherry picked from commit
|
||
---|---|---|
.. | ||
aggs.asciidoc | ||
conditional.asciidoc | ||
date-time.asciidoc | ||
geo.asciidoc | ||
grouping.asciidoc | ||
index.asciidoc | ||
like-rlike.asciidoc | ||
math.asciidoc | ||
operators.asciidoc | ||
search.asciidoc | ||
string.asciidoc | ||
system.asciidoc | ||
type-conversion.asciidoc |