You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/22 10:54:25 UTC

[GitHub] [arrow] projjal commented on a diff in pull request #13643: ARROW 17116: [C++] [GANDIVA] Adding RepeatStr Function

projjal commented on code in PR #13643:
URL: https://github.com/apache/arrow/pull/13643#discussion_r927537393


##########
cpp/src/gandiva/function_registry_string.cc:
##########
@@ -515,8 +515,11 @@ std::vector<NativeFunction> GetStringFunctionRegistry() {
 
       NativeFunction("translate", {}, DataTypeVector{utf8(), utf8(), utf8()}, utf8(),
                      kResultNullIfNull, "translate_utf8_utf8_utf8",
-                     NativeFunction::kNeedsContext | NativeFunction::kCanReturnErrors)};
+                     NativeFunction::kNeedsContext | NativeFunction::kCanReturnErrors),
 
+      NativeFunction("repeatstr", {}, DataTypeVector{utf8(), int32()}, utf8(),

Review Comment:
   repeat function is already present in gandiva..you can add an alias as repeatStr



-- 
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-unsubscribe@arrow.apache.org

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