Function check_arg_count
pub fn check_arg_count(
func_name: &str,
input_fields: &[Arc<Field>],
signature: &TypeSignature,
) -> Result<(), DataFusionError>Expand description
Validate the length of input_fields matches the signature for agg_fun.
This method DOES NOT validate the argument fields - only that (at least one,
in the case of TypeSignature::OneOf) signature matches the desired
number of input types.