mirror of
https://github.com/apache/sqoop.git
synced 2025-05-02 18:30:15 +08:00
Hive DDL generator uses INTEGER when it means INT.
From: Aaron Kimball <aaron@cloudera.com> git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1149878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9374ed8398
commit
0fde7dff8d
@ -56,7 +56,7 @@ public static String toHiveType(int sqlType) {
|
||||
} else if (sqlType == Types.TINYINT) {
|
||||
return "TINYINT";
|
||||
} else if (sqlType == Types.SMALLINT) {
|
||||
return "INTEGER";
|
||||
return "INT";
|
||||
} else if (sqlType == Types.BIGINT) {
|
||||
return "BIGINT";
|
||||
} else if (sqlType == Types.REAL) {
|
||||
|
Loading…
Reference in New Issue
Block a user