-
Notifications
You must be signed in to change notification settings - Fork 186
Indices with "." in names cause exception but error is never raised. #805
Comments
Hi @jasonrojas
Please let us know if there's any other question/issue, thanks! |
Transferred this issue to SQL repository since sql-workbench repo is deprecated |
Just gave the escaping a try and it did not seem to work:
|
Could you turn off the semantic analyzer from the devtools or from bash with this command and give it another shot:
|
similar error:
|
Here is the full stack:
|
Also see #322 |
Seems like #322 is closed, but this issue still exists in the latest build. |
@jasonrojas Sorry for the confusion. I guess this is because For now, you can try the suggestion that @chloe-zh gave earlier with our
|
Closing. Feel free to reopen if anything else. Thanks. |
After attempting to query some date based index names and no results except a 500 from the back-end being returned I found this error in the logs.
c2904330-9c90-4306-96e6-d4335dd6c917 Client side error during query execution com.amazon.opendistroforelasticsearch.sql.legacy.antlr.syntax.SyntaxAnalysisException: Failed to parse query due to offending symbol [.10] at: 'select count(*) from logstash-2020.10' <--- HERE... More details: Expecting tokens in {<EOF>, ';'} at com.amazon.opendistroforelasticsearch.sql.legacy.antlr.syntax.SyntaxAnalysisErrorListener.syntaxError(SyntaxAnalysisErrorListener.java:41) ~[legacy-1.8.0.0.jar:?]
Did not see any warnings about this in the documentation section so I figured I would post this here. I totally get why this is not valid from the dot perspective.
As a side note, the following query works:
select count(*) from .kibana_1;
Similar issues happen with the PPL.
The text was updated successfully, but these errors were encountered: