[KYUUBI #3522] [BUG][TPCDS] Fix benchmark --results-dir

### _Why are the changes needed?_

`r` or `results-dir` should point to results-dir

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #3522 from zwangsheng/bugfix/bechmark_fix_result_dir.

Closes #3522

39361cfc [zwangsheng] fix

Authored-by: zwangsheng <2213335496@qq.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
zwangsheng 2022-09-20 10:41:17 +08:00 committed by Cheng Pan
parent f8892f6cb6
commit 9b67a0230f
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D

View File

@ -63,7 +63,7 @@ object RunBenchmark {
.action((x, c) => c.copy(iterations = x))
.text("the number of iterations to run")
opt[String]('r', "results-dir")
.action((x, c) => c.copy(filter = Some(x)))
.action((x, c) => c.copy(resultsDir = Some(x)))
.text("dir to store benchmark results, e.g. hdfs://hdfs-nn:9870/pref")
help("help")
.text("prints this usage text")