Simple join fails on variable-length records
--------------------------------------------

                 Key: PIG-698
                 URL: https://issues.apache.org/jira/browse/PIG-698
             Project: Pig
          Issue Type: Bug
          Components: impl
         Environment: Yahoo! clusters.
            Reporter: Peter Arthur Ciccolo


Joins can fail with an out-of-bounds access to fields that are not referenced 
in the script when variable-length
records are involved.
Example by Ben Reed:
i1:
1       c       D       E
1       a       B

i2:
0
0       Q
1       x       z
1       a       b       c


i1 = load 'i1';                                                                 
                                                                                
                       
i2 = load 'i2';                                                                 
                                                                                
                       
j = join i1 by $0, i2 by $0;                                                    
                                                                                
                       
dump j

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to