sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r1182150 - /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/orm/AvroSchemaGenerator.java
Date Wed, 12 Oct 2011 00:24:07 GMT
Author: blee
Date: Wed Oct 12 00:24:07 2011
New Revision: 1182150

URL: http://svn.apache.org/viewvc?rev=1182150&view=rev
Log:
SQOOP-358 Sqoop import fails on netezza nvarchar datatype with --as-avrodatafile

(Chris Tierney via Bilung Lee)

Modified:
    incubator/sqoop/trunk/src/java/com/cloudera/sqoop/orm/AvroSchemaGenerator.java

Modified: incubator/sqoop/trunk/src/java/com/cloudera/sqoop/orm/AvroSchemaGenerator.java
URL: http://svn.apache.org/viewvc/incubator/sqoop/trunk/src/java/com/cloudera/sqoop/orm/AvroSchemaGenerator.java?rev=1182150&r1=1182149&r2=1182150&view=diff
==============================================================================
--- incubator/sqoop/trunk/src/java/com/cloudera/sqoop/orm/AvroSchemaGenerator.java (original)
+++ incubator/sqoop/trunk/src/java/com/cloudera/sqoop/orm/AvroSchemaGenerator.java Wed Oct
12 00:24:07 2011
@@ -97,6 +97,9 @@ public class AvroSchemaGenerator {
       case Types.CHAR:
       case Types.VARCHAR:
       case Types.LONGVARCHAR:
+      case Types.LONGNVARCHAR:
+      case Types.NVARCHAR:
+      case Types.NCHAR:
         return Type.STRING;
       case Types.DATE:
       case Types.TIME:



Mime
View raw message