hadoop-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 udfs ignores columns with null value; it does not use input type to determine output schema
Date Fri, 01 Oct 2010 23:17:33 GMT

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

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

    Attachment: PIG-1656.2.patch

PIG-1656.2.patch
Updated patch to include documentation of details of output schema generation.


> TOBAG  udfs ignores columns with null value;  it 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
>
>         Attachments: PIG-1656.1.patch, PIG-1656.2.patch
>
>
> TOBAG udf ignores columns with null value
> {code}
> R4= foreach B generate $0,  TOBAG( id, null, id,null );
> grunt> dump R4;
> 1000    {(1),(1)}
> 1000    {(2),(2)}
> 1000    {(3),(3)}
> 1000    {(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