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

Daniel Dai commented on PIG-2051:
---------------------------------

Saw two test failure:
TestNewPlanPruneMapKeys.testSimpleMapItemTypePropogation
TestPruneColumn.testTypePropogationOfMapWithKeyProjection


> new LogicalSchema column prune code does not preserve type information for 
> map subfields
> ----------------------------------------------------------------------------------------
>
>                 Key: PIG-2051
>                 URL: https://issues.apache.org/jira/browse/PIG-2051
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.10
>            Reporter: Woody Anderson
>            Assignee: Woody Anderson
>             Fix For: 0.10
>
>         Attachments: 2051.patch
>
>
> current impl of ColumnPruneVisitor.visit ignores field type info and passes 
> type BYTEARRAY for all map fields.
> the corrected type is pretty easy to fill in, especially since map field info 
> is only attempted 1 level deep.
> i came across this b/c i utilize the type information in the pushProjection 
> call, and this was previously of the 'correct' type information, the change 
> over to LogicalSchema caused a regression.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to