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
Pig >> mail # user >> Comments in pig scripts


Copy link to this message
-
RE: Comments in pig scripts
Probably you have already figured out, but for the sake of others, the single line comment starts with  '--' (two dashes) instead.

Thanks,
Xuefu

-----Original Message-----
From: Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 11, 2011 7:34 AM
To: [EMAIL PROTECTED]
Subject: Re: Comments in pig scripts

Thanks

On 3/10/11 10:14 PM, Rekha Joshi wrote:
> Use - for single-line comments or /* */ for multi-line comments.
> Thanks,
>
>
> On 3/11/11 11:38 AM, "Mark"<[EMAIL PROTECTED]>  wrote:
>
> How can I add comments in my pig script? I tried # but whenever that
> gets ran in the pig console it complains.
>
>
>
>
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