Skip to content

Commit

Permalink
Update db_comparison_runner.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouncner authored Jun 16, 2024
1 parent 7b16251 commit 6ab2fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/db_comparison_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
hyrise_server_path = Path(args.hyrise_server_path).expanduser().resolve()
assert (hyrise_server_path / "hyriseServer").exists(), "Please pass valid --hyrise_server_path"

monetdb_scale_factor_string = str(args.scale_factor).replace(".", "_")
monetdb_scale_factor_string = str(args.scale_factor).replace(".", "_") if float(int(args.scale_factor)) == args.scale_factor else str(int(args.scale_factor))
duckdb_scale_factor_string = int(args.scale_factor) if args.scale_factor >= 1.0 else args.scale_factor

assert (args.single_query_id is None or (args.single_query_id > 0 and args.single_query_id < 23)), "Unexpected query id"
Expand Down

0 comments on commit 6ab2fda

Please sign in to comment.