This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new d01d8d5  add upper bound for pub fn (#1713)
d01d8d5 is described below

commit d01d8d5e56a47d2309d0946fdae89ab3c2c550e0
Author: Remzi Yang <[email protected]>
AuthorDate: Tue Feb 1 04:36:49 2022 +0800

    add upper bound for pub fn (#1713)
    
    Signed-off-by: remzi <[email protected]>
---
 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 f7beb76..c40fd71 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

Reply via email to