You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++] Missing kernel for replace_with_mask with halffloat #37027
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.
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.
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.
changed the title [-]Missing kernel for replace_with_mask with halffloat[/-][+][C++] Missing kernel for replace_with_mask with halffloat[/+]on Aug 22, 2023
Activity
js8544 commentedon Aug 8, 2023
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.
pitrou commentedon Aug 22, 2023
For many purposes such as copying values,
float16type can be treated as an opaque type and handled internally just likeuint16. So this feature request and other similar ones could probably be addressed easily.[-]Missing kernel for replace_with_mask with halffloat[/-][+][C++] Missing kernel for replace_with_mask with halffloat[/+]GH-37027: [C++] Add float16 kernels to if-else and vector-replace fun…
pitrou commentedon Jun 30, 2025
Issue resolved by pull request 46446
#46446
pitrou commentedon Jun 30, 2025
@colin-r-schultz Can you post a message here so that the issue can be assigned to you?
colin-r-schultz commentedon Jun 30, 2025
Yes assign to me
kou commentedon Jul 1, 2025
Assigned.