apache / apache/arrow

[C++] Compute functions should fail gracefully when given non-CPU resident Arrays

Open
#43,541 0 comments 0 reactions 1 assignee Claimed by @felipecrv 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

### Describe the bug, including details regarding any error messages, version, and platform.

Instead of segfaulting, they should return a bad `Status`.

And ideally: kernels should spec which device allocation types they accept for each parameter. This allows generic checking right before execution. Similar to how types are checked during the dispatching phase.

Related issues:

- #41665
- #42112
- #43511


Related PRs:

- #42113

### Component(s)

C++

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.