Skip to content

Commit

Permalink
add ticket reference
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Nov 21, 2024
1 parent 88e5608 commit 9ec7e4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion datafusion/expr/src/udf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ pub struct ScalarFunctionArgs<'a> {
/// // The actual implementation would add one to the argument
/// fn invoke_with_args(&self, args: ScalarFunctionArgs) -> Result<ColumnarValue> {
/// unimplemented!()
/// }
/// }
/// fn documentation(&self) -> Option<&Documentation> {
/// Some(get_doc())
/// }
Expand Down Expand Up @@ -513,6 +513,8 @@ pub trait ScalarUDFImpl: Debug + Send + Sync {
///
/// Note: This method is deprecated and will be removed in future releases.
/// User defined functions should implement [`Self::invoke_with_args`] instead.
///
/// See <https://github.com/apache/datafusion/issues/13515> for more details.
fn invoke_batch(
&self,
args: &[ColumnarValue],
Expand Down

0 comments on commit 9ec7e4a

Please sign in to comment.