Skip to content

[C++] Add string length kernel #27555

@asfimport

Description

@asfimport

We have "binary_length" but that doesn't handle UTF-8 the way we need for this. Example (from R):

> string <- "áéíóú"
> nchar(string)
[1] 5
> arrow:::call_function("binary_length", Scalar$create(string))
Scalar
10

cc @maartenbreddels @pitrou @jorisvandenbossche

Reporter: Neal Richardson / @nealrichardson
Assignee: Eduardo Ponce / @edponce

Related issues:

PRs and other links:

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions