Skip to content

Adjust split weights by actual data read#22635

Merged
pranjalssh merged 1 commit intoprestodb:masterfrom
pranjalssh:splits
Apr 30, 2024
Merged

Adjust split weights by actual data read#22635
pranjalssh merged 1 commit intoprestodb:masterfrom
pranjalssh:splits

Conversation

@pranjalssh
Copy link
Contributor

We recently added dynamic split sizes support in #22051

This would result in larger split sizes when Presto doesn't really read all of the split.

However, this would also assign large split weights(as they are based on sizes) than earlier - which could mess with some of the weighted split scheduling configs.

This readjusts the split weight to the actual data that the presto worker will read.

== NO RELEASE NOTE ==

@pranjalssh pranjalssh requested a review from arhimondr April 30, 2024 00:18
@pranjalssh pranjalssh requested a review from a team as a code owner April 30, 2024 00:18
@pranjalssh pranjalssh requested a review from presto-oss April 30, 2024 00:18
@pranjalssh pranjalssh merged commit fd6f819 into prestodb:master Apr 30, 2024
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.

2 participants