mirror of
https://github.com/apache/sqoop.git
synced 2025-05-03 06:09:47 +08:00
Fixed null pointer error in testExportDirect
This commit is contained in:
parent
123641f3a9
commit
4916a0ed26
@ -97,7 +97,7 @@ protected void propagateOptionsToJob(Job job) {
|
||||
Configuration conf = job.getConfiguration();
|
||||
|
||||
/* empty string needs to be passed as a flag */
|
||||
if (opts.getNullStringValue().equals("")) {
|
||||
if ("".equals(opts.getNullStringValue())) {
|
||||
conf.set("postgresql.null.emptystring","true");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user