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

Rahul Sharma updated CRUNCH-52:
-------------------------------

    Attachment: CRUNCH-52.patch

As per the going discussion, I created AvroTextOutputFormat that can output 
Dataum from AvroWraper using LineRecordWriter. The To.text API has been 
modified to select which format class to use depending on Ptype. Also modified 
corresponding Scala components and test cases. Pipeline.toTextFile API has not 
been modified as it is explicitly doing a conversion to String.  
                
> Writing to a text file with avro types fills a file with the tostring of 
> AvroWrapper
> ------------------------------------------------------------------------------------
>
>                 Key: CRUNCH-52
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-52
>             Project: Crunch
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Robert Chu
>         Attachments: CRUNCH-52.patch
>
>
> Currently when writing a pcollection to a text file (provided by 
> To.textFile(...)) TextOutputFormat doesn't unwrap avro types.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to