Apache DataFusion SQL Query Engine
add upper bound for pub fn (#1713)
Remzi Yangd01d8d5e56a4
diff --git a/datafusion/src/physical_plan/aggregates.rs b/datafusion/src/physical_plan/aggregates.rsindex f7beb76df3..c40fd71042 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