You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2015/02/04 00:27:35 UTC
[jira] [Updated] (SQOOP-1937) Why need SqoopWritable, ? why not
just Text?
[ https://issues.apache.org/jira/browse/SQOOP-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Veena Basavaraj updated SQOOP-1937:
-----------------------------------
Fix Version/s: 1.99.5
> 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
> Assignee: Veena Basavaraj
> Fix For: 1.99.5
>
>
> 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)