Skip to content

Commit d01d8d5

Browse files
authored
add upper bound for pub fn (#1713)
Signed-off-by: remzi <13716567376yh@gmail.com>
1 parent f849968 commit d01d8d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/src/physical_plan/aggregates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ static TIMESTAMPS: &[DataType] = &[
359359
static DATES: &[DataType] = &[DataType::Date32, DataType::Date64];
360360

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

0 commit comments

Comments
 (0)