| clear query|facets|time |
Search criteria: .
Results from 21 to 30 from
43 (0.092s).
|
|
|
Loading phrases to help you refine your search...
|
|
Re: Embedded Pig in a Python Module? - Pig - [mail # user]
|
|
...Sweet! That actually works. I don't know why I didn't just try that. For some reason, I was convinced it would break. Thanks for the advice! Eli On 3/14/12 8:40 AM, Norbert...
|
|
|
Author: Eli Finkelshteyn,
2012-03-14, 15:11
|
|
|
Embedded Pig in a Python Module? - Pig - [mail # user]
|
|
...Hi Folks, I'm currently working on a framework that's going to do some awesome graphing stuff grabbing data out using Pig. What I'm wondering is, is there any way I can put embed...
|
|
|
Author: Eli Finkelshteyn,
2012-03-14, 06:15
|
|
|
Re: Pig script to convert Categorical variables - Pig - [mail # user]
|
|
...No problem. Returning a variable schema sounds pretty cool and like something that should be doable, but I'm not really sure how to go about it. Maybe someone else knows? E...
|
|
|
Author: Eli Finkelshteyn,
2012-02-21, 16:17
|
|
|
Re: Pig script to convert Categorical variables - Pig - [mail # user]
|
|
...Interesting problem. What I'm thinking is why not do two steps. First, read in the data, group on the column you care about. Then generate on it so you get just the distinct valu...
|
|
|
Author: Eli Finkelshteyn,
2012-02-21, 04:53
|
|
|
TOBAG Function on a Tuple? - Pig - [mail # user]
|
|
...Hi, I was recently interested in converting a tuple to a bag. I found the useful looking TOBAG function and figured it was perfect. Problem is, when I pass it just a tuple, it ju...
|
|
|
Author: Eli Finkelshteyn,
2012-02-16, 19:48
|
|
|
Re: PIG Regex Problems - Pig - [mail # user]
|
|
...Cool, actually, I just got what I wanted to work like this: filtered = FILTER orig_set BY orig MATCHES '^[\\#\\<].*'; I didn't know MATCHES worked for regex before. Swee...
|
|
|
Author: Eli Finkelshteyn,
2012-02-16, 18:08
|
|
|
PIG Regex Problems - Pig - [mail # user]
|
|
...Hi, I'm trying to do a pretty simple regex test in PIG right now and getting a weird error. All I'm doing is: orig_set = load '/data/dictionaries/Eng-Spa.dic' USING PigStorage('\...
|
|
|
Author: Eli Finkelshteyn,
2012-02-16, 17:50
|
|
|
Re: Flatten a Bag on One Line? - Pig - [mail # user]
|
|
...Hey Folks, Sorry it took so long to get back on this. The function I wound up using is really simple: @outputSchema("t:tuple()") def bagToTuple(bag): t = tuple([item...
|
|
|
Author: Eli Finkelshteyn,
2012-02-13, 06:36
|
|
|
Re: Flatten a Bag on One Line? - Pig - [mail # user]
|
|
...I was going to do this as a python udf, but haven't had a chance yet since other stuff I was working on took priority. As soon as I do write it, I'll be sure to upload it here. O...
|
|
|
Author: Eli Finkelshteyn,
2012-02-10, 21:14
|
|
|
Re: Flatten a Bag on One Line? - Pig - [mail # user]
|
|
...Thanks. Was hoping/assuming there was a built-in, but I guess udf it is. Eli On 2/9/12 2:14 PM, Yulia Tolskaya wrote:...
|
|
|
Author: Eli Finkelshteyn,
2012-02-09, 21:20
|
|
|
|