-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Minor: Add some more doc comments to BoundedAggregateStream
#6881
Conversation
&mut self, | ||
group_values: &[ArrayRef], | ||
per_group_indices: Vec<GroupOrderInfo>, | ||
per_group_order_info: Vec<GroupOrderInfo>, |
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 found the old name 'group_indices` confusing here as it is not just indices
@@ -348,29 +355,29 @@ impl BoundedAggregateStream { | |||
|
|||
let AggregationState { | |||
map: row_map, | |||
ordered_group_states: row_group_states, | |||
ordered_group_states, |
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.
made local variable match struct field name
8b81452
to
853869b
Compare
853869b
to
6bb71b4
Compare
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.
Thanks @alamb for this PR.
Co-authored-by: Mustafa Akur <[email protected]>
Which issue does this PR close?
Related to #6798
Rationale for this change
I am working on reducing the duplication between the grouping operators (streams) by combining them. The first step of this is for me to understand what they do, and I wanted to encode this understanding as doc comments.
What changes are included in this PR?
Are these changes tested?
existing tests
Are there any user-facing changes?
No