sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject git commit: SQOOP-1412: Text splitter should also consider NCHAR and NVARCHAR fields
Date Sun, 03 Aug 2014 19:50:39 GMT
Repository: sqoop
Updated Branches:
  refs/heads/trunk 144cdff21 -> 11b1c9173


SQOOP-1412: Text splitter should also consider NCHAR and NVARCHAR fields

(Venkat Ranganathan via Jarek Jarcec Cecho)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/11b1c917
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/11b1c917
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/11b1c917

Branch: refs/heads/trunk
Commit: 11b1c917398517568451c1923f4116a0a446ee3a
Parents: 144cdff
Author: Jarek Jarcec Cecho <jarcec@apache.org>
Authored: Sun Aug 3 12:49:48 2014 -0700
Committer: Jarek Jarcec Cecho <jarcec@apache.org>
Committed: Sun Aug 3 12:49:48 2014 -0700

----------------------------------------------------------------------
 .../org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/11b1c917/src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java b/src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java
index 02f3d62..6b30820 100644
--- a/src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java
+++ b/src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java
@@ -98,7 +98,9 @@ public class DataDrivenDBInputFormat<T extends DBWritable>
       return new FloatSplitter();
 
     case Types.CHAR:
+    case Types.NCHAR:
     case Types.VARCHAR:
+    case Types.NVARCHAR:
     case Types.LONGVARCHAR:
       return new TextSplitter();
 


Mime
View raw message