Skip to content

Commit

Permalink
fixed issues in parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ericxu0 committed Mar 12, 2018
1 parent c26bf2e commit aebb070
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -x

git checkout firas/func-dependencies-master
./build.sh core
bin/cli.sh conf/fed_disbursements.json > synthetic-func-dependencies-fed_disbursements.txt
bin/cli.sh conf/fed_disbursements.json > func-dependencies-fed_disbursements.txt

git checkout firas/scratch
./build.sh core
bin/cli.sh conf/fed_disbursements.json > synthetic-master-funcs-fed_disbursements.txt
bin/cli.sh conf/fed_disbursements.json > master-fed_disbursements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public DataFrame load() throws Exception {
} else if (t == Schema.ColType.DOUBLE) {
try {
doubleColumns[doubleColNum].add(Double.parseDouble(rowValue));
} catch (NumberFormatException e) {
} catch (NullPointerException | NumberFormatException e) {
doubleColumns[doubleColNum].add(Double.NaN);
doubleParseFailures++;
}
Expand Down

0 comments on commit aebb070

Please sign in to comment.