-
Notifications
You must be signed in to change notification settings - Fork 28k
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-25895][Core]Adding testcase to compare Lz4 and Zstd compression #22906
Conversation
Can one of the admins verify this patch? |
I don't think this tests something about the correctness of Spark though. I am not sure this is worth it. |
@@ -128,6 +130,69 @@ class CompressionCodecSuite extends SparkFunSuite { | |||
} | |||
} | |||
|
|||
test("SPARK-25895 Zstd shuffle Read/Write/spill comparison w.r.t lz4") { |
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.
How about add a benchmark? You can check our all benchmarks here:: https://issues.apache.org/jira/browse/SPARK-25475
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.
Thanks for your suggestion, i will go through the benchmarks and update the PR
Benchmarks aren't run with tests right? That's fine. I am still not sure Spark is the best place for this. |
Ping @Udbhav30 |
Okay I'll close this PR |
It was tested in Trino, please see: trinodb/trino#20274 |
What changes were proposed in this pull request?
Added a UT to verify Zstd compression algorithm has better compression ratio than lz4 in shuffle read/write and spill
How was this patch tested?
Added UT