[ES|QL] restore better syntax error messages #124145
Labels
:Analytics/ES|QL
AKA ESQL
ES|QL-ui
Impacts ES|QL UI
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
Description
21845ad resulted in some negative changes to our syntax error messages.
The top priority is
row var = 1 not in
mismatched input '<EOF>' expecting '('
mismatched input '<EOF>' expecting LP
(the lexer lost the literal name for LP, so it just gives the symbolic name... this won't be obvious to a user).
Also, an incorrect command name generates an error with a missing element in the list
from index | project
Could we restore the original behavior in these cases? Particularly, the parentheses.
The text was updated successfully, but these errors were encountered: