mirror of
https://github.com/apache/sqoop.git
synced 2025-05-03 05:31:14 +08:00
SQOOP-358 Sqoop import fails on netezza nvarchar datatype with --as-avrodatafile
(Chris Tierney via Bilung Lee) git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1182150 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8711e293bd
commit
8e0ce98551
@ -97,6 +97,9 @@ private Type toAvroType(int sqlType) {
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user