From d01d8d5e56a47d2309d0946fdae89ab3c2c550e0 Mon Sep 17 00:00:00 2001 From: Remzi Yang <59198230+HaoYang670@users.noreply.github.com> Date: Tue, 1 Feb 2022 04:36:49 +0800 Subject: [PATCH] add upper bound for pub fn (#1713) Signed-off-by: remzi <13716567376yh@gmail.com> --- datafusion/src/physical_plan/aggregates.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/src/physical_plan/aggregates.rs b/datafusion/src/physical_plan/aggregates.rs index f7beb76df3bc..c40fd7104201 100644 --- a/datafusion/src/physical_plan/aggregates.rs +++ b/datafusion/src/physical_plan/aggregates.rs @@ -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