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

   ## What's Changed
   
   Instead of always obtaining a result set for queries issued via
   PreparedStatement.execute(), we now inspect the dataset_schema
   returned in ActionCreatePreparedStatementResult. If the schema has no
   fields, we retrieve the update count instead. This aligns the return
   value with the expectations of the JDBC API.
   
   For such cases, the Arrow Flight SQL path now uses
   CommandPreparedStatementUpdate instead of
   CommandPreparedStatementQuery. This change mirrors the existing
   approach in Statement.execute() and Statement.executeUpdate().
   
   ### Are these changes tested?
   
   Yes
   
   Closes #797.
   


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