Skip to content

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

Open
@aiguofer

Description

@aiguofer

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 apache/arrow-adbc#1444.

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

Component(s)

C

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions