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 {