Skip to content
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

[VL] Fix shuffle ignores uncompressed compression configuration #3672

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

marin-ma
Copy link
Contributor

No description provided.

Copy link

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/oap-project/gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

@marin-ma
Copy link
Contributor Author

cc: @weiting-chen

Comment on lines +788 to 792
shuffleWriterOptions.compression_type = getCompressionType(env, codecJstr);
if (codecJstr != NULL) {
shuffleWriterOptions.compression_type = getCompressionType(env, codecJstr);
shuffleWriterOptions.codec_backend = getCodecBackend(env, codecBackendJstr);
shuffleWriterOptions.compression_mode = getCompressionMode(env, compressionModeJstr);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this!

@marin-ma
Copy link
Contributor Author

@zhztheplayer Could you help to review again? Thanks!

Copy link
Member

@zhztheplayer zhztheplayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@marin-ma marin-ma merged commit 139c8a1 into apache:main Nov 13, 2023
15 checks passed
@GlutenPerfBot
Copy link
Contributor

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query log/native_3672_time.csv log/native_master_11_12_2023_5b632f64e_time.csv difference percentage
q1 34.62 35.06 0.432 101.25%
q2 25.28 24.58 -0.697 97.24%
q3 37.43 37.43 -0.000 100.00%
q4 36.20 36.90 0.704 101.94%
q5 71.04 71.39 0.347 100.49%
q6 7.18 7.07 -0.111 98.46%
q7 82.79 82.01 -0.782 99.06%
q8 86.82 86.35 -0.466 99.46%
q9 123.47 121.45 -2.022 98.36%
q10 44.44 44.24 -0.196 99.56%
q11 19.23 20.06 0.836 104.35%
q12 25.31 25.25 -0.063 99.75%
q13 47.20 46.66 -0.540 98.86%
q14 14.44 14.90 0.469 103.25%
q15 28.93 27.08 -1.849 93.61%
q16 15.35 14.92 -0.435 97.17%
q17 100.48 99.68 -0.800 99.20%
q18 147.60 147.54 -0.061 99.96%
q19 13.03 12.97 -0.059 99.55%
q20 28.40 28.14 -0.255 99.10%
q21 221.38 220.95 -0.432 99.80%
q22 12.83 13.04 0.206 101.60%
total 1223.45 1217.68 -5.774 99.53%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants