OpenSearch/docs/reference/sql
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
..
appendix [DOCS] Moves reserved keywords under SQL section (#34124) 2018-09-28 10:17:41 -07:00
endpoints DOC: improved wording in SQL client app section 2018-09-13 22:07:23 +03:00
functions SQL: functions docs update (#34000) 2018-09-25 02:42:18 +03:00
language SQL: Fix grammar for `*` in arithm expressions (#34176) 2018-10-02 11:47:42 +03:00
concepts.asciidoc SQL: Show/desc commands now support table ids (#33363) 2018-09-04 16:54:10 +03:00
getting-started.asciidoc [DOCS] Move sql to docs (#31474) 2018-06-22 15:40:25 -07:00
index.asciidoc [DOCS] Synchronizes captialization in top-level titles (#33605) 2018-09-27 08:36:18 -07:00
overview.asciidoc Minor spelling and grammar fix (#32931) 2018-08-28 12:50:19 +02:00
security.asciidoc [DOCS] Move sql to docs (#31474) 2018-06-22 15:40:25 -07:00