You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Liu Chunxiao (JIRA)" <ji...@apache.org> on 2017/05/19 08:59:04 UTC

[jira] [Created] (HIVE-16713) Remove wrong judgments of single and double quotes in "--" comments

Liu Chunxiao created HIVE-16713:
-----------------------------------

             Summary: Remove wrong judgments of single and double quotes in "--" comments
                 Key: HIVE-16713
                 URL: https://issues.apache.org/jira/browse/HIVE-16713
             Project: Hive
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Liu Chunxiao
            Assignee: Liu Chunxiao
            Priority: Minor


single quote in "--" comments will lead to parse exception
e.g. sql files which contain the following:
select  --...user's...
count(*) from aa;
will regard the single quote in comment "user's" as a quote in sql statement. So ";" after aa will be regarded as a ";" in single quote and will not be split by the parser.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)