From de2da34cc51265e6a34864db3b1ef0764b89d631 Mon Sep 17 00:00:00 2001 From: Matthew Turner Date: Fri, 2 Aug 2024 20:33:42 -0400 Subject: [PATCH] Add docs and rename param (#11778) --- datafusion/expr/src/signature.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/datafusion/expr/src/signature.rs b/datafusion/expr/src/signature.rs index eadd7ac2f83f..b1cec3bad774 100644 --- a/datafusion/expr/src/signature.rs +++ b/datafusion/expr/src/signature.rs @@ -266,9 +266,10 @@ impl Signature { } } - pub fn numeric(num: usize, volatility: Volatility) -> Self { + /// A specified number of numeric arguments + pub fn numeric(arg_count: usize, volatility: Volatility) -> Self { Self { - type_signature: TypeSignature::Numeric(num), + type_signature: TypeSignature::Numeric(arg_count), volatility, } }