OpenSearch/x-pack/qa/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
..
multinode Remove all unused imports and fix CRLF (#31207) 2018-06-11 15:12:12 +02:00
no-security SQL: Internal refactoring of operators as functions (#34097) 2018-09-27 23:42:57 +03:00
security Structured audit logging (#31931) 2018-09-14 15:25:53 +03:00
src/main SQL: Fix grammar for `*` in arithm expressions (#34176) 2018-10-02 11:47:42 +03:00
build.gradle Run forbidden api checks with runtimeJavaVersion (#32947) 2018-08-22 09:05:22 +03:00