[ https://issues.apache.org/jira/browse/HIVE-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vikram Dixit K updated HIVE-1953: --------------------------------- Attachment: HIVE-1953.2.patch Fixes the comments issue in CliDriver. I have added a test to demonstrate the issue suggested below and find the result to be similar to what mysql produces. > Hive should process comments in CliDriver > ----------------------------------------- > > Key: HIVE-1953 > URL: https://issues.apache.org/jira/browse/HIVE-1953 > Project: Hive > Issue Type: Improvement > Reporter: He Yongqiang > Assignee: Syed S. Albiz > Attachments: HIVE-1953.1.patch, HIVE-1953.2.patch > > > If you put commend before a set command, it will faile. > Like this: > -- TestSerDe is a user defined serde where the default delimiter is Ctrl-B > -- the user is overwriting it with ctrlC > set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat; > Hive should process the comment in CliDriver, and ignore the comment right > away, instead of passing it to the downstream processors. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira