mirror of
https://github.com/apache/sqoop.git
synced 2025-05-04 04:00:53 +08:00
Merge bd8076ab02
into f8beae32a0
This commit is contained in:
commit
6c673cf538
@ -455,6 +455,15 @@ public void importTable(
|
|||||||
super.importTable(context);
|
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.
|
* Export data stored in HDFS into a table in a database.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user