Home | About | Sematext search-lucene.com search-hadoop.com
clear query|facets|time Search criteria: .   Results from 1 to 10 from 23 (0.233s).
Loading phrases to help you
refine your search...
Re: ignoring null entries - Pig - [mail # user]
...Hi Jamal,           you can use filter by not null .  A = LOAD 'data_1' USING PigStorage(',') as (id1:chararray,value1:chararray);  B = FILTER A by id1 is ...
   Author: Harsha, 2013-03-29, 20:46
Re: Mapping nested json objects to map data type - Pig - [mail # user]
...Hi Kiran,        Can you take a look at pig scripts under here  https://github.com/mozilla-metrics/telemetry-toolbox/tree/master/src/main/pig All of them uses those ...
   Author: Harsha, 2013-03-14, 06:51
Re: Mapping nested json objects to map data type - Pig - [mail # user]
...Hi Kiran,        If you are ok with using java for udfs take a look at this https://github.com/mozilla-metrics/akela/tree/master/src/main/java/com/mozilla/pig/eval/json &...
   Author: Harsha, 2013-03-14, 03:54
Re: Pig Regex Help - Pig - [mail # user]
...Hi John,       I ran these in pig 0.9.2      A = LOAD 'data' as line:chararray;       B = FOREACH A GENERATE FLATTEN(REGEX_EXTRACT_ALL(line, '^(....
   Author: Harsha, 2013-03-10, 03:39
Re: Tuples in UDF and null - Pig - [mail # user]
...Mohit,    A = LOAD '/user/apuser/test/data1' AS b:bag{ you are naming your data bag as b. if you want to refer values inside the data bag try b.a or b.b. The sample data I gave you...
   Author: Harsha, 2013-03-07, 20:11
Re: Tuples in UDF and null - Pig - [mail # user]
...It will be easier if you have some sample data and run it through grunt shell. Lets say you have a dataset like this ({(1,)})  ({(3,)}) ({(5,10)}) ({(7,)})  some of them are nulls ...
   Author: Harsha, 2013-03-07, 19:27
Re: Tuples in UDF and null - Pig - [mail # user]
...from your schema b:bag{t:tuple(a:chararray, b:chararray)} your tuple is inside a bag so on the next line if you are trying to access through $1 pig will throw up an error saying non-existent...
   Author: Harsha, 2013-03-07, 18:53
Re: Tuples in UDF and null - Pig - [mail # user]
...Hi Mohit,            it won't convert into string literal 'NULL' since its a tuple you'll see results like ('Hello',)   Harsha   On Thursday, March 7,...
   Author: Harsha, 2013-03-07, 18:31
Re: FLATTEN is not working - Pig - [mail # user]
...I can think off doing some thing on these lines but there might be a better way.   Z = foreach Y generate id, TOTUPLE(split_qc.$0,split_qt.$0,split_qe.$0),TOTUPLE(split_qc.$1,split_qt.$...
   Author: Harsha, 2013-03-07, 02:00
Re: FLATTEN is not working - Pig - [mail # user]
...Hi Mix,         You are doing a TOBAG on a tuple which will put  it as {((11,22,33))}.  flatten the tuple before doing the TOBAG.  Z = foreach Y GENERATE i...
   Author: Harsha, 2013-03-07, 01:29
Sort:
project
Pig (23)
HBase (1)
type
mail # user (22)
mail # dev (1)
date
last 7 days (0)
last 30 days (0)
last 90 days (1)
last 6 months (22)
last 9 months (23)
author
Dmitriy Ryaboy (1351)
Alan Gates (959)
Jonathan Coveney (736)
Daniel Dai (545)
Russell Jurney (493)
Olga Natkovich (453)
Prashant Kommireddi (370)
Bill Graham (333)
Cheolsoo Park (263)
Mridul Muralidharan (201)
Thejas Nair (195)
Ashutosh Chauhan (169)
Julien Le Dem (156)
Jeff Zhang (146)
Santhosh Srinivasan (142)
Harsha