OpenSearch/docs/reference/sql/language/syntax
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
..
describe-table.asciidoc DOC: Add SQL section on client applications 2018-09-13 15:44:52 +03:00
index.asciidoc [DOCS] Move sql to docs (#31474) 2018-06-22 15:40:25 -07:00
select.asciidoc SQL: Fix grammar for `*` in arithm expressions (#34176) 2018-10-02 11:47:42 +03:00
show-columns.asciidoc DOCS: Fix anchor and example typos 2018-09-04 19:06:44 +03:00
show-functions.asciidoc SQL: Show/desc commands now support table ids (#33363) 2018-09-04 16:54:10 +03:00
show-tables.asciidoc DOCS: Fix anchor and example typos 2018-09-04 19:06:44 +03:00