| clear query|facets|time |
Search criteria: .
Results from 61 to 70 from
108 (0.175s).
|
|
|
Loading phrases to help you refine your search...
|
|
Re: Removing unwanted items in tuple - Pig - [mail # user]
|
|
...You can use a nested foreach to project only the wanted columns. Cheers, Gianmarco On Wed, May 9, 2012 at 10:22 PM, James Newhaven wrote: ...
|
|
|
Author: Gianmarco De Francisci Mo...,
2012-05-09, 21:09
|
|
|
Re: Ordering and limiting Tuples inside a Bag - Pig - [mail # user]
|
|
...You might want to use the TOP UDF which is more efficient for the same task (as I was taught on this list :). http://pig.apache.org/docs/r0.10.0/func.html#topx Cheers, Gianmarco ...
|
|
|
Author: Gianmarco De Francisci Mo...,
2012-05-09, 21:06
|
|
|
Re: [VOTE] Release Pig 0.10.0 (candidate 0) - Pig - [mail # dev]
|
|
...Ship it! Gianmarco On Wed, Apr 25, 2012 at 09:35, Prashant Kommireddi wrote: ...
|
|
|
Author: Gianmarco De Francisci Mo...,
2012-04-25, 08:32
|
|
|
Re: Problem with dereferencing and alias - Pig - [mail # user]
|
|
...Hi, the fact is that visit is a nested tuple inside the tuples that make your original relation. If you describe the data2 relation it should get clear: WITH FLATTEN grunt> de...
|
|
|
Author: Gianmarco De Francisci Mo...,
2012-04-23, 20:10
|
|
|
Re: Python UDF for piglatin script not finding re module - Pig - [mail # user]
|
|
...Hi, welcome to the community! First question is, how did you install pig? Source or some other distribution? Second, Pig wants jython.version=2.5.0 Which version have you i...
|
|
|
Author: Gianmarco De Francisci Mo...,
2012-04-19, 20:32
|
|
|
Re: ordering tuple after grouping - Pig - [mail # user]
|
|
...I see, I hadn't got your suggestion. You meant replacing both ORDER and LIMIT with TOP. Makes sense, thanks. Cheers, Gianmarco On Tue, Apr 17, 2012 at 11:50, Dmitriy Ryabo...
|
|
|
Author: Gianmarco De Francisci Mo...,
2012-04-17, 10:52
|
|
|
Re: ordering tuple after grouping - Pig - [mail # user]
|
|
...Hi Dmitriy, Can you explain which is the difference in the execution plan? And if there is a performance difference, shouldn't we try to fix it? Cheers, Gianmarco On...
|
|
|
Author: Gianmarco De Francisci Mo...,
2012-04-17, 08:03
|
|
|
Re: ordering tuple after grouping - Pig - [mail # user]
|
|
...Sure, use a nested foreach. grouped = group data by $0; ordered = foreach grouped { sorted = order data by $1; first = limit sorted 1; generate first; } Bewa...
|
|
|
Author: Gianmarco De Francisci Mo...,
2012-04-16, 20:43
|
|
|
Re: Raise Flag based on join condition - Pig - [mail # user]
|
|
...Hi, just use a replicated outer join, then you can check for the presence of the holiday with a foreach and generate T or F with a ternary conditional operator (i.e. condition ? value_...
|
|
|
Author: Gianmarco De Francisci Mo...,
2012-04-16, 14:32
|
|
|
Re: Replace at position in string - Pig - [mail # user]
|
|
...Hi, I think you can accomplish what you want with Substring and Concat in a generate statement. Something along these lines: a = load 'strings' as (line:chararray); b = foreach a...
|
|
|
Author: Gianmarco De Francisci Mo...,
2012-04-13, 13:23
|
|
|
|