[ 
https://issues.apache.org/jira/browse/SQOOP-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268688#comment-14268688
 ] 

Veena Basavaraj edited comment on SQOOP-1937 at 1/8/15 1:54 AM:
----------------------------------------------------------------

after the SQOOP-1902, so its possible we actually write avro objects out, so it 
may not always be out.writeUTF. so I am closing this


was (Author: vybs):
after the SQOOP-1902, so its possible we actually write avro objects out.

> Why need  SqoopWritable, ? why not just Text?
> ---------------------------------------------
>
>                 Key: SQOOP-1937
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1937
>             Project: Sqoop
>          Issue Type: Sub-task
>            Reporter: Veena Basavaraj
>
> The SqoopWritable is just underneath a Text
> The Text class in hadoop is similar with java String,while Text class 
> implemented the Interfaces like Comparable , Writable, Writable Comparable; 
> could not this be enough?
> {code}
> public class SqoopMapper extends Mapper<SqoopSplit, NullWritable, Text, 
> NullWritable> {
> {code}
> {code}
>         context.write(new Text(toIDF.getCSVTextData()), NullWritable.get());
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to