Grokbase Groups Hive user June 2011
FAQ
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 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 wrote:


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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 5 | next ›
Discussion Overview
groupuser @
categorieshive, hadoop
postedJun 29, '11 at 12:37p
activeJul 7, '11 at 2:28p
posts5
users3
websitehive.apache.org

People

Translate

site design / logo © 2021 Grokbase