@@ -84,7 +84,7 @@ mod null_builder;
84
84
/// Each distinct group in a hash aggregation is identified by a unique group id
85
85
/// (usize) which is assigned by instances of this trait. Group ids are
86
86
/// continuous without gaps, starting from 0.
87
- pub ( crate ) trait GroupValues : Send {
87
+ pub trait GroupValues : Send {
88
88
/// Calculates the group id for each input row of `cols`, assigning new
89
89
/// group ids as necessary.
90
90
///
@@ -121,13 +121,15 @@ pub(crate) trait GroupValues: Send {
121
121
/// will be chosen.
122
122
///
123
123
/// - If group by multiple columns, and all column types have the specific
124
- /// [ `GroupColumn`] implementations, [ `GroupValuesColumn`] will be chosen.
124
+ /// `GroupColumn` implementations, `GroupValuesColumn` will be chosen.
125
125
///
126
- /// - Otherwise, the general implementation [ `GroupValuesRows`] will be chosen.
126
+ /// - Otherwise, the general implementation `GroupValuesRows` will be chosen.
127
127
///
128
- /// [`GroupColumn`]: crate::aggregates::group_values::multi_group_by::GroupColumn
128
+ /// `GroupColumn`: crate::aggregates::group_values::multi_group_by::GroupColumn
129
+ /// `GroupValuesColumn`: crate::aggregates::group_values::multi_group_by::GroupValuesColumn
130
+ /// `GroupValuesRows`: crate::aggregates::group_values::row::GroupValuesRows
129
131
///
130
- pub ( crate ) fn new_group_values (
132
+ pub fn new_group_values (
131
133
schema : SchemaRef ,
132
134
group_ordering : & GroupOrdering ,
133
135
) -> Result < Box < dyn GroupValues > > {
0 commit comments