|
|
-
comment character in pig scripts?
James Kebinger 2009-12-04, 23:56
Please forgive my ignorance, but is there a comment character in Pig scripts? It occurs to me I've never seen an example with a comment in it, and leading # or ; characters don't appear to work as comment characters.
thanks!
-
Re: comment character in pig scripts?
Jianyong Dai 2009-12-04, 23:59
Use double dash in the beginning of the line. --a = load '1.txt'
Daniel
James Kebinger wrote: > Please forgive my ignorance, but is there a comment character in Pig > scripts? It occurs to me I've never seen an example with a comment in it, > and leading # or ; characters don't appear to work as comment characters. > > thanks! >
-
Re: comment character in pig scripts?
James Kebinger 2009-12-05, 00:09
terrific. I should have tried that next. thanks!
On Fri, Dec 4, 2009 at 6:59 PM, Jianyong Dai <[EMAIL PROTECTED]> wrote:
> Use double dash in the beginning of the line. > --a = load '1.txt' > > Daniel > > > James Kebinger wrote: > >> Please forgive my ignorance, but is there a comment character in Pig >> scripts? It occurs to me I've never seen an example with a comment in it, >> and leading # or ; characters don't appear to work as comment characters. >> >> thanks! >> >> > >
-
Re: comment character in pig scripts?
Jeff Zhang 2009-12-05, 00:47
"--" for single line comment and "/* */ for multiple line comments Jeff Zhang
On Fri, Dec 4, 2009 at 4:09 PM, James Kebinger <[EMAIL PROTECTED]> wrote:
> terrific. I should have tried that next. thanks! > > On Fri, Dec 4, 2009 at 6:59 PM, Jianyong Dai <[EMAIL PROTECTED]> > wrote: > > > Use double dash in the beginning of the line. > > --a = load '1.txt' > > > > Daniel > > > > > > James Kebinger wrote: > > > >> Please forgive my ignorance, but is there a comment character in Pig > >> scripts? It occurs to me I've never seen an example with a comment in > it, > >> and leading # or ; characters don't appear to work as comment > characters. > >> > >> thanks! > >> > >> > > > > >
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext