pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1656) TOBAG & TOTUPLE udfs ignores columns with null value; TOBAG does not use input type to determine output schema
Date Tue, 28 Sep 2010 23:48:34 GMT

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

Thejas M Nair updated PIG-1656:
-------------------------------

        Fix Version/s: 0.8.0
    Affects Version/s: 0.8.0

> TOBAG & TOTUPLE udfs ignores columns with null value;  TOBAG does not use input type
to determine output schema
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1656
>                 URL: https://issues.apache.org/jira/browse/PIG-1656
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.8.0
>
>
> TOBAG & TOTUPLE udfs ignores columns with null value
> {code}
> R4= foreach B generate $0, TOTUPLE(null, id, null),  TOBAG( id, null, id,null );
> grunt> dump R4;
> 1000    (,1,)   {(1),(1)}
> 1000    (,2,)   {(2),(2)}
> 1000    (,3,)   {(3),(3)}
> 1000    (,4,)   {(4),(4)}
> {code}
>  TOBAG does not use input type to determine output schema
> {code}
> grunt> B1 = foreach B generate TOBAG( 1, 2, 3);         
> grunt> describe B1;
> B1: {{null}}
> {code}

-- 
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