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:
parent
74ebecb7ce
commit
a3abffcd59
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user