You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Kyperr (via GitHub)" <gi...@apache.org> on 2026/07/13 23:59:46 UTC

[I] java: Include headers/options when calling preparedStatement.close() [arrow-adbc]

Kyperr opened a new issue, #4512:
URL: https://github.com/apache/arrow-adbc/issues/4512

   ### What happened?
   
   When FlightSqlStatement calls preparedStatement.close(); it does not include the headers. With some arrow-flight servers, this results in an authentication issue.
   
   Calling `preparedStatement.close(connectionOptions);` should be sufficient.
   
   ### Stack Trace
   
   _No response_
   
   ### How can we reproduce the bug?
   
   This would be reproducible when targeting a Starrocks database. I've included a basic client that should connect to a starrocks instance and reproduce the issue.
   
   [PreparedStatementAuthReproducer.java](https://github.com/user-attachments/files/29988535/PreparedStatementAuthReproducer.java)
   
   ### Environment/Setup
   
   _No response_


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] java: Include headers/options when calling preparedStatement.close() [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #4512: java: Include headers/options when calling preparedStatement.close()
URL: https://github.com/apache/arrow-adbc/issues/4512


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] java: Include headers/options when calling preparedStatement.close() [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #4512:
URL: https://github.com/apache/arrow-adbc/issues/4512#issuecomment-5163355185

   Closed by #4513.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org