Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Comments in hive scripts


Copy link to this message
-
Re: Comments in hive scripts
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
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB