5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-06 16:30:45 +08:00

SQOOP-1130: Sqoop2: Sqoop MapReduce Job Failed when max and min boundary are both null

(Mengwei Ding via Jarek Jarcec Cecho)
This commit is contained in:
Jarek Jarcec Cecho 2013-07-11 15:29:04 -07:00
parent 74ebecb7ce
commit a3abffcd59

View File

@ -57,7 +57,7 @@ public List<Partition> getPartitions(PartitionerContext context,ConnectionConfig
if (partitionMinValue == null && partitionMaxValue == null) {
List<Partition> partitions = new LinkedList<Partition>();
GenericJdbcImportPartition partition = new GenericJdbcImportPartition();
partition.setConditions(partitionColumnName + "IS NULL");
partition.setConditions(partitionColumnName + " IS NULL");
partitions.add(partition);
return partitions;
}