Re: Sequence File processing

2013-01-10 Thread Dmitriy Ryaboy
Please see the list of editor plugins in https://cwiki.apache.org/confluence/display/PIG/PigTools D On Mon, Dec 24, 2012 at 9:42 PM, Kshiva Kps wrote: > Hi, > > Is there any PIG editors and where we can write 100 to 150 pig scripts > I'm believing is not possible to do in CLI mode . > Like ID

Re: Sequence File processing

2012-12-24 Thread Srini
Thanks Cheolsoo. On Mon, Dec 24, 2012 at 1:37 PM, Cheolsoo Park wrote: > Hi Srini, > > You can use STRSPLIT to split your "value" chararray and define schema in a > FOREACH. For example, if the "value" consists of 3 integers (i.e. "1|2|3"), > > A= LOAD 'part-m-' USING SequenceFileLoader() AS

Re: Sequence File processing

2012-12-24 Thread Kshiva Kps
Hi, Is there any PIG editors and where we can write 100 to 150 pig scripts I'm believing is not possible to do in CLI mode . Like IDE for JAVA /TOAD for SQL pls advice , many thanks Thanks On Tue, Dec 25, 2012 at 3:09 AM, Mohammad Tariq wrote: > +1 > > Best Regards, > Tariq > +91-9741563634

Re: Sequence File processing

2012-12-24 Thread Mohammad Tariq
+1 Best Regards, Tariq +91-9741563634 https://mtariq.jux.com/ On Tue, Dec 25, 2012 at 3:07 AM, Cheolsoo Park wrote: > Hi Srini, > > You can use STRSPLIT to split your "value" chararray and define schema in a > FOREACH. For example, if the "value" consists of 3 integers (i.e. "1|2|3"), > > A= LO

Re: Sequence File processing

2012-12-24 Thread Cheolsoo Park
Hi Srini, You can use STRSPLIT to split your "value" chararray and define schema in a FOREACH. For example, if the "value" consists of 3 integers (i.e. "1|2|3"), A= LOAD 'part-m-' USING SequenceFileLoader() AS (key:long,value:chararray); B = FOREACH A GENERATE key, FLATTEN( STRSPLIT(value,'\\

Sequence File processing

2012-12-23 Thread Srini
Hi , I have used SequeceFileLoader for loading sequence file. A= load 'part-m-' using SequenceFileLoader() as (key:long,value:chararray) "value" is the chararray which consists of 10 fields which are separated by delimiter ( "|" here ). How do I create schema here so that I can make further