[ 
https://issues.apache.org/jira/browse/PIG-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753339#action_12753339
 ] 

Yan Zhou commented on PIG-944:
------------------------------

The previously attached patch is based upon some new features under development 
and consequently might not be applicable to the trunk. I'm going to attahc 
another patch shortly based upon version 1 branch.

In addition to the problem in TableOutputFormat.checkOutputSpecs, the 
SchemaConverter.toPigSchema  did not convert the Zebra schema to Pig's properly 
if nested types are involved: the low level column schemas were simply missing.
Also, the conversion from Pig to Zebra schema is just missing beyond a hack to 
work on specially prefixed column names.

> Zebra schema is taken from Pig through TableStorer's construct
> --------------------------------------------------------------
>
>                 Key: PIG-944
>                 URL: https://issues.apache.org/jira/browse/PIG-944
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>            Reporter: Yan Zhou
>         Attachments: zebra_pig_interface.patch
>
>
> It should be from StoreConfig in TableOutputFormat.checkOutputSpecs method 
> because the information is dynamic in Pig's execution engine and should not 
> be taking a static argument to the constructor.

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