5
0
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:
Robert B Hamilton 2019-01-21 22:18:01 -05:00
parent 123641f3a9
commit 4916a0ed26

View File

@ -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");
}