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++
Describe the enhancement requested
Description
Comparing
StringView/BinaryViewarrays against standard offset-basedString/Binary(and theirLargecounterparts) results in anArrowNotImplementedErrordue to a lack of type resolution for mixed view/offset inputs.This enhancement updates
CommonBinarytype promotion logic incodegen_internal.ccto correctly recognizeType::STRING_VIEWandType::BINARY_VIEW, enabling type resolution and comparison dispatches across mixed view and standard offset-based string/binary inputs.Component(s)
C++