apache / apache/arrow

[C++][Compute] Support comparison kernels for mixed StringView/BinaryView and standard Binary/String types

Open
#50,995 0 comments 0 reactions 1 assignee Claimed by @Jay846 View on GitHub
Component: C++ Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the enhancement requested

### Description
Comparing `StringView`/`BinaryView` arrays against standard offset-based `String`/`Binary` (and their `Large` counterparts) results in an `ArrowNotImplementedError` due to a lack of type resolution for mixed view/offset inputs.
This enhancement updates `CommonBinary` type promotion logic in `codegen_internal.cc` to correctly recognize `Type::STRING_VIEW` and `Type::BINARY_VIEW`, enabling type resolution and comparison dispatches across mixed view and standard offset-based string/binary inputs.

### Component(s)

C++

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.