Skip to content

Commit a1a2830

Browse files
Leonid Ryzhykryzhyk
authored andcommitted
[nexmark] Invoke run.py via python interpreter.
This small fix should make the benchmark script more portable. The script invoked `run.py` as an executable, relying on the `#!/usr/bin/python3` annotation in that file to pick the interpreter for it. This didn't work on my system using a virtual environment, which requires running the python interpreter from the virtual environment, instead of the one in `/usr/bin`. The patch invokes run.py via `python3 run.py`, which should pick the python interpreter from the virtual environment if one is activated. Signed-off-by: Leonid Ryzhyk <leonid@feldera.com>
1 parent 4ed19ce commit a1a2830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/run-nexmark.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ case $runner:$language in
477477

478478
feldera:sql)
479479
rm -f results.csv
480-
PYTHONUNBUFFERED=1 run_log feldera-sql/run.py \
480+
PYTHONUNBUFFERED=1 run_log python3 feldera-sql/run.py \
481481
--api-url="$api_url" \
482482
--cores $cores \
483483
--events $events \

0 commit comments

Comments
 (0)