You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Satoshi Yamada <bi...@yahoo.co.jp> on 2011/07/03 13:32:55 UTC

Re: comment out hive script file

Thanks, Edward, and sorry for late reply.
I want to add comment in the file using with "hive -f".
$ cat sample_select.hql
-- some commentSELECT something FROM sample_table;
$ hive -f sample_select.hql
Sample above does not work. Either "#" or "/* */" doesnot work.
So, is there no way to add comment in the file?
Thanks,satoshi
--- On Wed, 2011/6/29, Edward Capriolo <ed...@gmail.com> wrote:

There is a subtle nuance, comments can only appear before QL statements not set or add commands.

Edward

On Wed, Jun 29, 2011 at 8:36 AM, Satoshi Yamada <bi...@yahoo.co.jp> wrote:


hi,
Is there any way to comment out hive script file?
Either "--" or "/* */" does not seem to work.
Thanks in advance,satoshi