Liu Chunxiao created HIVE-16713:

             Summary: Remove wrong judgments of single and double quotes in 
"--" comments
                 Key: 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

Reply via email to