Re: comment character in pig scripts?

2009-12-04 Thread Jeff Zhang
"--" for single line comment and "/* */ for multiple line comments Jeff Zhang On Fri, Dec 4, 2009 at 4:09 PM, James Kebinger wrote: > terrific. I should have tried that next. thanks! > > On Fri, Dec 4, 2009 at 6:59 PM, Jianyong Dai > wrote: > > > Use double dash in the beginning of the lin

Re: comment character in pig scripts?

2009-12-04 Thread James Kebinger
terrific. I should have tried that next. thanks! On Fri, Dec 4, 2009 at 6:59 PM, Jianyong Dai 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? I

Re: comment character in pig scripts?

2009-12-04 Thread Jianyong Dai
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 comm

comment character in pig scripts?

2009-12-04 Thread James Kebinger
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!

JSON Encoding UDF?

2009-12-04 Thread zaki rahaman
Just a quick question out there before I go doing this myself but has anyone written a StoreFunc (or even better a reversible one that does both load/store) for JSON... basically I have a relation that I would like to write to a bunch of files of just JSON objects, and I have the associated JSON sc