-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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-24777][SQL] Add write benchmark for AVRO #22451
Conversation
Test build #96182 has finished for PR 22451 at commit
|
HI, @gengliangwang . Since this aims to refactor, could you check #22443 to be consistent?
|
/** | ||
* Benchmark to measure Avro data sources write performance. | ||
* Usage: | ||
* spark-submit --class <this class> <spark sql test jar> |
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.
#22443 is introducing separate benchmark output file and sbt
. It would be great if we can follow the style for a newly updated benchmark.
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.
Sure, no problem 👍
Test build #96191 has finished for PR 22451 at commit
|
retest this please. |
Test build #96217 has finished for PR 22451 at commit
|
btw, why this pr doesn't automatically link to the corresponding jira...?: https://issues.apache.org/jira/browse/SPARK-24777 |
@maropu When I created this PR, I typed to "[[" at the beginning of title, thus it failed to link to the JIRA. |
oh, I see. can you put it in the jira manually? |
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.
LGTM. Merged to master.
Thanks! This is test only changes. I also merged it to 2.4.
## What changes were proposed in this pull request? Refactor `DataSourceWriteBenchmark` and add write benchmark for AVRO. ## How was this patch tested? Build and run the benchmark. Closes #22451 from gengliangwang/avroWriteBenchmark. Authored-by: Gengliang Wang <[email protected]> Signed-off-by: gatorsmile <[email protected]> (cherry picked from commit 950ab79) Signed-off-by: gatorsmile <[email protected]>
Oh I was creating a PR for refactoring BenchmarkBase, I planned to merge this one after that one. |
Refactor `DataSourceWriteBenchmark` and add write benchmark for AVRO. Build and run the benchmark. Closes apache#22451 from gengliangwang/avroWriteBenchmark. Authored-by: Gengliang Wang <[email protected]> Signed-off-by: gatorsmile <[email protected]> (cherry picked from commit 950ab79) RB=2129470 G=spark-reviewers R=ekrogen A=ekrogen
What changes were proposed in this pull request?
Refactor
DataSourceWriteBenchmark
and add write benchmark for AVRO.How was this patch tested?
Build and run the benchmark.