Closed wshang2022 closed 2 years ago
It looks like this bug is with cqlsh
itself... this repo is just the packaging to put it on PyPI.
So can you file a Jira against upstream Cassandra project?
More info here: https://github.com/jeffwidman/cqlsh#contributing
I believe the logic is reversed. The strip_comment_blocks is meant to remove comments in "..." so it should not go into the if section if re.search('["].[/][].[][/].*["]', statementtext) return None. https://github.com/jeffwidman/cqlsh/blob/master/cqlsh/cqlsh.py#L905
example: INSERT INTO DB (abc) VALUES ('/*');