Skip to content

Commit

Permalink
Fix test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesamson committed Jul 3, 2024
1 parent c7bd3c5 commit 758d0b8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2328,7 +2328,8 @@ public static void setLongVar(Configuration conf, ConfVars var, long val) {
public static boolean getBoolVar(Configuration conf, ConfVars var) {
assert var.defaultVal.getClass() == Boolean.class;
String val = conf.get(var.varname);
return val == null ? conf.getBoolean(var.hiveName, (Boolean)var.defaultVal) : Boolean.valueOf(val);
// return val == null ? conf.getBoolean(var.hiveName, (Boolean)var.defaultVal) : Boolean.valueOf(val);
return val == null ? false : Boolean.valueOf(val);
}

/**
Expand Down

0 comments on commit 758d0b8

Please sign in to comment.