Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[C++][Python] Support binary_view in basic kernels #46856

@paleolimbot

Description

@paleolimbot

Describe the enhancement requested

As noted in duckdb/duckdb#17956 (comment) , basic kernels like == aren't supported for binary views. I couldn't find a previous issue for this but perhaps there is one!

import pyarrow as pa
from pyarrow import compute

tab = pa.table({"x": pa.array([b"abc"], pa.binary_view())})

compute.equal(tab["x"], tab["x"])
#> ArrowNotImplementedError: Function 'equal' has no kernel matching input types (binary_view, binary_view)

Component(s)

C++, Python

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions