Skip to content

Refactor stage output data size estimation#19414

Merged
losipiuk merged 2 commits intotrinodb:masterfrom
losipiuk:lo/refactor-output-size-estimation
Oct 17, 2023
Merged

Refactor stage output data size estimation#19414
losipiuk merged 2 commits intotrinodb:masterfrom
losipiuk:lo/refactor-output-size-estimation

Conversation

@losipiuk
Copy link
Copy Markdown
Member

Description

Extract OutputDataSizeEstimator and model current logic
as a series of implementations of it wrapped in
CompositeOutputDataSizeEstimator.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Oct 16, 2023
@losipiuk losipiuk requested review from findepi and linzebing October 16, 2023 14:52
Comment on lines 243 to 245
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make it into a @Provides on the containing class (CoordinatorModule). Should be no need for inner class.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I know I can do that - but I think it is beneficial for readability to keep all of that together.

Extract OutputDataSizeEstimator and model current logic
as a series of implementations of it wrapped in
CompositeOutputDataSizeEstimator.
@losipiuk losipiuk marked this pull request as ready for review October 17, 2023 11:04
@losipiuk losipiuk force-pushed the lo/refactor-output-size-estimation branch from bc54097 to 62db142 Compare October 17, 2023 11:05
@losipiuk losipiuk merged commit d17ae7a into trinodb:master Oct 17, 2023
@github-actions github-actions bot added this to the 430 milestone Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants