apache / apache/arrow

[C++] replace_with_mask support missing for list/fixed_size_list/large_list/struct

Open
#29,558 0 comments 2 reactions 0 assignees View on GitHub
Component: C++ Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

The replace_with_mask kernel should work for any value type. However, support is currently missing for:

- list
- fixed_size_list
- large_list
- struct

**Reporter**: [Weston Pace](https://issues.apache.org/jira/browse/ARROW-13951) / @westonpace
#### Related issues:
- [[C++] Improve type support for 'replace_with_mask' kernel](https://github.com/apache/arrow/issues/29759) (is duplicated by)
- [[C++] Reconcile type promotion rules between if_else, case_when, coalesce, select](https://github.com/apache/arrow/issues/29696) (relates to)
- [[C++] Improve type support for 'coalesce' kernel](https://github.com/apache/arrow/issues/29061) (relates to)

**Note**: *This issue was originally created as [ARROW-13951](https://issues.apache.org/jira/browse/ARROW-13951). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Contributor guide

Open the contributing guide

Research direction

Start by locating the C++ replace_with_mask kernel and its existing type-support tests. Trace how list, fixed_size_list, large_list, and struct values are handled, then verify that the kernel works for each listed value type and that the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.