Skip to content

binary_mut kernel requires both args to be the same type (which is inconsistent with binary) #5818

@alamb

Description

@alamb

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As part of documenting the _mut compute kernels better in #5798 I noticed in #5798 (comment) thta

binary_mut is inconsistent with binary as it requires both a and b to be the same type of array (where binary can take different types)

Describe the solution you'd like
I would like to have the argument types to binary_mut be different -- so for example, I could write a kernel using binary_mut that took a Float32Array and a Int32Array and added the int32 vale to the float in place.

Describe alternatives you've considered
Leave as is

Additional context
@viirya I think added this API in #3144

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow crate

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions