[ https://issues.apache.org/jira/browse/HIVE-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
iryoung jeong updated HIVE-1431: -------------------------------- Affects Version/s: 0.7.0 Release Note: This hive-1431.patch doesn't solve the root of the problem. But it's working for this issue. Status: Patch Available (was: Open) > Hive CLI can't handle query files that begin with comments > ---------------------------------------------------------- > > Key: HIVE-1431 > URL: https://issues.apache.org/jira/browse/HIVE-1431 > Project: Hive > Issue Type: Bug > Components: CLI > Affects Versions: 0.7.0 > Reporter: Carl Steinbach > Fix For: 0.7.0 > > Attachments: hive-1431.patch > > > {code} > % cat test.q > -- This is a comment, followed by a command > set -v; > -- > -- Another comment > -- > show tables; > -- Last comment > (master) [ ~/Projects/hive ] > % hive < test.q > Hive history file=/tmp/carl/hive_job_log_carl_201006231606_1140875653.txt > hive> -- This is a comment, followed by a command > > set -v; > FAILED: Parse Error: line 2:0 cannot recognize input 'set' > hive> -- > > -- Another comment > > -- > > show tables; > OK > rawchunks > Time taken: 5.334 seconds > hive> -- Last comment > > (master) [ ~/Projects/hive ] > % > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.