Skip to content

[C++] Missing kernel for replace_with_mask with halffloat #37027

Closed

Description

@spenczar

Describe the enhancement requested

There might well be an umbrella issue for this. But with pyarrow, pa.compute.replace_with_mask is currently lacking a kernel for filling in halffloat values. I get a pyarrow.lib.ArrowNotImplementedError: Function 'replace_with_mask' has no kernel matching input types (halffloat, bool, halffloat) error when I try.

Component(s)

Python

Activity

  1. js8544 commented on Aug 8, 2023

    @js8544
    Contributor

    The support for half float type is extremely limited at the moment. I don't think there is any function that supports it? There is a recent discussion though: #22806.

  2. pitrou commented on Aug 22, 2023

    @pitrou
    Member

    For many purposes such as copying values, float16 type can be treated as an opaque type and handled internally just like uint16. So this feature request and other similar ones could probably be addressed easily.

  3. changed the title [-]Missing kernel for replace_with_mask with halffloat[/-] [+][C++] Missing kernel for replace_with_mask with halffloat[/+] on Aug 22, 2023
  4. added a commit that references this issue on Jun 30, 2025
  5. added this to the 21.0.0 milestone on Jun 30, 2025
  6. pitrou commented on Jun 30, 2025

    @pitrou
    Member

    Issue resolved by pull request 46446
    #46446

  7. pitrou commented on Jun 30, 2025

    @pitrou
    Member

    @colin-r-schultz Can you post a message here so that the issue can be assigned to you?

  8. colin-r-schultz commented on Jun 30, 2025

    @colin-r-schultz
    Contributor

    Yes assign to me

  9. kou commented on Jul 1, 2025

    @kou
    Member

    Assigned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions