apache / apache/arrow

[C] Arrow schema checks should throw graceful errors instead of crashing from assertions

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

Description

### Describe the enhancement requested

We encountered an issue while using ADBC (with Python bindings) due to BigQuery saying that BIGDECIMAL columns have a precision of 77 (the max supported by Arrow is 76). The Java implementation seems to have no issues with this, but the C binding error caused the entire Python application to crash instead of raising an exception. See https://github.com/apache/arrow-adbc/issues/1444.

Ideally, these checks should throw exceptions that can be caught and recovered from.

### 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.