ViniciusSouzaRoque commented on code in PR #12716:
URL: https://github.com/apache/arrow/pull/12716#discussion_r848682428


##########
cpp/src/gandiva/precompiled/string_ops.cc:
##########
@@ -2814,46 +2845,51 @@ const char* soundex_utf8(gdv_int64 ctx, const char* in, 
gdv_int32 in_len,
     return "";
   }
 
+  char* in_clean;
+  int len_clean;
+
+  // Removing numbers, spaces and special characters, and put upper all letters
+  in_clean = reinterpret_cast<char*>(gdv_fn_context_arena_malloc(ctx, in_len));
+  memcpy(in_clean, in, in_len);

Review Comment:
   this has removed



-- 
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]

Reply via email to