Skip to content

Commit 60c0bd5

Browse files
committed
Improve docs
1 parent 0228bee commit 60c0bd5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

datafusion/expr/src/udf.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ impl ScalarUDF {
193193
self.inner.return_type_from_exprs(args, schema, arg_types)
194194
}
195195

196+
/// Return the datatype this function returns given the input argument types.
197+
///
198+
/// See [`ScalarUDFImpl::return_type_from_args`] for more details.
199+
196200
pub fn return_type_from_args(&self, args: ReturnTypeArgs) -> Result<ReturnInfo> {
197201
self.inner.return_type_from_args(args)
198202
}

0 commit comments

Comments
 (0)