Skip to content

Conversation

@xborder
Copy link
Contributor

@xborder xborder commented Jan 12, 2026

What's Changed

  • Fixed JDBC specification in ArrowFlightJdbcArray.getResultSet() that caused IndexOutOfBoundsException in JDBC clients like DBeaver when reading array columns
  • The method returned a single-column ResultSet containing only array values, but JDBC spec requires a 2-column format
  • Not it returns two columns:
    • Column 1 (INDEX): 1-based element indices per JDBC specification
    • Column 2: The actual array element values

Closes #964.

@github-actions
Copy link

Thank you for opening a pull request!

Please label the PR with one or more of:

  • bug-fix
  • chore
  • dependencies
  • documentation
  • enhancement

Also, add the 'breaking-change' label if appropriate.

See CONTRIBUTING.md for details.

@xborder
Copy link
Contributor Author

xborder commented Jan 12, 2026

Could this be considered a breaking-change even though it is a fix to comply with the JDBC spec? How should this be handled?

@lidavidm
Copy link
Member

I think it's not a breaking change to make it comply with the spec.

Can we make the title descriptive of the changes?

@xborder xborder changed the title GH-964: Return ResultSet GH-964: Fix IndexOutOfBoundsException in Array.getResultSet() for JDBC clients Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DBeaver fails to display columns of array type

2 participants