Skip to content

Commit a4fd465

Browse files
zwangshengpan3793
authored andcommitted
[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 39361cf [zwangsheng] fix Authored-by: zwangsheng <2213335496@qq.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit 9b67a02) Signed-off-by: Cheng Pan <chengpan@apache.org>
1 parent d2f76f7 commit a4fd465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/kyuubi-tpcds/src/main/scala/org/apache/kyuubi/tpcds/benchmark/RunBenchmark.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ object RunBenchmark {
6363
.action((x, c) => c.copy(iterations = x))
6464
.text("the number of iterations to run")
6565
opt[String]('r', "results-dir")
66-
.action((x, c) => c.copy(filter = Some(x)))
66+
.action((x, c) => c.copy(resultsDir = Some(x)))
6767
.text("dir to store benchmark results, e.g. hdfs://hdfs-nn:9870/pref")
6868
help("help")
6969
.text("prints this usage text")

0 commit comments

Comments
 (0)