Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - JOIN fails with Index Out Of Bounds Error


Copy link to this message
-
JOIN fails with Index Out Of Bounds Error
Eli Finkelshteyn 2011-09-16, 15:04
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 filtering out the NULL values in a separate
step before joining, but the current behavior doesn't sound right to me,
so I wanted to ask here before I do that. What's happening now sounds a
lot like this:
https://issues.apache.org/jira/browse/PIG-1131
That bug was fixed on PIG 0.7, and I'm using PIG 0.8.1, so I'm trying to
decide whether I should reopen it, or whether this is something else. Ideas?

Eli