5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-03 00:42:27 +08:00
This commit is contained in:
Yi Wei 2021-03-17 22:31:13 +08:00 committed by GitHub
commit 0a31e42287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,8 @@ protected String getListColumnsQuery(String tableName) {
return
"SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS "
+ "WHERE TABLE_SCHEMA = (" + getSchemaQuery() + ") "
+ " AND TABLE_NAME = '" + tableName + "' ";
+ " AND TABLE_NAME = '" + tableName + "' "
+ " ORDER BY ORDINAL_POSITION";
}
@Override