Skip to content

Implement special case zip with scalar for Utf8View #8724

@alamb

Description

@alamb

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

  • @rluvaton added a special case implementation of zip for primitive arrays and StringArray in the following PR

In https://github.com/apache/arrow-rs/pull/8653/files

Describe the solution you'd like
We could implement a similar and fast optimization for StringViewArray as well

Basically pre-compute the truthy and falsey u128 views, and then simply copy those views over

Describe alternatives you've considered
Utf8Views are explained in blog form here if you are not familiar with them: https://datafusion.apache.org/blog/2024/09/13/string-view-german-style-strings-part-1/

Additional context

Metadata

Metadata

Assignees

Labels

enhancementAny new improvement worthy of a entry in the changelogperformance

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions