hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu Chunxiao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-16713) Remove wrong judgments of single and double quotes in "--" comments
Date Fri, 19 May 2017 08:59:04 GMT
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)

Mime
View raw message