[ 
https://issues.apache.org/jira/browse/HIVE-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070204#comment-13070204
 ] 

Ido Hadanny commented on HIVE-2259:
-----------------------------------

Hey, what about /* style comments? 
this also fails: /*pretty comment*/drop table BABA;
with this error message: Query returned non-zero code: 11, cause: FAILED: Parse 
Error: line 1:0 cannot recognize input '/'

> Skip comments in hive script
> ----------------------------
>
>                 Key: HIVE-2259
>                 URL: https://issues.apache.org/jira/browse/HIVE-2259
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Vaibhav Aggarwal
>            Assignee: Vaibhav Aggarwal
>             Fix For: 0.8.0
>
>         Attachments: HIVE-2259.patch
>
>
> If you specify something like:
> -- This is a comment
> add jar jar_path;
> select * from my_table;
> This fails.
> I have created a fix to skip the commented lines.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to