Skip to content

Commit

Permalink
fixup! fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Feb 5, 2025
1 parent 0f4162a commit e17020d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/functions/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ use datafusion_expr::ColumnarValue;
/// let twenty = ColumnarValue::from(ScalarValue::from(20i32));
/// let args = vec![ten.clone()];
/// let err = my_function(&args).unwrap_err();
/// assert_eq!(err.to_string(), "my_function function requires 2 arguments, got 1");
/// assert_eq!(err.to_string(), "Execution error: my_function function requires 2 arguments, got 1");
/// // Calling the function with 2 arguments works great
/// let args = vec![ten, twenty];
/// my_function(&args).unwrap();
Expand Down

0 comments on commit e17020d

Please sign in to comment.