OpenSearch/docs/reference/sql/language
Marios Trivyzas a8a2a83d45
SQL: Fix grammar for `*` in arithm expressions (#34176)
Previously, parsing an arithmetic expression with `*` and no spaces,
e.g.: `2*i` threw a parsing exception as the grammar rule for
tableIdentifier was clashing with the rule for arithmetic operator `*`.

This issue comes already in the lexer and the left part of the
expression (in our example `2*`) was recognised as a
TABLE_IDENTIFIER token.

The solution adopted is to allow the `*` wildcard in the table name
only if it's surrounded with double quotes, e.g.: `"my*index"`

Closes: #33957
2018-10-02 11:47:42 +03:00
..
syntax SQL: Fix grammar for `*` in arithm expressions (#34176) 2018-10-02 11:47:42 +03:00
data-types.asciidoc DOC: Enhance SQL Functions documentation 2018-09-06 18:09:53 +03:00
index-patterns.asciidoc SQL: Fix grammar for `*` in arithm expressions (#34176) 2018-10-02 11:47:42 +03:00
index.asciidoc [DOCS] Revert fix for broken link 2018-09-04 09:26:28 -07:00