You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2011/05/24 01:39:48 UTC
[jira] [Commented] (PIG-2051) new LogicalSchema column prune code
does not preserve type information for map subfields
[ https://issues.apache.org/jira/browse/PIG-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038322#comment-13038322 ]
Daniel Dai commented on PIG-2051:
---------------------------------
+1. Will commit if tests pass.
> 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