Skip to content

Commit

Permalink
add upper bound for pub fn (#1713)
Browse files Browse the repository at this point in the history
Signed-off-by: remzi <[email protected]>
  • Loading branch information
HaoYang670 authored Jan 31, 2022
1 parent f849968 commit d01d8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/src/physical_plan/aggregates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ static TIMESTAMPS: &[DataType] = &[
static DATES: &[DataType] = &[DataType::Date32, DataType::Date64];

/// the signatures supported by the function `fun`.
pub fn signature(fun: &AggregateFunction) -> Signature {
pub(super) fn signature(fun: &AggregateFunction) -> Signature {
// note: the physical expression must accept the type returned by this function or the execution panics.
match fun {
AggregateFunction::Count
Expand Down

0 comments on commit d01d8d5

Please sign in to comment.