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-1616) 'union onschema' does not use create output with correct schema when udfs are involved
Date Mon, 20 Sep 2010 11:57:32 GMT

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

Thejas M Nair updated PIG-1616:
-------------------------------

    Status: Patch Available  (was: Open)

> '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
>
>         Attachments: PIG-1616.1.patch
>
>
> '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