Skip to content

[C++] Refactor StringTransform #28674

@asfimport

Description

@asfimport

In compute/kernels/scalar_string.cc}, currently there is a non-trivial inheritance relationship between {{StringTransform and its derived implementation classes. Also, the derived classes have to be templated on the actual string type even though their code doesn't care, making generated code size probably bigger than it should be.

Instead, there could be a StringTransformExec class that delegates to an independent class for per-kernel specifics (mostly: the MaxCodeunits and Transform methods).

Reporter: Antoine Pitrou / @pitrou
Assignee: Antoine Pitrou / @pitrou

PRs and other links:

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions