Skip to content

DBeaver fails to display columns of array type #964

@xborder

Description

@xborder

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

When trying to load a column with array type in Dbeaver, it throws and IndexOutOfBounds for all results in the array.

Image

ArrowFlightJdbcArray.getResultSet() does not respect JDBC specification:

The result set contains one row for each array element, with two columns in each row. The second column stores the element value; the first column stores the index into the array for that element (with the first array element being at index 1). The rows are in ascending order corresponding to the order of the indices.

Currently ArrowFlightJdbcArray.getResultSet() only returns 1 column with the element value

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions