Grokbase Groups Pig dev August 2008
FAQ
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.

Search Discussions

  • Shubham Chopra (JIRA) at Aug 30, 2008 at 5:20 am
    [ 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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedAug 29, '08 at 10:57a
activeAug 30, '08 at 5:20a
posts2
users1
websitepig.apache.org

1 user in discussion

Shubham Chopra (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase