mirror of
https://github.com/apache/sqoop.git
synced 2025-05-03 05:50:31 +08:00
SQOOP-3082: Sqoop import fails after TCP connection reset if split by datetime column
(Sergey Svynarchuk via Szabolcs Vasas)
This commit is contained in:
parent
6c0b320128
commit
ad7d046ef1
@ -242,7 +242,7 @@ protected String getSelectQuery() {
|
||||
StringBuilder lowerClause = new StringBuilder();
|
||||
lowerClause.append(getDBConf().getInputOrderBy());
|
||||
lowerClause.append(" > ");
|
||||
lowerClause.append(lastRecordValue.toString());
|
||||
lowerClause.append("'" + lastRecordValue.toString() + "'");
|
||||
|
||||
// Get the select query with the lowerClause, and split upper clause
|
||||
selectQuery = getSelectQuery(lowerClause.toString(),
|
||||
|
Loading…
Reference in New Issue
Block a user