Skip to content

Commit e8f5f97

Browse files
committed
chore: Add TPCDS benchmark comparison for PR
1 parent ff1ef37 commit e8f5f97

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

benchmarks/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,14 @@ Considering you already have TPCDS data locally
249249
```shell
250250
export DATA_DIR=../../datafusion-benchmarks/tpcds/data/sf1/
251251
export PR_NUMBER=19464
252-
gh pr checkout $PR_NUMBER --repo apache/datafusion -b pr-$PR_NUMBER
252+
git fetch upstream pull/$PR_NUMBER/head:pr-$PR_NUMBER
253253
git checkout main
254254
git pull
255255
./benchmarks/compare_tpcds.sh main pr-$PR_NUMBER
256256
```
257257

258+
Note: if `gh` is installed, you can also run `gh pr checkout $PR_NUMBER` instead of `git fetch upstream pull/$PR_NUMBER/head:pr-$PR_NUMBER`
259+
258260
### Running Benchmarks Manually
259261

260262
Assuming data is in the `data` directory, the `tpch` benchmark can be run with a command like this:

0 commit comments

Comments
 (0)