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

jayzhan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new de2da34cc5 Add docs and rename param (#11778)
de2da34cc5 is described below

commit de2da34cc51265e6a34864db3b1ef0764b89d631
Author: Matthew Turner <[email protected]>
AuthorDate: Fri Aug 2 20:33:42 2024 -0400

    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 eadd7ac2f8..b1cec3bad7 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,
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to