You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Hong Tang (JIRA)" <ji...@apache.org> on 2008/11/13 20:40:46 UTC

[jira] Commented: (PIG-526) Order of pairs not preserved in MAP type.

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

Hong Tang commented on PIG-526:
-------------------------------

I suggest using LinkedHashMap instead.

> Order of <key, value> pairs not preserved in MAP type.
> ------------------------------------------------------
>
>                 Key: PIG-526
>                 URL: https://issues.apache.org/jira/browse/PIG-526
>             Project: Pig
>          Issue Type: Bug
>          Components: data
>    Affects Versions: types_branch
>            Reporter: Hong Tang
>
> PIG uses HashMap to deserialize the Pig MAP type which will not observe the order of <key, value> pairs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.