niebayes commented on code in PR #14779:
URL: https://github.com/apache/datafusion/pull/14779#discussion_r1962924468


##########
datafusion/functions/src/unicode/character_length.rs:
##########
@@ -88,11 +88,7 @@ impl ScalarUDFImpl for CharacterLengthFunc {
         utf8_to_int_type(&arg_types[0], "character_length")
     }
 
-    fn invoke_batch(
-        &self,
-        args: &[ColumnarValue],
-        _number_rows: usize,
-    ) -> Result<ColumnarValue> {
+    fn invoke_with_args(&self, args: ScalarFunctionArgs) -> 
Result<ColumnarValue> {
         make_scalar_function(character_length, vec![])(args)

Review Comment:
   When the parameter changed from `&[ColumnarValue]` to `ScalarFunctionArgs`, 
the usage must be updated accordingly. 
   I suggest to run `dev/rust_lint.sh` to ensure everything goes well.



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to