xcx1r3 opened a new issue, #18086:
URL: https://github.com/apache/druid/issues/18086

   `org.apache.druid.metadata.storage.derby.DerbyConnector#tableHasColumn`  
ResultSet columns
   
   
![Image](https://github.com/user-attachments/assets/ae558660-59b1-45e8-819d-7777fdd2ff21)
   
   `ResultSet` implements the java.lang.AutoCloseable interface. This means it 
is a resource that holds onto database resources
   It seems that `ResultSet` is never closed,  which may lead to resource leak. 
I suggest to use a `try-with-resources block`, which ensures the ResultSet is 
automatically closed.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to