Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # user - Comments in hive scripts


+
rohan monga 2011-08-05, 07:39
Copy link to this message
-
Re: Comments in hive scripts
Jakob Homan 2011-08-05, 19:38
Comments in scripts are a bit wonky.  In 8, HIVE-2259
(http://bit.ly/rg1WVk) has improved the handling of comments.  That
patch should fix the issue you're having.

-Jakob
On Fri, Aug 5, 2011 at 12:39 AM, rohan monga <[EMAIL PROTECTED]> wrote:
> Hi,
> I am using hive version 0.7 and I am having an odd issue with comments
>
> The following works
> <snip>
> use default;
> -- this is good
> -- select blah from blahness
> ...
> </snip>
>
> However,
> <snip>
> use default;
> -- this is good
> -- select * from blahness;
> ...
> </snip>
> doesn't work, is this because hive is parsing ';' before removing
> comments? or am I missing something?
>
> Thanks,
> --
> Rohan Monga
>
+
rohan monga 2011-08-06, 16:52