| clear query|facets|time |
Search criteria: .
Results from 11 to 20 from
29 (0.147s).
|
|
|
Loading phrases to help you refine your search...
|
|
Losing ordering after using ORDER BY - Pig - [mail # user]
|
|
...Hi, I've noticed that I seem to be losing the ordering of my relation after passing the result of an ORDER BY to an EVAL function. For example: D = FOREACH C GENERATE COUNT...
|
|
|
Author: James Newhaven,
2012-05-29, 19:25
|
|
|
Summing the contents of a bag - Pig - [mail # user]
|
|
...Given a relation that contains this: ({(11),(9)}) ({(8),(7)}) Is it possible for me to SUM the contents of each bag so I get: (20) (15) Thanks, James...
|
|
|
Author: James Newhaven,
2012-05-28, 22:40
|
|
|
Re: Passing a single Bag to an Eval function - Pig - [mail # user]
|
|
...Thanks Jonathan. Great explanation. On Mon, May 28, 2012 at 6:53 PM, Jonathan Coveney wrote: ...
|
|
|
Author: James Newhaven,
2012-05-28, 22:16
|
|
|
Passing a single Bag to an Eval function - Pig - [mail # user]
|
|
...I am trying to use an EVAL pig function (it's called BagSplit from datafu) which accepts a Bag as a parameter. The problem I have is that my current relation is a single Bag, so I'm no...
|
|
|
Author: James Newhaven,
2012-05-28, 12:12
|
|
|
Jackson problem in custom Pig Eval function - Pig - [mail # user]
|
|
...I am trying to use the Jackson JSON mapper in a custom Eval Pig function like this: mapper.writeValueAsString(cityChartData); However, when I use my custom function in a pig scri...
|
|
|
Author: James Newhaven,
2012-05-18, 16:17
|
|
|
Re: Removing unwanted items in tuple - Pig - [mail # user]
|
|
...Thanks. But what if my bag is grouped like this: group: (id), bagname: { (product, unwanted, count), (product, unwanted, count) } I want to retain the group tuple but remov...
|
|
|
Author: James Newhaven,
2012-05-09, 20:22
|
|
|
Removing unwanted items in tuple - Pig - [mail # user]
|
|
...I have a bag of tuples like this: { (product, unwanted, count), (product, unwanted, count) } Is it possible in Pig to generate a new bag with a revised tuple structure with one o...
|
|
|
Author: James Newhaven,
2012-05-09, 17:43
|
|
|
Re: Ordering and limiting Tuples inside a Bag - Pig - [mail # user]
|
|
...Ok, figured out the nested foreach. Thanks for your help. Regards, James On Wed, May 9, 2012 at 5:33 PM, James Newhaven wrote: ...
|
|
|
Author: James Newhaven,
2012-05-09, 17:39
|
|
|
Re: Ordering and limiting Tuples inside a Bag - Pig - [mail # user]
|
|
...Thanks Steve, Yes I did discover nested foreach, but I can't get the syntax right. Can anyone help get me started on how it's meant to look? Regards, James On Wed, May 9, 2...
|
|
|
Author: James Newhaven,
2012-05-09, 16:33
|
|
|
Ordering and limiting Tuples inside a Bag - Pig - [mail # user]
|
|
...Hi, Another newbie Pig question. If I have a relation with a structure like this: (city, { (productId, count), (product, count) }). This relation tracks counts of products ...
|
|
|
Author: James Newhaven,
2012-05-09, 11:56
|
|
|
|