-
Notifications
You must be signed in to change notification settings - Fork 28.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-25508][SQL][TEST] Refactor OrcReadBenchmark to use main method #22580
Conversation
Test build #96743 has finished for PR 22580 at commit
|
Seq(ByteType, ShortType, IntegerType, LongType, FloatType, DoubleType).foreach { dataType => | ||
numericScanBenchmark(1024 * 1024 * 15, dataType) | ||
override def benchmark(): Unit = { | ||
runBenchmark("SQL Single Column Scan") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit SQL Single Column Scan
-> SQL Single Numeric Column Scan
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, please add [TEST]
into the title.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM.
Test build #96782 has finished for PR 22580 at commit
|
retest this please |
Test build #96788 has finished for PR 22580 at commit
|
retest this please |
Test build #96790 has finished for PR 22580 at commit
|
Merged to master. |
## What changes were proposed in this pull request? Refactor OrcReadBenchmark to use main method. Generate benchmark result: ``` SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "hive/test:runMain org.apache.spark.sql.hive.orc.OrcReadBenchmark" ``` ## How was this patch tested? manual tests Closes apache#22580 from yucai/SPARK-25508. Lead-authored-by: yucai <yyu1@ebay.com> Co-authored-by: Yucai Yu <yucai.yu@foxmail.com> Co-authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
What changes were proposed in this pull request?
Refactor OrcReadBenchmark to use main method.
Generate benchmark result:
How was this patch tested?
manual tests