Jefffrey commented on code in PR #18019:
URL: https://github.com/apache/datafusion/pull/18019#discussion_r2443375029
##########
datafusion/expr-common/src/signature.rs:
##########
@@ -142,6 +142,16 @@ pub enum Volatility {
/// DataType::Timestamp(TimeUnit::Nanosecond,
Some(TIMEZONE_WILDCARD.into())),
/// ]);
/// ```
+///
+/// Represents the arity (number of arguments) of a function signature
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum Arity {
+ /// Fixed number of arguments
+ Fixed(usize),
+ /// Variable number of arguments (e.g., Variadic, VariadicAny, UserDefined)
+ Variable,
+}
Review Comment:
FYI this definition detached the docstring of `TypeSignature`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]