Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness - API / Semantic Implementation
-
Low
-
Normal
-
User Report
-
All
-
None
-
Description
Commented-out lines that end in a semicolon cause an error.
For example:
/*
describe keyspaces;
*/
This produces an error:
SyntaxException: line 2:22 no viable alternative at input '<EOF> (...*
describe keyspaces;...)
It works as expected if you use syntax:
– describe keyspaces;
Environment:
python:3.7.7-slim-stretch (docker image)
I found that this was first seen here, and was patched, but the bug appears to have resurfaced:
Attachments
Attachments
Issue Links
- relates to
-
CASSANDRA-17667 Text value containing "/*" interpreted as multiline comment in cqlsh
- Resolved
-
CASSANDRA-2488 cqlsh errors on comments that end with a semicolon
- Resolved