hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-526) Order of <key, value> pairs not preserved in MAP type.
Date Thu, 13 Nov 2008 20:04:44 GMT

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

Alan Gates commented on PIG-526:

I don't know that pig promises any particular order for keys in a map.  Do you believe we
should be maintaining that order in memory, or is your concern that if we load and store the
map it may be stored in a different order?

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

View raw message