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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
