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] Created: (PIG-406) The implementation of IndexedTuple might break in cases where a custom TupleFactory is being used
Date Fri, 29 Aug 2008 10:56:44 GMT
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
    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