ennuite opened a new pull request, #933:
URL: https://github.com/apache/arrow-java/pull/933

   ## What's Changed
   
   Closing a Connection when there was one or more ResultSet that matched the 
following 2 conditions
   
   1. hadn't been fully consumed 
   2. was obtained via a Statement instance of this Connection instance 
   
   would generate exceptions due to memory leaks.
   
   Now, closing a Connection will first close all the Statement instances 
obtained via that Connection, and then proceed with
   the old closing logic. 
   
   The old closing logic was also slightly refactored to:
   1. remove duplicate calls to ArrowFlightSqlClientHandler.close()
   5. make sure that any exception generated during Connection.close() would be 
wrapped in a SQLException.
   
   Closes #932.
   


-- 
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