hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shubham Chopra (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-406) The implementation of IndexedTuple might break in cases where a custom TupleFactory is being used
Date Sat, 30 Aug 2008 05:19:44 GMT

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

Shubham Chopra updated PIG-406:
-------------------------------

    Component/s: data

> The implementation of IndexedTuple might break in cases where a custom TupleFactory is
being used
> -------------------------------------------------------------------------------------------------
>
>                 Key: PIG-406
>                 URL: https://issues.apache.org/jira/browse/PIG-406
>             Project: Pig
>          Issue Type: Bug
>          Components: data
>    Affects Versions: types_branch
>            Reporter: Shubham Chopra
>
> IndexedTuple extends the DefaultTuple. This implementation might break in case we are
trying to use a custom TupleFactory. Any special data in the custom tuples might get lost
when we convert it to an IndexedTuple. The constructor does a super(t.getAll()), other non-datum
attributes will be lost after this conversion. The indexedTuple must instead have Tuple as
an attribute and implement the Tuple interface and delegate all the methods. The implementation
should be by composition.

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


Mime
View raw message