Similar to [the binary-encoded string repeat function](https://github.com/apache/arrow/issues/18661), we need a compute function for UTF-8 string repeat function. **Reporter**: [Eduardo Ponce](https://issues.apache.org/jira/browse/ARROW-15197) / @edponce **Assignee**: [Pradeep Garigipati](https://issues.apache.org/jira/browse/ARROW-15197) / @9prady9 #### Related issues: - [[C++] String repeat kernel](https://github.com/apache/arrow/issues/18661) (is related to) <sub>**Note**: *This issue was originally created as [ARROW-15197](https://issues.apache.org/jira/browse/ARROW-15197). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*</sub>
Activity
asfimport commentedon Mar 1, 2022
Pradeep Garigipati / @9prady9:
This feature is already implemented and tests are written in file https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_string_test.cc#L1125
They can be run with
--gtest_filter=TestStringKernels/BinaryRepeat\*asfimport commentedon Mar 1, 2022
Eduardo Ponce / @edponce:
ARROW-12712 already repeats input binary/strings based on number of bytes (ie, code units) so it already works for UTF-8 as shown in the tests.