xborder opened a new issue, #964:
URL: https://github.com/apache/arrow-java/issues/964

   ### 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.
   
   <img width="880" height="203" alt="Image" 
src="https://github.com/user-attachments/assets/b5d99d31-6766-4f70-95d0-83adf342a4e7";
 />
   
   `ArrowFlightJdbcArray.getResultSet()` does not respect JDBC 
[specification](https://docs.oracle.com/javase/8/docs/api/java/sql/Array.html#getResultSet--):
   
   > 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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to