hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-698) Simple join fails on records not loaded with schema
Date Mon, 13 Sep 2010 22:04:33 GMT

     [ https://issues.apache.org/jira/browse/PIG-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alan Gates resolved PIG-698.
----------------------------

    Fix Version/s: 0.7.0
                       (was: 0.9.0)
       Resolution: Fixed

Tested this against version 0.7 and it works fine.

> Simple join fails on records not loaded with schema
> ---------------------------------------------------
>
>                 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
>             Fix For: 0.7.0
>
>
> Joins can fail with an out-of-bounds access to fields that are not referenced in the
script when records without schema (including all 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.


Mime
View raw message