mirror of
https://github.com/apache/sqoop.git
synced 2025-05-04 04:00:53 +08:00
SQOOP-1129: PostgreSQL direct test are failing on trunk
(Jarek Jarcec Cecho via Venkat Ranganathan)
This commit is contained in:
parent
b8fd602028
commit
00bc001fb9
@ -240,13 +240,7 @@ private void doImportAndVerify(boolean isDirect, String [] expectedResults,
|
|||||||
|
|
||||||
Path warehousePath = new Path(this.getWarehouseDir());
|
Path warehousePath = new Path(this.getWarehouseDir());
|
||||||
Path tablePath = new Path(warehousePath, tableName);
|
Path tablePath = new Path(warehousePath, tableName);
|
||||||
|
Path filePath = new Path(tablePath, "part-m-00000");
|
||||||
Path filePath;
|
|
||||||
if (isDirect) {
|
|
||||||
filePath = new Path(tablePath, "data-00000");
|
|
||||||
} else {
|
|
||||||
filePath = new Path(tablePath, "part-m-00000");
|
|
||||||
}
|
|
||||||
|
|
||||||
File tableFile = new File(tablePath.toString());
|
File tableFile = new File(tablePath.toString());
|
||||||
if (tableFile.exists() && tableFile.isDirectory()) {
|
if (tableFile.exists() && tableFile.isDirectory()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user