fsk119 edited a comment on pull request #15980:
URL: https://github.com/apache/flink/pull/15980#issuecomment-849484444
After diving in this problem, I think there is no quick and easy way to fix
the problem when the comment is at the last line, e.g.
```
CREATE TABLE (
a INT
); -- comment with ;
```
and
```
SET a = b; --comments
```
We can just tell users we can't parse these statements right now.
I have opened a ticket in FLINK-22787 as a long term improvements.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]