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
            Reporter: Thejas M Nair
            Assignee: Thejas M Nair


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.

Reply via email to