From 426c742ee699dafad697c74f60a6d089a1640ae0 Mon Sep 17 00:00:00 2001 From: discord9 Date: Thu, 16 May 2024 14:38:27 +0800 Subject: [PATCH] chore: typos --- src/flow/src/expr/relation/func.rs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/flow/src/expr/relation/func.rs b/src/flow/src/expr/relation/func.rs index 190dab4ae1cb..6aa53c80ca9d 100644 --- a/src/flow/src/expr/relation/func.rs +++ b/src/flow/src/expr/relation/func.rs @@ -158,10 +158,7 @@ macro_rules! gen_one_siginature { $con_type:ident, $generic:ident ) => { Signature { - input: smallvec![ - ConcreteDataType::$con_type(), - ConcreteDataType::$con_type(), - ], + input: smallvec![ConcreteDataType::$con_type(), ConcreteDataType::$con_type(),], output: ConcreteDataType::$con_type(), generic_fn: GenericFn::$generic, } @@ -170,9 +167,7 @@ macro_rules! gen_one_siginature { $in_type:ident, $out_type:ident, $generic:ident ) => { Signature { - input: smallvec![ - ConcreteDataType::$in_type() - ], + input: smallvec![ConcreteDataType::$in_type()], output: ConcreteDataType::$out_type(), generic_fn: GenericFn::$generic, } @@ -246,7 +241,7 @@ impl AggregateFunc { /// all concrete datatypes with precision types will be returned with largest possible variant /// as a exception, count have a signature of `null -> i64`, but it's actually `anytype -> i64` /// - /// TODO(discorcd9): fix signature for sum usign -> u64 sum signed -> i64 + /// TODO(discorcd9): fix signature for sum unsign -> u64 sum signed -> i64 pub fn signature(&self) -> Signature { generate_signature!(self, { AggregateFunc::Count => Signature {