Namit Jain created HIVE-3296:
--------------------------------
Summary: comments before a set statement does no work
Key: HIVE-3296
URL: https://issues.apache.org/jira/browse/HIVE-3296
Project: Hive
Issue Type: Bug
Reporter: Namit Jain
The following test fails:::
-- test comment
set hive.test="foo";
create table tst(key string);
The output is::
FAILED: ParseException line 2:0 cannot recognize input near 'set' 'hive' '.'
However, if the comment position is changed it works fine.
The following test:
-- test comment
create table tst(key string);
set hive.test="foo";
works fine
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira