martin-g commented on code in PR #19805:
URL: https://github.com/apache/datafusion/pull/19805#discussion_r2693503991
##########
datafusion/spark/src/function/string/mod.rs:
##########
@@ -90,6 +92,11 @@ pub mod expr_fn {
strfmt args
));
export_functions!((space, "Returns a string consisting of n spaces.",
arg1));
+ export_functions!((
+ substring,
+ "Returns the substring from string str starting at position pos with
length len.",
Review Comment:
At
https://github.com/apache/datafusion/pull/19805/changes/BASE..d9cfca8379578d058451960902cbadd2c6a7115d#diff-4358c1d24d67c0a20592f6c14158ea0d621d45559daf6e270411e4965b02a5c7R80
the parameter is named `length`
```suggestion
"Returns the substring from string str starting at position `pos`
with length `length`.",
```
--
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]