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

[native] Add support shuffle compression for Prestissimo #24295

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

xiaoxmeng
Copy link
Contributor

== NO RELEASE NOTE ==

@xiaoxmeng xiaoxmeng requested a review from a team as a code owner December 22, 2024 18:30
@prestodb-ci prestodb-ci added the from:Meta PR from Meta label Dec 22, 2024
@xiaoxmeng xiaoxmeng force-pushed the session branch 2 times, most recently from cb113ba to c97524a Compare December 22, 2024 18:31
tanjialiang
tanjialiang previously approved these changes Dec 23, 2024
@@ -283,6 +283,10 @@ class SessionProperties {
static constexpr const char* kPrefixSortMinRows =
"native_prefixsort_min_rows";

/// If true, enable the shuffle compression.
static constexpr const char* kShuffleCompressionEnabled =
"exchange_compression";
Copy link
Contributor

Choose a reason for hiding this comment

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

Add native_ in front?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a java session

} else if (it.first == SessionProperties::kShuffleCompressionEnabled) {
if (it.second == "true") {
configs[core::QueryConfig::kShuffleCompressionKind] = std::to_string(
static_cast<uint32_t>(velox::common::CompressionKind_LZ4));
Copy link
Contributor

Choose a reason for hiding this comment

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

We default to use lz4? Do we want to provide options for compression kind as well?

Copy link
Contributor Author

@xiaoxmeng xiaoxmeng Dec 23, 2024

Choose a reason for hiding this comment

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

Java is hard coded. I put comment there.

@xiaoxmeng xiaoxmeng merged commit 472fe92 into prestodb:master Dec 23, 2024
66 of 67 checks passed
@xiaoxmeng xiaoxmeng deleted the session branch December 23, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from:Meta PR from Meta
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants