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:
parent
39feebff2a
commit
c0e82d6725
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user