Skip to content

Insert Array types #93

@HenryNebula

Description

@HenryNebula

Legacy issue: baztian/jaydebeapi#156

Tier: P2 — new-db-support

Request to insert ARRAY types via executemany. The legacy error is setObject() having no matching overload for Python lists. Our codebase uses add_pyarrow_batches_to_statement() for parameter binding through Arrow, with a fallback path that currently raises NotSupportedError for list parameters.

Current Behavior

Passing a Python list as a parameter raises:

NotSupportedError: ARRAY type parameter binding is not supported.

Expected Behavior

Python list parameters should be converted to java.sql.Array objects and bound via PreparedStatement.setArray().

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions