[ https://issues.apache.org/jira/browse/HIVE-19287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449974#comment-16449974 ]
zhuwei commented on HIVE-19287: ------------------------------- [~abstractdog] Thanks . I have revise the title. Actually, it's related with both semicolon and whitespace. If there is no semicolon, the whitespace will be handled later . > parse error with semicolon in comment which starts with whitespace in file > -------------------------------------------------------------------------- > > Key: HIVE-19287 > URL: https://issues.apache.org/jira/browse/HIVE-19287 > Project: Hive > Issue Type: Bug > Environment: hive 2.2.1 > Reporter: zhuwei > Assignee: zhuwei > Priority: Minor > Attachments: HIVE-19287.1.patch, HIVE-19287.2.patch > > > It will get error when hive query written in file look like this: > select col > --this is; an example > from db.table > limit 1; > -- This message was sent by Atlassian JIRA (v7.6.3#76005)