You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2017/05/24 22:46:04 UTC

[jira] [Updated] (PIG-4745) DataBag should protect content of passed list of tuples

     [ https://issues.apache.org/jira/browse/PIG-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rohini Palaniswamy updated PIG-4745:
------------------------------------
    Fix Version/s:     (was: 0.17.0)

It is the responsibility of the user to make a copy and pass if they are making changes.

> DataBag should protect content of passed list of tuples
> -------------------------------------------------------
>
>                 Key: PIG-4745
>                 URL: https://issues.apache.org/jira/browse/PIG-4745
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.15.0
>            Reporter: Mikko Kupsu
>            Assignee: Mikko Kupsu
>         Attachments: 20151125-PIG-4745.patch
>
>
> User can corrupt internal list of tuple when passing list of tuple to BagFactory.newDefaultBag(List<Tuple>), since DefaultDataBag won't make copy of a list, but will use it directly.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)