We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dfc2f8 commit ae567f5Copy full SHA for ae567f5
1 file changed
benchmarks/bench.sh
@@ -427,8 +427,9 @@ run_tpch_mem() {
427
RESULTS_FILE="${RESULTS_DIR}/tpch_mem_sf${SCALE_FACTOR}.json"
428
echo "RESULTS_FILE: ${RESULTS_FILE}"
429
echo "Running tpch_mem benchmark..."
430
+ QUERY=$([ -n "$ARG3" ] && echo "--query $ARG3" || echo "")
431
# -m means in memory
- $CARGO_COMMAND --bin tpch -- benchmark datafusion --iterations 5 --path "${TPCH_DIR}" --prefer_hash_join "${PREFER_HASH_JOIN}" -m --format parquet -o "${RESULTS_FILE}"
432
+ $CARGO_COMMAND --bin tpch -- benchmark datafusion --iterations 5 --path "${TPCH_DIR}" --prefer_hash_join "${PREFER_HASH_JOIN}" -m --format parquet -o "${RESULTS_FILE}" $QUERY
433
}
434
435
# Runs the cancellation benchmark
0 commit comments