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

Pradeep Kamath updated PIG-1213:
--------------------------------

    Attachment: PIG-1213.patch

Attached patch addresses the issue - a couple of data structures in Schema are 
only used by the front-end query planning code to figure out lineage to handle 
casts of bytearrays. These data structures don't need to be serialized to the 
backend. Hence in the patch they are marked transient which fixes the issue.

> Schema serialization is broken
> ------------------------------
>
>                 Key: PIG-1213
>                 URL: https://issues.apache.org/jira/browse/PIG-1213
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Pradeep Kamath
>            Assignee: Pradeep Kamath
>             Fix For: 0.6.0
>
>         Attachments: PIG-1213.patch
>
>
> Consider a udf which needs to know the schema of its input in the backend 
> while executing. To achieve this, the udf needs to store the schema into the 
> UDFContext. Internally the UDFContext will serialize the schema into the 
> jobconf. However this currently is broken and gives a Serialization exception

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