You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "wangjie (Jira)" <ji...@apache.org> on 2021/01/21 16:07:00 UTC

[jira] [Created] (CALCITE-4474) SqlSimpleParser inner Tokenizer ignore comment in some special case

wangjie created CALCITE-4474:
--------------------------------

             Summary: SqlSimpleParser inner Tokenizer ignore comment in some special case
                 Key: CALCITE-4474
                 URL: https://issues.apache.org/jira/browse/CALCITE-4474
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.26.0
            Reporter: wangjie
             Fix For: 1.26.0


the SqlSimpleParser#simplifySql function can filter comments

but when `--` follow by variable, this comment will not be filter. In fact, it should be filtered



--
This message was sent by Atlassian Jira
(v8.3.4#803005)