| clear query|facets|time |
Search criteria: .
Results from 31 to 40 from
43 (0.081s).
|
|
|
Loading phrases to help you refine your search...
|
|
Flatten a Bag on One Line? - Pig - [mail # user]
|
|
...This is probably easy, but my PigLatin is rusty, and I don't seem to be able to find an answer on Google. If I have a record of the form: 98812 3 &nb...
|
|
|
Author: Eli Finkelshteyn,
2012-02-09, 18:26
|
|
|
Re: JOIN fails with Index Out Of Bounds Error - Pig - [mail # user]
|
|
...Nope, just a simple inner join. On 9/19/11 7:48 PM, Raghu Angadi wrote:...
|
|
|
Author: Eli Finkelshteyn,
2011-09-20, 14:29
|
|
|
JOIN fails with Index Out Of Bounds Error - Pig - [mail # user]
|
|
...Hi, When doing an inner join on a column where some values are NULL, I get the following error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 I can fix this by simply fi...
|
|
|
Author: Eli Finkelshteyn,
2011-09-16, 15:04
|
|
|
Re: Pig Conditionals (Do I have to use UDFs)? - Pig - [mail # user]
|
|
...Ah, neat! That would do the trick. Seems like a lot of extra steps, but I'll take it if that's how it's done in PIG. Thanks! On 9/14/11 5:51 PM, Ryan Hoegg wrote:...
|
|
|
Author: Eli Finkelshteyn,
2011-09-14, 21:53
|
|
|
Re: Pig Conditionals (Do I have to use UDFs)? - Pig - [mail # user]
|
|
...Sorry, bad example, I guess. I want something I can do case statements with. In this case I could map instead, but if I wanted to use less straight-forward cases (i.e. one case w...
|
|
|
Author: Eli Finkelshteyn,
2011-09-14, 21:24
|
|
|
Pig Conditionals (Do I have to use UDFs)? - Pig - [mail # user]
|
|
...Hi, I'd like to generate based on exclusive conditions (something like the CASE statement in SQL). An example: Say I have data that looks like: (a, 1) (a, 2) (b, 2) (c, 1) ...
|
|
|
Author: Eli Finkelshteyn,
2011-09-14, 20:27
|
|
|
Re: Loading LZOs With Some JSON - Pig - [mail # user]
|
|
...Haha, yeah; that. I literally just got it to work when you emailed. Thanks for all the help, Dmitriy! Eli On 9/13/11 12:30 PM, Dmitriy Ryaboy wrote:...
|
|
|
Author: Eli Finkelshteyn,
2011-09-13, 16:33
|
|
|
Re: Loading LZOs With Some JSON - Pig - [mail # user]
|
|
...Sweet! Just got this working! For anyone with the same problem in the future: apparently JsonStringToMap() *does not* like bytearrays. If you simply cast your json as a chararray...
|
|
|
Author: Eli Finkelshteyn,
2011-09-13, 16:31
|
|
|
Re: Loading LZOs With Some JSON - Pig - [mail # user]
|
|
...Correction: I forgot to run the JsonStringToMap function when writing my last email, when I run that, I get the same error as before (*org.apache.pig.data.DataByteArray cannot be...
|
|
|
Author: Eli Finkelshteyn,
2011-09-13, 15:51
|
|
|
Re: Loading LZOs With Some JSON - Pig - [mail # user]
|
|
...Well, it's not throwing me errors anymore. Now it's just discarding the field. When I run it on two records where I've verified a field exists in the json, I get: Encounter...
|
|
|
Author: Eli Finkelshteyn,
2011-09-13, 15:20
|
|
|
|