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
clear query|facets|time Search criteria: .   Results from 1 to 9 from 9 (0.129s).
Loading phrases to help you
refine your search...
Re: Number format exception : For input string - Pig - [mail # user]
...FYI - I think Jose just put the asterisks for emphasis. I believe it should be - 1369546091667L (to indicate a long constant)   On 2 July 2013 21:07, jose moreno  wrote:  ...
   Author: Abhinav Neelam, 2013-07-03, 13:11
Re: dereferencing bag of map - Pig - [mail # user]
...Use REGEX_EXTRACT_ALL Something like this should work (untested, please verify)  rel2 = foreach rel1 generate FLATTEN(REGEX_EXTRACT_ALL(attributes#'md','\\{"cld":"(\\w+)","sld":"(\\w+)"...
   Author: Abhinav Neelam, 2013-06-25, 13:05
Re: SUM of project-range of fields? - Pig - [mail # user]
...Russell's code works with a little modification. (The cast to int doesn't work though.)  movie_and_genres = FOREACH movies GENERATE $0 as movie_name, (bag{tuple()})TOBAG($2 ..) AS genre...
   Author: Abhinav Neelam, 2013-03-19, 17:43
Re: Accessing nested bags & tuples - Pig - [mail # user]
...Alex: your solution won't work because the field 'type' isn't accessible within tags_bag.  Ben: I think you're saying you want to concat the 'tags' value in the *first * tags_tuple in t...
   Author: Abhinav Neelam, 2012-07-10, 04:44
Re: Generating multiple tuples from single tuple - Pig - [mail # user]
...If you don't have an unknown number of columns, you can do this not-too-hacky (hopefully) pig:  grunt> dump in; ****file:/homes/abhinavn/pigtest/tuplify.data ****file:/tmp/temp-20675...
   Author: Abhinav Neelam, 2012-07-04, 07:00
Re: nested Tuple(Tuple) - Pig - [mail # user]
...Yeah, says so in the manual - "A single element enclosed in parens ( ) like (5) is not considered to be a tuple but rather an arithmetic operator." http://pig.apache.org/docs/r0.10.0/basic.h...
   Author: Abhinav Neelam, 2012-06-29, 05:31
[expand - 1 more] - Re: Passing a BAG to Pig UDF constructor? - Pig - [mail # user]
...You're right I guess. There's no reason why the two steps should happen on the same nodes. To get around this, you'd have to make the hash available on all the nodes - through the distribute...
   Author: Abhinav Neelam, 2012-06-29, 05:17
Re: Summing the contents of a bag - Pig - [mail # user]
...Sorry if I've misunderstood the question but isn't this exactly what the builtin function SUM does? Given that your relation is contained in the alias 'in' and has this schema: grunt> des...
   Author: Abhinav Neelam, 2012-05-29, 04:00
[expand - 1 more] - Re: How to use TOP? - Pig - [mail # user]
...Doing it in the pig script is not feasible because pig doesn't have any notion of sequentiality - to maintain it, you'd need to have access to state that's shared globally by all the mappers...
   Author: Abhinav Neelam, 2012-05-22, 09:06
Sort:
project
Pig (9)
type
mail # user (9)
date
last 7 days (0)
last 30 days (0)
last 90 days (0)
last 6 months (0)
last 9 months (9)
author
Daniel Dai (405)
Dmitriy Ryaboy (345)
Alan Gates (334)
Cheolsoo Park (271)
Jonathan Coveney (230)
Rohini Palaniswamy (175)
Russell Jurney (173)
Olga Natkovich (131)
Bill Graham (130)
Prashant Kommireddi (110)
Julien Le Dem (81)
Aniket Mokashi (79)
Thejas Nair (70)
Thejas M Nair (63)
Mridul Muralidharan (61)
Ashutosh Chauhan (42)
pi song (41)
Gianmarco De Francisci Mo...(39)
liyunzhang_intel (39)
Koji Noguchi (38)
Pradeep Gollakota (36)
Cheolsoo Park (35)
Ruslan Al-Fakikh (35)
Dmitriy V. Ryaboy (34)
Jeff Zhang (32)
Abhinav Neelam
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