ARROW-12313: [Rust] [Ballista] Update benchmark docs for Ballista
Closes #9990 from andygrove/ballista-benchmark-docs
Authored-by: Andy Grove <andygrove73@gmail.com>
Signed-off-by: Andy Grove <andygrove73@gmail.com>
diff --git a/rust/ballista/rust/benchmarks/tpch/README.md b/rust/ballista/rust/benchmarks/tpch/README.md
index a07d29f..6d77694 100644
--- a/rust/ballista/rust/benchmarks/tpch/README.md
+++ b/rust/ballista/rust/benchmarks/tpch/README.md
@@ -41,8 +41,8 @@
To run the scheduler from source:
```bash
-cd $BALLISTA_HOME/rust/ballista
-RUST_LOG=info cargo run --release --bin scheduler
+cd $ARROW_HOME/rust/ballista/rust/scheduler
+RUST_LOG=info cargo run --release
```
By default the scheduler will bind to `0.0.0.0` and listen on port 50050.
@@ -50,8 +50,8 @@
To run the executor from source:
```bash
-cd $BALLISTA_HOME/rust/ballista
-RUST_LOG=info cargo run --release --bin executor
+cd $ARROW_HOME/rust/ballista/rust/executor
+RUST_LOG=info cargo run --release
```
By default the executor will bind to `0.0.0.0` and listen on port 50051.
@@ -65,7 +65,8 @@
To run the benchmarks:
```bash
-cargo run benchmark --host localhost --port 50050 --query 1 --path $(pwd)/data --format tbl
+cd $ARROW_HOME/rust/ballista/rust/benchmarks/tpch
+cargo run --release benchmark --host localhost --port 50050 --query 1 --path $(pwd)/data --format tbl
```
## Running the Benchmarks on docker-compose
@@ -87,7 +88,7 @@
## Expected output
-The result of query 1 should produce the following output:
+The result of query 1 should produce the following output when executed against the SF=1 dataset.
```
+--------------+--------------+----------+--------------------+--------------------+--------------------+--------------------+--------------------+----------------------+-------------+