chenyuzhi459 opened a new pull request #141:
URL: https://github.com/apache/calcite-avatica/pull/141


   ## Problem:
   In `ArrayFactoryImpl.create(AvaticaType elementType, Iterable<Object> 
elements)` method, we will create AvaticaResultSet with a null statement, 
However in the `close()` menthod  for AvaticaResultSet, it doesn't valid null 
situation before we call ` statement.onResultSetClose(this);`, which cause npe 
exception.
   
   ## Solution:
   add check for statement in  `close()` method
   
   ## Key changed/added classes in this PR   
   org.apache.calcite.avatica.AvaticaResultSet
   
   
   


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

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


Reply via email to