5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-03 02:32:23 +08:00
This commit is contained in:
Michael Hsu 2021-03-17 22:31:16 +08:00 committed by GitHub
commit 6c673cf538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -455,6 +455,15 @@ public void importTable(
super.importTable(context);
}
@Override
public void importQuery(org.apache.sqoop.manager.ImportJobContext context)
throws IOException, ImportException {
context.setConnManager(this);
// Specify the Oracle-specific DBInputFormat for import.
context.setInputFormat(OracleDataDrivenDBInputFormat.class);
super.importQuery(context);
}
/**
* Export data stored in HDFS into a table in a database.
*/