Skip to content

Array is not included as data type #49

@HenryNebula

Description

@HenryNebula

Description

When querying a column of JDBC ARRAY type (constant value 2003), jaydebeapiarrow does not properly handle the type mapping. The legacy jaydebeapi returned raw Java objects instead of Python lists.

Legacy issue: baztian/jaydebeapi#159

Expected Behavior

JDBC ARRAY columns should be converted to Python lists, consistent with how other JDBC types are handled through the Arrow pipeline.

Actual Behavior

  • Legacy returns a warning: "No type mapping for JDBC type 'ARRAY' (constant value 2003). Using None as a default type_code."
  • Results contain raw Java objects instead of Python data

Environment

  • Database: Presto (original report), but applies to any database with ARRAY columns
  • JDBC type constant: 2003

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions