apache / apache/arrow

[C++] Vector kernels should implement or reject null_handling = INTERSECTION

Open
#31,552 1 comment 0 reactions 0 assignees View on GitHub
Component: C++ good-second-issue Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 18h
Merged PRs (30d)
91

Description

As discovered in ARROW-13530, right now the framework will let you register a vector kernel with null_handling = INTERSECTION, but doesn't actually implement that (it'll preallocate but won't compute the result). We should either implement it, or decide it makes no sense and explicitly reject registering kernels with this null handling mode.

**Reporter**: [David Li](https://issues.apache.org/jira/browse/ARROW-16145) / @lidavidm

**Note**: *This issue was originally created as [ARROW-16145](https://issues.apache.org/jira/browse/ARROW-16145). 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 tracing vector kernel registration and the handling of null_handling = INTERSECTION, using ARROW-13530 as the reported context. Determine whether intersection semantics are appropriate for vector kernels; done means either the behavior is implemented correctly or registration explicitly rejects this mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data-engineering
Issue type
Bug
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.