pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-2187) PigStorage should handle converting Tuple to text
Date Fri, 22 Jul 2011 23:47:09 GMT

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

Raghu Angadi updated PIG-2187:
------------------------------

    Attachment: PIG-2187.patch

Changes based on discussion on the pig user mailing list.

* no change to PigStorage.
* PigTextOutputStream extends FileOutputStream rather than TextOutputStream..
   ** it was not extending any functionality from TextOutputStream.
* moved Tuple serialization to StorageUtil
* added getFieldDelimier() to PigStorage.
 

> PigStorage should handle converting Tuple to text
> -------------------------------------------------
>
>                 Key: PIG-2187
>                 URL: https://issues.apache.org/jira/browse/PIG-2187
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>         Attachments: PIG-2187.patch, PIG-2187.patch
>
>
> Currently it is simple for users to use a different TextInputFormat with PigStorage since
PigStorage loader just expects one line at a time, takes care of parsing the text into a tuple.
> This is not the case with storage side. PigTextOutputFormat handles the conversion to
Text (it actually write UTF8 of each field from tuple directly to output). This implies a
different TextOutputFormat can not be used with PigStorage.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message