| clear query|facets|time |
Search criteria: .
Results from 91 to 100 from
118 (0.092s).
|
|
|
Loading phrases to help you refine your search...
|
|
Re: contains - Pig - [mail # user]
|
|
...done. It's kind of odd, that bag always contain tuples... because if I want to find a string in a bag of strings... I have to iterate through the bag, take out string inside each tuple...
|
|
|
Author: hc busy,
2010-03-19, 18:38
|
|
|
contains - Pig - [mail # user]
|
|
...Just a quick q, is there a way to evaluate "contains"? contains((1,2), {(2,4),(4,5),(6,7),(1,2)}); thnx...
|
|
|
Author: hc busy,
2010-03-17, 18:43
|
|
|
Re: piggybank apachelogparser.DateExtractor problem - Pig - [mail # user]
|
|
...ahh, I see. But see the problem is of course that the system is unable to parse that (at least in 0.5) so what I ended up having to do is this: > temp_table = FOREACH table GENERAT...
|
|
|
Author: hc busy,
2010-03-17, 17:29
|
|
|
Re: piggybank apachelogparser.DateExtractor problem - Pig - [mail # user]
|
|
...There is another way to do this. I wrote a UDF that takes unix `date` forma t and converts date to a string OUTPUT = FOREACH table GENERATE *, my.udf.formatDate('%Y-%m-%d', date_field...
|
|
|
Author: hc busy,
2010-03-17, 17:12
|
|
|
Re: ERROR 6017: Execution failed, while processing - Pig - [mail # user]
|
|
...Okay, Alan, I went back and read PIG-928, which is great! The example %declare a(x, y, k1, k2) join x by k1, y by k2 is nice, but maybe a little more extensive. Because I n...
|
|
|
Author: hc busy,
2010-03-17, 03:43
|
|
|
Re: ERROR 6017: Execution failed, while processing - Pig - [mail # user]
|
|
...ahhh, that %declare a(...) is exactly what would help with the variable name problem. Because otherwise, it's like a register language where all function.pig files take parameters named a1,a...
|
|
|
Author: hc busy,
2010-03-17, 00:31
|
|
|
Re: Operating on Cogroups and Iterations in Pig Re: more bagging fun - Pig - [mail # dev]
|
|
...Dmitriy, great minds think alike ;-) It would still serve us well to be able to write reducers in general and apply dynamically under a different guise. In addition to that, what I was...
|
|
|
Author: hc busy,
2010-03-16, 18:48
|
|
|
Operating on Cogroups and Iterations in Pig Re: more bagging fun - Pig - [mail # dev]
|
|
...Hmm, okay, I read the documentation further and it appears that this has already been discussed previously (here).There seem to be a question of what's the right thing to do. It seems clear ...
|
|
|
Author: hc busy,
2010-03-12, 22:00
|
|
|
Re: ERROR 6017: Execution failed, while processing - Pig - [mail # dev]
|
|
...Oh, I see what my problem is... my PigPenisn't configured correctly so it's not highlighting any errors... Is there any work towards something like C languages '#include' in Pig? My la...
|
|
|
Author: hc busy,
2010-03-12, 18:36
|
|
|
Re: more bagging fun - Pig - [mail # user]
|
|
...An additional thought... we can define udf's like ADD(bag{(int,int)}), DIVIDE(bag{(int,int)}), MULTIPLY(bag{(int,int)}), SQRT(bag{(float)}).. basically vectorize most of the comm...
|
|
|
Author: hc busy,
2010-03-10, 18:15
|
|
|
|