[
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.1.patch
> 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
>
>
> 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.