-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Enable configurable display of partition sizes in the explain statement #9474
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
Conversation
Signed-off-by: jayzhan211 <[email protected]>
| Self::try_new_with_show_sizes(partitions, schema, projection, true) | ||
| } | ||
|
|
||
| pub fn try_new_with_show_sizes( |
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.
create a new function to avoid changing too many existing try new functions
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.
I think, instead of this API. You can use builder API such as below
pub fn with_show_sizes(mut self, show_sizes: bool) -> Self{
self.show_sizes = show_sizes;
}However, this is purely stylistic. Feel free to proceed as you wish.
Signed-off-by: jayzhan211 <[email protected]>
Signed-off-by: jayzhan211 <[email protected]>
Signed-off-by: jayzhan211 <[email protected]>
Signed-off-by: jayzhan211 <[email protected]>
mustafasrepo
left a comment
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.
Left some minor comment. Other than this, this PR is LGTM!. Thanks @jayzhan211
Signed-off-by: jayzhan211 <[email protected]>
|
Thank you so much @jayzhan211 and @mustafasrepo |
Which issue does this PR close?
Closes #9450.
There might be others MemExec::try_new that need to be replaced with try_new_show_sizes, but I only changed the necessary one to fix the limit.slt for now.
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?