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] Created: (PIG-1616) 'union onschema' does not use create output with correct schema when udfs are involved
Date Fri, 17 Sep 2010 00:26:33 GMT
'union onschema' does not use create output with correct schema when udfs are involved
--------------------------------------------------------------------------------------

                 Key: PIG-1616
                 URL: https://issues.apache.org/jira/browse/PIG-1616
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.8.0
            Reporter: Thejas M Nair
            Assignee: Thejas M Nair
             Fix For: 0.8.0


'union onshcema' creates a merged schema based on the input schemas. It does that in the queryparser,
and at that stage the udf return type used is the default return type.  The actual return
type for the udf is determined later in the TypeCheckingVisitor using EvalFunc.getArgsToFuncMapping().
'union onschema' should use the final type for its input relation to create the merged schema.



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