Skip to content

[C++] UTF-8 string repeat kernel #30698

Closed

Description

@asfimport

Similar to the binary-encoded string repeat function, we need a compute function for UTF-8 string repeat function.

Reporter: Eduardo Ponce / @edponce
Assignee: Pradeep Garigipati / @9prady9

Related issues:

Note: This issue was originally created as ARROW-15197. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Mar 1, 2022

    @asfimport
    Author

    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\*

  2. asfimport commented on Mar 1, 2022

    @asfimport
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions