5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-03 04:11:44 +08:00

SQOOP-2821

Direct export to Netezza : user/owner confusion
This commit is contained in:
Benjamin BONNET 2016-02-10 12:14:49 +01:00
parent 39feebff2a
commit c0e82d6725

View File

@ -125,7 +125,7 @@ protected void configureOutputFormat(Job job, String tableName,
String [] colNames = options.getColumns(); String [] colNames = options.getColumns();
if (null == colNames) { if (null == colNames) {
colNames = mgr.getColumnNames(tableName); colNames = mgr.getColumnNames(tableName.substring(tableName.lastIndexOf('.')+1));
} }
if (mgr.escapeTableNameOnExport()) { if (mgr.escapeTableNameOnExport()) {